:root {
  --primary: rgb(0, 115, 148);
  --primary-soft: rgba(0, 115, 148, 0.72);
  --peach: rgb(214, 135, 98);
  --bg: #000;
  --bg-2: rgb(0, 28, 34);
  --text: rgba(247, 249, 250, 0.96);
  --soft: rgba(247, 249, 250, 0.72);
  --muted: rgba(247, 249, 250, 0.5);
  --faint: rgba(247, 249, 250, 0.12);
  --stroke: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% 4%, rgba(0, 115, 148, 0.32), transparent 33rem),
    radial-gradient(circle at 10% 28%, rgba(214, 135, 98, 0.13), transparent 29rem),
    linear-gradient(180deg, var(--bg) 0%, #000 28%, rgb(0, 21, 26) 70%, var(--bg-2) 100%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
picture { display: block; }
p, li { color: var(--soft); line-height: 1.65; }
h1, h2, h3, p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--page), calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 6px -16px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-icon { width: 40px; height: 40px; border-radius: 11px; }
.brand strong { display: block; font-size: 15px; font-weight: 780; letter-spacing: -0.02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 650; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.main-nav a,
.header-download,
.cta-small,
.secondary-link,
.text-download-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 720;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.main-nav a:hover,
.header-download:hover,
.cta-small:hover,
.secondary-link:hover,
.text-download-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.19);
  transform: translateY(-1px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.language-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lang-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--soft);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.lang-button.active { color: #050505; background: rgba(255, 255, 255, 0.94); }
.header-download, .cta-small { color: #050505; background: rgba(255, 255, 255, 0.94); }

main {
  width: min(var(--page), calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 96px;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: start;
  gap: clamp(30px, 5vw, 60px);
}
.hero-copy { max-width: 620px; }
.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.label-row a,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: white;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.01em;
  padding: 8px 12px;
}
.label-row a:first-child,
.eyebrow { background: rgba(0, 115, 148, 0.88); }
.label-row a {
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.label-row a:hover,
.label-row a:focus-visible {
  background: rgba(0, 115, 148, 0.72);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}
.label-row a:focus-visible { outline: 2px solid rgba(255,255,255,0.72); outline-offset: 3px; }

.hero h1 {
  margin-top: 24px;
  max-width: 720px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}
.lead {
  margin-top: 24px;
  max-width: 600px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
  color: rgba(247, 249, 250, 0.76);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.app-store-badge {
  display: inline-block;
  line-height: 0;
}
.app-store-badge[aria-disabled="true"],
.text-download-link[aria-disabled="true"] { cursor: default; }
.app-store-badge img {
  width: 184px;
  height: auto;
  max-height: 62px;
}
.secondary-link { padding: 12px 16px; }

.hero-showcase {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}
.phone-shot {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-shot img { width: 100%; height: auto; }
.hero-main-shot { width: min(318px, 62vw); transform: none; }
.hero-side-shot { position: absolute; width: min(216px, 40vw); }
.hero-side-shot.top { right: 3%; top: 2%; transform: none; }
.hero-side-shot.bottom { right: 13%; bottom: 0; transform: none; }
.phone-shot figcaption,
.device-card figcaption,
.gallery-grid figcaption {
  padding: 12px 14px;
  color: rgba(247, 249, 250, 0.72);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.intro-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.intro-strip div,
.feature-card,
.text-card,
.utility-card,
.gallery-disclosure {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.intro-strip div { padding: 18px; }
.intro-strip strong { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.25; }
.intro-strip span { display: block; color: var(--soft); line-height: 1.55; font-size: 16px; }

section { margin-top: 112px; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2,
.spotlight-copy h2,
.utility-card h2,
.final-cta h2,
.legal-card h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.section-head p,
.spotlight-copy p,
.utility-card p,
.final-cta p { margin-top: 16px; font-size: 17px; }
.spotlight-copy,
.utility-card > div {
  position: relative;
  z-index: 6;
  padding: clamp(22px, 3.2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0, 14, 18, 0.985), rgba(0, 7, 10, 0.965));
  box-shadow:
    0 26px 82px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(0, 0, 0, 0.36);
}
.shot-pair { isolation: isolate; }
.shot-pair .phone-shot,
.utility-shot {
  border-color: transparent;
  background: transparent;
  opacity: 1;
  transform: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.30);
}
.shot-pair .phone-shot.small {
  z-index: 2;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255,255,255,0.08);
}
.shot-pair .phone-shot img,
.utility-shot img,
.gallery-grid img,
.hero-showcase img {
  opacity: 1;
  filter: none;
}

.spotlight-copy p,
.spotlight-copy li,
.utility-card p {
  color: rgba(247, 249, 250, 0.84);
}

.hero-showcase .phone-shot,
.gallery-grid figure,
.device-frame,
.device-frame img {
  opacity: 1;
}


.demo-section { margin-top: 96px; }
.video-frame {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.video-frame video {
  width: 100%;
  max-height: 680px;
  background: #000;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.feature-card { padding: 22px; min-height: 220px; }
.feature-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 115, 148, 0.9);
  font-size: 12px;
  font-weight: 850;
}
.feature-card h3 { margin-top: 28px; font-size: 22px; letter-spacing: -0.03em; }
.feature-card p { margin-top: 10px; font-size: 14px; }

.spotlight-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}
.spotlight-section.reverse .spotlight-copy { order: 2; }
.spotlight-section.reverse .shot-pair { order: 1; }
.spotlight-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.spotlight-copy li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.052);
  font-size: 14px;
}
.shot-pair {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot-pair .phone-shot { width: min(294px, 48vw); }
.shot-pair .phone-shot.small {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: min(210px, 36vw);
}

.device-section {
  margin-top: 96px;
  margin-bottom: 190px;
}

.devices-section .section-head,
.device-section .section-head {
  margin-bottom: 28px;
  max-width: 820px;
}
.device-collage {
  position: relative;
  width: min(100%, 1180px);
  min-height: 640px;
  margin: 42px auto 0;
  display: block;
  overflow: visible;
}
.device-frame {
  position: absolute;
  margin: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}
.device-frame .device-screen {
  position: relative;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 8px rgba(0,115,148,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.device-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
  background: transparent;
}
.device-frame.desktop {
  z-index: 1;
  width: min(63vw, 720px);
  left: 50%;
  top: 36px;
  transform: translateX(-64%);
}
.device-frame.desktop .device-screen {
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 12px solid rgba(3, 5, 6, 0.96);
  border-radius: 30px 30px 20px 20px;
}
.device-frame.desktop img {
  object-fit: contain;
  object-position: center center;
  width: 100%;
  height: 100%;
  transform: none;
  transform-origin: center center;
  border-radius: 14px;
}
.device-frame.desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 108%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 0 0 38px 38px;
  background: linear-gradient(to bottom, rgba(230,235,238,0.88), rgba(113,121,127,0.92));
  box-shadow: 0 24px 54px rgba(0,0,0,0.46);
}
.device-frame.desktop::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 16%;
  height: 6px;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 0 0 10px 10px;
  background: rgba(70,76,80,0.42);
}
.device-frame.tablet {
  z-index: 3;
  width: min(38vw, 395px);
  left: 50%;
  top: 16px;
  transform: translateX(38%);
}
.device-frame.tablet .device-screen {
  aspect-ratio: 3 / 4;
  border: 12px solid rgba(3, 5, 6, 0.96);
  border-radius: 34px;
}
.device-frame.tablet .device-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 5px;
  height: 5px;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
.device-frame.tablet img {
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}
.device-frame.landscape {
  z-index: 5;
  width: min(43vw, 455px);
  left: 50%;
  top: 392px;
  transform: translateX(-10%);
}
.device-frame.landscape .device-screen {
  aspect-ratio: 19.5 / 9;
  border: 9px solid rgba(3, 5, 6, 0.96);
  border-radius: 28px;
}
.device-frame.landscape img {
  object-fit: contain;
  object-position: center bottom;
  transform: scaleX(0.99) scaleY(0.92) translateY(-10%);
  transform-origin: center bottom;
  border-radius: 16px;
}
.device-frame.portrait {
  z-index: 6;
  width: min(19.7vw, 209px);
  left: 50%;
  top: 276px;
  transform: translateX(-190%);
}
.device-frame.portrait .device-screen {
  aspect-ratio: 9.6 / 19.8;
  border: 8px solid rgba(3, 5, 6, 0.96);
  border-radius: 32px;
}
.device-frame.portrait img {
  object-fit: contain;
  object-position: center bottom;
  width: 100%;
  height: 100%;
  padding-bottom: 4px;
  border-radius: 23px;
}

.utility-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.utility-card {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 190px);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.utility-card h2 { font-size: clamp(28px, 4vw, 42px); }
.utility-shot { border-radius: 26px; }

.gallery-section { margin-top: 96px; }
.gallery-disclosure { padding: 14px; }
.gallery-disclosure summary {
  cursor: pointer;
  padding: 18px 22px;
  border-radius: 18px;
  color: white;
  font-weight: 820;
  list-style-position: inside;
}
.gallery-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}
.gallery-grid picture {
  display: block;
}
.gallery-grid img { width: 100%; height: auto; }

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 115, 148, 0.34), transparent 24rem),
    rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}
.text-download-link { color: #050505; background: rgba(255, 255, 255, 0.94); padding: 13px 17px; white-space: nowrap; }

.site-footer {
  width: min(var(--page), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer-brand { display: grid; gap: 6px; font-size: 13px; }
.site-footer-brand strong { color: var(--text); font-size: 16px; }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; font-size: 13px; font-weight: 700; }
.site-footer-links a { color: var(--soft); }
.site-footer-links a:hover { color: white; }

.clean-header { margin-top: 0; }
.legal-page {
  max-width: 900px;
  padding-top: 62px;
}
.text-card,
.legal-card {
  padding: clamp(24px, 4vw, 44px);
}
.legal-card h1 { margin-bottom: 22px; }
.legal-card h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.legal-card p + p { margin-top: 14px; }
.legal-card a { color: white; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-meta,
.summary-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 10px;
}
.legal-meta div,
.summary-grid div,
.privacy-summary {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
}
.summary-grid { grid-template-columns: repeat(2, 1fr); }
.summary-grid .label { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.summary-grid strong { display: block; margin-top: 6px; color: var(--text); }
.privacy-subtitle { color: white; font-weight: 800; }
.privacy-intro { margin-top: 14px; font-size: 17px; }
code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .device-section { margin-top: 84px; margin-bottom: 160px; }
  .site-header { grid-template-columns: auto auto; }
  .main-nav { display: none; }
  .header-actions { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .hero-copy { max-width: 760px; }
  .hero-showcase { min-height: 560px; }
  .intro-strip,
  .feature-grid,
  .spotlight-section,
  .utility-section,
  .final-cta { grid-template-columns: 1fr; }

  .utility-card {
    grid-template-columns: 1fr;
  }

  .utility-shot {
    width: min(220px, 54vw);
    justify-self: center;
  }
  .spotlight-section.reverse .spotlight-copy,
  .spotlight-section.reverse .shot-pair { order: initial; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .device-collage {
    width: min(100%, 940px);
    min-height: 540px;
  }
  .device-frame.desktop {
    width: min(63vw, 590px);
    top: 30px;
    transform: translateX(-64%);
  }
  .device-frame.tablet {
    width: min(38vw, 330px);
    top: 12px;
    transform: translateX(38%);
  }
  .device-frame.landscape {
    width: min(40vw, 360px);
    top: 332px;
    transform: translateX(-14%);
  }
  .device-frame.portrait {
    width: min(19.7vw, 177px);
    top: 234px;
    transform: translateX(-190%);
  }
}

@media (max-width: 720px) {
  .spotlight-copy,
  .utility-card > div {
    background: rgba(0, 8, 11, 0.985);
  }

  :root { --radius-xl: 26px; }
  .site-header {
    width: min(100% - 24px, var(--page));
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }
  .site-header::before { border-radius: 28px; inset: 6px -10px; }
  .header-actions { width: 100%; justify-content: space-between; }
  main { width: min(100% - 24px, var(--page)); padding-top: 0; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .lead { font-size: 17px; }
  .hero-showcase { min-height: 470px; }
  .hero-main-shot { width: min(250px, 72vw); transform: none; }
  .hero-side-shot { width: min(160px, 42vw); }
  .hero-side-shot.top { right: -2%; }
  .hero-side-shot.bottom { right: 4%; }
  .intro-strip,
  .feature-grid,
  .devices-section,
  .device-section { margin-top: 70px; margin-bottom: 130px; }
  .device-collage {
    width: min(100%, 430px);
    min-height: 410px;
    margin-top: 28px;
  }
  .device-frame.desktop {
    width: min(73vw, 330px);
    left: 50%;
    top: 14px;
    transform: translateX(-64%);
  }
  .device-frame.desktop .device-screen {
    padding: 0;
    border-width: 8px;
    border-radius: 22px 22px 15px 15px;
  }
  .device-frame.desktop::after {
    bottom: -18px;
    height: 20px;
  }
  .device-frame.desktop::before {
    bottom: -6px;
    height: 4px;
  }
  .device-frame.tablet {
    width: min(46vw, 198px);
    left: 50%;
    top: 2px;
    transform: translateX(36%);
  }
  .device-frame.tablet .device-screen {
    border-width: 8px;
    border-radius: 24px;
  }
  .device-frame.landscape {
    width: min(52vw, 224px);
    left: 50%;
    top: 248px;
    transform: translateX(-14%);
  }
  .device-frame.landscape .device-screen {
    border-width: 7px;
    border-radius: 22px;
  }
  .device-frame.portrait {
    width: min(25.6vw, 110px);
    left: 50%;
    top: 172px;
    transform: translateX(-188%);
  }
  .device-frame.portrait .device-screen {
    border-width: 6px;
    border-radius: 22px;
  }
  section { margin-top: 76px; }
  .section-head h2,
  .spotlight-copy h2,
  .final-cta h2,
  .legal-card h1 { font-size: 34px; }
  .shot-pair { min-height: 470px; }
  .shot-pair .phone-shot { width: min(245px, 66vw); }
  .shot-pair .phone-shot.small { width: min(170px, 45vw); right: 0; }
  .utility-card { grid-template-columns: 1fr; }
  .utility-shot { width: min(230px, 72vw); justify-self: center; }
  .final-cta { align-items: start; }
  .site-footer { flex-direction: column; width: min(100% - 24px, var(--page)); }
  .site-footer-links { justify-content: flex-start; }
  .summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .app-store-badge img { width: 168px; }
  .hero-actions { gap: 12px; }
  .language-switch { transform-origin: left; }
  .header-download { padding-inline: 11px; }
}

/* v9 final corrections */

/* Top spacing */
main {
  padding-top: 0 !important;
}

.hero {
  min-height: 0 !important;
  align-items: start !important;
}

/* Text readability: fully solid background */
.spotlight-copy,
.utility-card > div,
.text-card {
  position: relative !important;
  z-index: 30 !important;
  background: #000b0e !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.78) !important;
}

.spotlight-copy::before,
.utility-card > div::before,
.text-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #000b0e;
}

.spotlight-copy p,
.spotlight-copy li,
.utility-card p,
.text-card p,
.text-card li {
  color: rgba(247, 249, 250, 0.88) !important;
}

/* Small screenshots: no white border, but rounded corners visible again */
.spotlight-section .phone-shot,
.shot-pair .phone-shot,
.utility-card .phone-shot,
.utility-shot,
.duo-section .shot-card,
.pair .shot-card {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  overflow: hidden !important;
  border-radius: 30px !important;
}

.shot-pair .phone-shot.small,
.utility-shot {
  border-radius: 24px !important;
}

.spotlight-section .phone-shot picture,
.shot-pair .phone-shot picture,
.utility-shot picture,
.duo-section .shot-card picture,
.pair .shot-card picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.spotlight-section .phone-shot img,
.shot-pair .phone-shot img,
.utility-shot img,
.duo-section .shot-card img,
.pair .shot-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: inherit !important;
}

/* No hover effect */
.shot-pair .phone-shot:hover,
.utility-card:hover .utility-shot {
  opacity: 1 !important;
}

/* Keep section images separated from the text */
.shot-pair {
  position: relative !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
  gap: 24px !important;
  align-items: end !important;
  justify-items: center !important;
}

.shot-pair .phone-shot {
  width: min(294px, 100%) !important;
}

.shot-pair .phone-shot.small {
  position: static !important;
  width: min(230px, 100%) !important;
}

.utility-card {
  grid-template-columns: 1fr !important;
}

.utility-shot {
  width: min(230px, 60%) !important;
  justify-self: center !important;
}

/* Device overview */
.device-frame .device-screen {
  background: #050505 !important;
}

/* Mac: remove the visible top/left inner black offset by moving image up-left inside the frame */
.device-frame.desktop .device-screen {
  padding: 0 !important;
  border-width: 10px !important;
  border-color: rgba(3, 5, 6, 0.96) !important;
  background: #050505 !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 46% 42% !important;
  transform: scale(1.035) translate(-1.5%, -2.8%) !important;
  transform-origin: center center !important;
  border-radius: 12px !important;
  background: transparent !important;
}

/* Hide possible bright line at the top of the Mac frame */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: rgba(3, 5, 6, 0.98);
  pointer-events: none;
}

/* iPhone landscape: slightly smaller image, lower device, piano not cut */
.device-frame.landscape {
  top: 420px !important;
  transform: translateX(-10%) rotate(0deg) !important;
}

.device-frame.landscape .device-screen {
  border-width: 7px !important;
  border-radius: 25px !important;
  padding: 4px !important;
  background: #050505 !important;
}

.device-frame.landscape img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 15px !important;
  background: transparent !important;
}

@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 354px !important;
  }

  .device-frame.desktop img {
    object-position: 46% 42% !important;
    transform: scale(1.035) translate(-1.5%, -2.8%) !important;
  }
}

@media (max-width: 780px) {
  main {
    padding-top: 0 !important;
  }

  .shot-pair {
    grid-template-columns: 1fr !important;
  }

  .utility-shot {
    width: min(230px, 58vw) !important;
  }

  .device-frame.desktop .device-screen {
    padding: 0 !important;
    border-width: 7px !important;
  }

  .device-frame.desktop img {
    object-fit: cover !important;
    object-position: 46% 42% !important;
    transform: scale(1.035) translate(-1.5%, -2.8%) !important;
  }

  .device-frame.landscape {
    top: 270px !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 6px !important;
    padding: 3px !important;
  }

  .device-frame.landscape img {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* v11 final device correction */

/* Mac: use the better v9 vertical position again, only slightly more left */
.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 43% 43% !important;
  transform: scale(1.028) translate(-2.2%, -2.2%) !important;
  transform-origin: center center !important;
  border-radius: 12px !important;
  background: transparent !important;
}

/* Keep the top white line covered */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  z-index: 5;
  background: rgba(3, 5, 6, 0.99);
  pointer-events: none;
}

/* iPhone landscape: slightly smaller and moved up, not down */
.device-frame.landscape {
  top: 404px !important;
  transform: translateX(-10%) rotate(0deg) !important;
}

.device-frame.landscape .device-screen {
  padding: 6px !important;
  border-width: 7px !important;
  border-radius: 25px !important;
  background: #050505 !important;
}

.device-frame.landscape img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center 43% !important;
  transform: scale(0.965) translateY(-2.5%) !important;
  transform-origin: center center !important;
  border-radius: 15px !important;
  background: transparent !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop img {
    object-position: 43% 43% !important;
    transform: scale(1.028) translate(-2.2%, -2.2%) !important;
  }

  .device-frame.landscape {
    top: 338px !important;
  }

  .device-frame.landscape img {
    object-fit: contain !important;
    object-position: center 43% !important;
    transform: scale(0.965) translateY(-2.5%) !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop img {
    object-position: 43% 43% !important;
    transform: scale(1.028) translate(-2.2%, -2.2%) !important;
  }

  .device-frame.landscape {
    top: 254px !important;
  }

  .device-frame.landscape .device-screen {
    padding: 5px !important;
    border-width: 6px !important;
  }

  .device-frame.landscape img {
    object-fit: contain !important;
    object-position: center 43% !important;
    transform: scale(0.965) translateY(-2.5%) !important;
  }
}

/* v12 final device correction */

/* Mac: keep horizontal alignment, shift the visible content slightly upward so the lower piano area is better visible */
.device-frame.desktop img {
  object-position: 43% 45% !important;
  transform: scale(1.028) translate(-2.2%, -3.0%) !important;
}

/* Stronger cover for the thin white line at the top */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  right: -2px;
  height: 7px;
  z-index: 20;
  background: rgba(3, 5, 6, 1);
  pointer-events: none;
}

/* iPhone Landscape: minimally narrower frame */
.device-frame.landscape .device-screen {
  border-width: 5px !important;
  padding: 6px !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop img {
    object-position: 43% 45% !important;
    transform: scale(1.028) translate(-2.2%, -3.0%) !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 5px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop img {
    object-position: 43% 45% !important;
    transform: scale(1.028) translate(-2.2%, -3.0%) !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 4px !important;
    padding: 5px !important;
  }
}

/* v13 device frames match image ratios */

/*
  Mac and iPhone Landscape now use the real screenshot aspect ratios:
  Mac: 1100 / 852
  iPhone Landscape: 1100 / 506
  This avoids forcing screenshots into mismatching frames.
*/

/* Mac: frame follows actual screenshot ratio, no artificial crop/offset */
.device-frame.desktop .device-screen {
  aspect-ratio: 1100 / 852 !important;
  padding: 0 !important;
  border-width: 10px !important;
  background: #050505 !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 12px !important;
}

/* Strongly cover possible bright top edge from the Mac screenshot/frame */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  right: -2px;
  height: 6px;
  z-index: 20;
  background: #050505;
  pointer-events: none;
}

/* iPhone Landscape: frame follows actual screenshot ratio, slightly slimmer frame */
.device-frame.landscape .device-screen {
  aspect-ratio: 1100 / 506 !important;
  padding: 0 !important;
  border-width: 5px !important;
  border-radius: 24px !important;
  background: #050505 !important;
}

.device-frame.landscape img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 14px !important;
}

/* Keep the landscape device in roughly the same visual position */
.device-frame.landscape {
  top: 410px !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border-width: 9px !important;
  }

  .device-frame.landscape {
    top: 344px !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 5px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border-width: 7px !important;
  }

  .device-frame.landscape {
    top: 262px !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 4px !important;
  }
}

/* v14 final device refinements */

/* Mac: reduce the visible bezel/housing around the screenshot so the image fills the device better */
.device-frame.desktop .device-screen {
  border-width: 6px !important;
  padding: 0 !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.015) !important;
  transform-origin: center center !important;
}

/* Keep the small top cover to avoid any light line */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  z-index: 20;
  background: #050505;
  pointer-events: none;
}

/* iPhone landscape: ensure the bottom piano is fully visible */
.device-frame.landscape .device-screen {
  border-width: 4px !important;
  padding: 2px !important;
}

.device-frame.landscape img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(0.985) translateY(-1.2%) !important;
  transform-origin: center center !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border-width: 6px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.015) !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 4px !important;
    padding: 2px !important;
  }

  .device-frame.landscape img {
    transform: scale(0.985) translateY(-1.2%) !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border-width: 5px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.015) !important;
  }

  .device-frame.landscape .device-screen {
    border-width: 3px !important;
    padding: 2px !important;
  }

  .device-frame.landscape img {
    transform: scale(0.985) translateY(-1.2%) !important;
  }
}

/* v15 device proportion correction */

/* Mac: make the Mac smaller relative to the iPad and reduce the housing dominance */
.device-frame.desktop {
  width: min(56vw, 640px) !important;
  transform: translateX(-67%) rotate(0deg) !important;
}

.device-frame.desktop .device-screen {
  border-width: 5px !important;
  padding: 0 !important;
}

.device-frame.desktop::after {
  bottom: -22px !important;
  height: 24px !important;
}

.device-frame.desktop::before {
  bottom: -8px !important;
  height: 5px !important;
}

.device-frame.desktop img {
  transform: scale(1.01) !important;
}

/* iPhone Landscape: image slightly smaller, not much */
.device-frame.landscape img {
  transform: scale(0.965) translateY(-1.2%) !important;
  transform-origin: center center !important;
}

.device-frame.landscape .device-screen {
  padding: 3px !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop {
    width: min(56vw, 530px) !important;
    transform: translateX(-67%) rotate(0deg) !important;
  }

  .device-frame.desktop .device-screen {
    border-width: 5px !important;
  }

  .device-frame.desktop::after {
    bottom: -20px !important;
    height: 22px !important;
  }

  .device-frame.landscape img {
    transform: scale(0.965) translateY(-1.2%) !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop {
    width: min(66vw, 300px) !important;
    transform: translateX(-67%) rotate(0deg) !important;
  }

  .device-frame.desktop .device-screen {
    border-width: 4px !important;
  }

  .device-frame.desktop::after {
    bottom: -15px !important;
    height: 17px !important;
  }

  .device-frame.desktop::before {
    bottom: -5px !important;
    height: 4px !important;
  }

  .device-frame.landscape img {
    transform: scale(0.965) translateY(-1.2%) !important;
  }

  .device-frame.landscape .device-screen {
    padding: 3px !important;
  }
}

/* v16 final device proportion and rounding */

/* Mac: same proportions, but smaller overall */
.device-frame.desktop {
  width: min(50vw, 575px) !important;
  transform: translateX(-72%) rotate(0deg) !important;
}

.device-frame.desktop .device-screen {
  border-width: 5px !important;
}

.device-frame.desktop::after {
  bottom: -20px !important;
  height: 22px !important;
}

.device-frame.desktop::before {
  bottom: -7px !important;
  height: 4px !important;
}

/* iPhone Landscape: slightly stronger rounding */
.device-frame.landscape .device-screen {
  border-radius: 30px !important;
}

.device-frame.landscape img {
  border-radius: 22px !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop {
    width: min(50vw, 470px) !important;
    transform: translateX(-72%) rotate(0deg) !important;
  }

  .device-frame.desktop::after {
    bottom: -18px !important;
    height: 20px !important;
  }

  .device-frame.landscape .device-screen {
    border-radius: 28px !important;
  }

  .device-frame.landscape img {
    border-radius: 20px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop {
    width: min(58vw, 265px) !important;
    transform: translateX(-72%) rotate(0deg) !important;
  }

  .device-frame.desktop .device-screen {
    border-width: 4px !important;
  }

  .device-frame.desktop::after {
    bottom: -13px !important;
    height: 15px !important;
  }

  .device-frame.desktop::before {
    bottom: -5px !important;
    height: 3px !important;
  }

  .device-frame.landscape .device-screen {
    border-radius: 24px !important;
  }

  .device-frame.landscape img {
    border-radius: 18px !important;
  }
}

/* v17 mac screen fill correction */

/* Keep the Mac position, but let the screenshot fill the device much more */
.device-frame.desktop .device-screen {
  padding: 0 !important;
  border-width: 2px !important;
  border-radius: 26px 26px 18px 18px !important;
  background: #050505 !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.04) !important;
  transform-origin: center center !important;
  border-radius: 10px !important;
}

/* Keep the top line covered */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 20;
  background: #050505;
  pointer-events: none;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border-width: 2px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.04) !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border-width: 2px !important;
    border-radius: 20px 20px 14px 14px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.04) !important;
    border-radius: 8px !important;
  }
}

/* v18 final mac touchup */

/* Mac: keep position, make screenshot just a touch larger and rounder */
.device-frame.desktop .device-screen {
  padding: 0 !important;
  border-width: 2px !important;
  border-radius: 28px 28px 18px 18px !important;
  overflow: hidden !important;
  background: #050505 !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.06) !important;
  transform-origin: center center !important;
  border-radius: 14px !important;
  background: transparent !important;
}

/* Remove/cover the white line at the top of the image */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  z-index: 30;
  background: #050505;
  pointer-events: none;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border-radius: 24px 24px 16px 16px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.06) !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border-radius: 20px 20px 14px 14px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.06) !important;
    border-radius: 10px !important;
  }

  .device-frame.desktop .device-screen::after {
    height: 4px;
  }
}

/* v19 final mac nudge */

/* Mac image: a touch lower */
.device-frame.desktop img {
  object-position: center 53% !important;
  transform: scale(1.06) translateY(1.2%) !important;
  transform-origin: center center !important;
}

/* More aggressive cover for the bright/white line at the top */
.device-frame.desktop .device-screen::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  right: -2px;
  height: 8px;
  z-index: 40;
  background: #050505;
  pointer-events: none;
}

@media (max-width: 1050px) {
  .device-frame.desktop img {
    object-position: center 53% !important;
    transform: scale(1.06) translateY(1.2%) !important;
  }

  .device-frame.desktop .device-screen::after {
    height: 8px;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop img {
    object-position: center 53% !important;
    transform: scale(1.06) translateY(1.2%) !important;
  }

  .device-frame.desktop .device-screen::after {
    height: 7px;
  }
}

/* v20 remove mac top line at source */

/*
  The bright line was caused by the device-screen border/inset shadow,
  not by the screenshot itself. For the Mac screen we remove the inset/border
  instead of trying to cover it afterwards.
*/

.device-frame.desktop .device-screen {
  border: 0 !important;
  outline: 0 !important;
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 7px rgba(0,115,148,0.08) !important;
  background: #050505 !important;
  overflow: hidden !important;
  border-radius: 28px 28px 18px 18px !important;
  padding: 0 !important;
}

.device-frame.desktop img {
  object-position: center 53% !important;
  transform: scale(1.065) translateY(1.2%) !important;
  transform-origin: center center !important;
  border-radius: 16px !important;
  display: block !important;
  background: transparent !important;
}

/* no pseudo-cover needed anymore */
.device-frame.desktop .device-screen::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border: 0 !important;
    box-shadow:
      0 30px 86px rgba(0,0,0,0.62),
      0 0 0 6px rgba(0,115,148,0.08) !important;
  }

  .device-frame.desktop img {
    transform: scale(1.065) translateY(1.2%) !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border: 0 !important;
    box-shadow:
      0 24px 70px rgba(0,0,0,0.58),
      0 0 0 5px rgba(0,115,148,0.08) !important;
    border-radius: 20px 20px 14px 14px !important;
  }

  .device-frame.desktop img {
    transform: scale(1.065) translateY(1.2%) !important;
    border-radius: 10px !important;
  }
}

/* v21 use new mac screenshot */

/* New Mac screenshot ratio: 2048 / 1316 */
.device-frame.desktop .device-screen {
  aspect-ratio: 2048 / 1316 !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  background: #050505 !important;
  overflow: hidden !important;
  border-radius: 28px 28px 18px 18px !important;
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 7px rgba(0,115,148,0.08) !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 14px !important;
  background: transparent !important;
  display: block !important;
}

.device-frame.desktop .device-screen::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    aspect-ratio: 2048 / 1316 !important;
    box-shadow:
      0 30px 86px rgba(0,0,0,0.62),
      0 0 0 6px rgba(0,115,148,0.08) !important;
    border-radius: 24px 24px 16px 16px !important;
  }
  .device-frame.desktop img {
    border-radius: 12px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    aspect-ratio: 2048 / 1316 !important;
    box-shadow:
      0 24px 70px rgba(0,0,0,0.58),
      0 0 0 5px rgba(0,115,148,0.08) !important;
    border-radius: 20px 20px 14px 14px !important;
  }
  .device-frame.desktop img {
    border-radius: 10px !important;
  }
}

/* v22 subtle mac bezel */

/* Give the Mac screen a subtle realistic bezel again, without bringing back the white line */
.device-frame.desktop .device-screen {
  border: 2px solid rgba(8, 10, 12, 0.96) !important;
  outline: 0 !important;
  padding: 0 !important;
  background: #050505 !important;
  overflow: hidden !important;
  border-radius: 28px 28px 18px 18px !important;
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 7px rgba(0,115,148,0.08) !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 12px !important;
  display: block !important;
}

/* Keep the former white line gone */
.device-frame.desktop .device-screen::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    border: 2px solid rgba(8, 10, 12, 0.96) !important;
    border-radius: 24px 24px 16px 16px !important;
    box-shadow:
      0 30px 86px rgba(0,0,0,0.62),
      0 0 0 6px rgba(0,115,148,0.08) !important;
  }

  .device-frame.desktop img {
    border-radius: 10px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    border: 2px solid rgba(8, 10, 12, 0.96) !important;
    border-radius: 20px 20px 14px 14px !important;
    box-shadow:
      0 24px 70px rgba(0,0,0,0.58),
      0 0 0 5px rgba(0,115,148,0.08) !important;
  }

  .device-frame.desktop img {
    border-radius: 8px !important;
  }
}

/* v24 final piano and mac border */

/* Piano & Zufallstraining: make "Hauptansicht mit Piano" larger */
#piano .shot-pair .phone-shot:first-child {
  width: min(340px, 100%) !important;
}

#piano .shot-pair .phone-shot:first-child img {
  width: 100% !important;
  height: auto !important;
}

#piano .shot-pair .phone-shot.small {
  width: min(220px, 100%) !important;
}

@media (max-width: 1050px) {
  #piano .shot-pair .phone-shot:first-child {
    width: min(330px, 100%) !important;
  }
}

@media (max-width: 780px) {
  #piano .shot-pair .phone-shot:first-child {
    width: min(300px, 86vw) !important;
  }

  #piano .shot-pair .phone-shot.small {
    width: min(230px, 70vw) !important;
  }
}

/* Mac: visible inner bezel around the screenshot.
   This uses real padding, so the border is actually visible around the image. */
.device-frame.desktop .device-screen {
  padding: 7px !important;
  border: 2px solid rgba(6, 8, 10, 0.98) !important;
  outline: 0 !important;
  background: #050505 !important;
  overflow: hidden !important;
  border-radius: 30px 30px 20px 20px !important;
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 7px rgba(0,115,148,0.08) !important;
}

.device-frame.desktop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 16px !important;
  display: block !important;
  background: transparent !important;
}

/* Keep the white line removed */
.device-frame.desktop .device-screen::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1050px) {
  .device-frame.desktop .device-screen {
    padding: 6px !important;
    border: 2px solid rgba(6, 8, 10, 0.98) !important;
    border-radius: 26px 26px 18px 18px !important;
  }

  .device-frame.desktop img {
    border-radius: 14px !important;
  }
}

@media (max-width: 780px) {
  .device-frame.desktop .device-screen {
    padding: 5px !important;
    border: 2px solid rgba(6, 8, 10, 0.98) !important;
    border-radius: 22px 22px 15px 15px !important;
  }

  .device-frame.desktop img {
    border-radius: 11px !important;
  }
}

/* v26 explicit piano image sizing */

/* Piano & Zufallstraining:
   The first screenshot ("Hauptansicht mit Piano") is explicitly larger than the second one. */
#piano .shot-pair {
  align-items: end !important;
}

#piano .piano-main-shot {
  width: min(390px, 100%) !important;
  max-width: none !important;
}

#piano .piano-secondary-shot {
  width: min(225px, 100%) !important;
  max-width: none !important;
}

#piano .piano-main-shot img,
#piano .piano-secondary-shot img {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 1050px) {
  #piano .piano-main-shot {
    width: min(360px, 100%) !important;
  }

  #piano .piano-secondary-shot {
    width: min(225px, 100%) !important;
  }
}

@media (max-width: 780px) {
  #piano .piano-main-shot {
    width: min(320px, 88vw) !important;
  }

  #piano .piano-secondary-shot {
    width: min(230px, 70vw) !important;
  }
}

/* v28 same small section screenshots everywhere */

/*
  All normal section screenshots now use the same smaller size across sections.
  Excluded: hero/top images, device overview, and screenshot gallery.
*/

.spotlight-section .shot-pair {
  align-items: end !important;
  justify-items: center !important;
}

.spotlight-section figure.section-equal-shot,
.utility-section figure.section-equal-shot,
.spotlight-section .shot-pair .phone-shot,
.spotlight-section .shot-pair .phone-shot.small,
.utility-section .utility-shot,
#piano .piano-main-shot,
#piano .piano-secondary-shot {
  width: 225px !important;
  max-width: 225px !important;
  min-width: 0 !important;
  justify-self: center !important;
}

.spotlight-section figure.section-equal-shot img,
.utility-section figure.section-equal-shot img,
.spotlight-section .shot-pair .phone-shot img,
.utility-section .utility-shot img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
}

/* Keep two-image sections visually balanced */
.spotlight-section .shot-pair {
  grid-template-columns: repeat(2, 225px) !important;
  justify-content: center !important;
  gap: 24px !important;
}

@media (max-width: 1050px) {
  .spotlight-section figure.section-equal-shot,
  .utility-section figure.section-equal-shot,
  .spotlight-section .shot-pair .phone-shot,
  .spotlight-section .shot-pair .phone-shot.small,
  .utility-section .utility-shot,
  #piano .piano-main-shot,
  #piano .piano-secondary-shot {
    width: 215px !important;
    max-width: 215px !important;
  }

  .spotlight-section .shot-pair {
    grid-template-columns: repeat(2, 215px) !important;
    gap: 22px !important;
  }
}

@media (max-width: 780px) {
  .spotlight-section figure.section-equal-shot,
  .utility-section figure.section-equal-shot,
  .spotlight-section .shot-pair .phone-shot,
  .spotlight-section .shot-pair .phone-shot.small,
  .utility-section .utility-shot,
  #piano .piano-main-shot,
  #piano .piano-secondary-shot {
    width: min(190px, 42vw) !important;
    max-width: min(190px, 42vw) !important;
  }

  .spotlight-section .shot-pair {
    grid-template-columns: repeat(2, minmax(0, min(190px, 42vw))) !important;
    gap: 14px !important;
  }

  .utility-section figure.section-equal-shot,
  .utility-section .utility-shot {
    width: min(190px, 58vw) !important;
    max-width: min(190px, 58vw) !important;
  }
}


/* v26 – current screenshots and exact device fitting */
.device-frame .device-screen { overflow: hidden; }
.device-frame .device-screen img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: fill !important;
  object-position: center !important;
  transform: none !important;
  inset: auto !important;
}
.device-frame.landscape .device-screen { aspect-ratio: 2868 / 1320 !important; }
.device-frame.tablet .device-screen { aspect-ratio: 2064 / 2752 !important; }
.device-frame.desktop .device-screen { aspect-ratio: 2272 / 1760 !important; }
.device-frame.portrait .device-screen { aspect-ratio: 1320 / 2868 !important; }
@media (max-width: 780px) {
  .device-frame.landscape .device-screen,
  .device-frame.tablet .device-screen,
  .device-frame.desktop .device-screen,
  .device-frame.portrait .device-screen { width: 100% !important; }
}


/* v27 – requested text and device overview corrections */
.device-collage { min-height: 670px !important; }

/* Mac: make the screen fill the device more and keep the top free of any bright line */
.device-frame.desktop {
  width: min(66vw, 780px) !important;
  top: 28px !important;
  transform: translateX(-63%) !important;
}
.device-frame.desktop .device-screen {
  padding: 4px !important;
  border: 2px solid rgba(6, 8, 10, 0.98) !important;
  border-radius: 28px 28px 18px 18px !important;
  background: #050505 !important;
  box-shadow:
    0 34px 100px rgba(0,0,0,0.66),
    0 0 0 7px rgba(0,115,148,0.08) !important;
}
.device-frame.desktop img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.05) !important;
  border-radius: 15px !important;
}
.device-frame.desktop .device-screen::after {
  content: none !important;
  display: none !important;
}

/* iPad: slightly larger and visually closer to the frame edge */
.device-frame.tablet {
  width: min(41vw, 430px) !important;
  top: 10px !important;
  transform: translateX(33%) !important;
}
.device-frame.tablet .device-screen {
  border-width: 11px !important;
  border-radius: 32px !important;
}
.device-frame.tablet img {
  object-fit: cover !important;
  object-position: center center !important;
}

/* iPhone portrait: slightly shorter housing so the frame matches the screenshot better */
.device-frame.portrait {
  width: min(20.6vw, 222px) !important;
  top: 276px !important;
  transform: translateX(-188%) !important;
}
.device-frame.portrait .device-screen {
  aspect-ratio: 1320 / 2790 !important;
  border: 8px solid rgba(3, 5, 6, 0.96) !important;
  border-radius: 30px !important;
}
.device-frame.portrait img {
  object-fit: cover !important;
  object-position: center 48% !important;
  padding-bottom: 0 !important;
}

@media (max-width: 1050px) {
  .device-collage { min-height: 620px !important; }
  .device-frame.desktop { width: min(68vw, 720px) !important; }
  .device-frame.tablet { width: min(42vw, 390px) !important; }
  .device-frame.portrait { width: min(22vw, 205px) !important; }
}

@media (max-width: 780px) {
  .device-collage { min-height: 580px !important; }
  .device-frame.desktop { width: min(78vw, 560px) !important; }
  .device-frame.desktop img { transform: scale(1.03) !important; }
  .device-frame.tablet { width: min(46vw, 310px) !important; }
  .device-frame.portrait { width: min(25vw, 175px) !important; }
}


/* v29 – frameless device collage with natural image ratios */
/*
  The arrangement remains a layered collage. Only the artificial hardware
  housings are removed. Every screenshot is rendered at its intrinsic ratio,
  without cropping, stretching or forced aspect ratios.
*/
.device-frame,
.device-frame.desktop,
.device-frame.tablet,
.device-frame.landscape,
.device-frame.portrait {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.device-frame::before,
.device-frame::after,
.device-frame .device-screen::before,
.device-frame .device-screen::after {
  content: none !important;
  display: none !important;
}

.device-frame .device-screen,
.device-frame.desktop .device-screen,
.device-frame.tablet .device-screen,
.device-frame.landscape .device-screen,
.device-frame.portrait .device-screen {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.device-frame picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.device-frame img,
.device-frame.desktop img,
.device-frame.tablet img,
.device-frame.landscape img,
.device-frame.portrait img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38) !important;
}

.device-frame.desktop img { border-radius: 18px !important; }
.device-frame.tablet img { border-radius: 24px !important; }
.device-frame.landscape img { border-radius: 18px !important; }
.device-frame.portrait img { border-radius: 26px !important; }

/* Preserve the current desktop composition and relative device sizes. */
.device-collage { min-height: 670px !important; }
.device-frame.desktop {
  width: min(66vw, 780px) !important;
  left: 50% !important;
  top: 28px !important;
  transform: translateX(-63%) !important;
}
.device-frame.tablet {
  width: min(41vw, 430px) !important;
  left: 50% !important;
  top: 10px !important;
  transform: translateX(33%) !important;
}
.device-frame.landscape {
  width: min(43vw, 455px) !important;
  left: 50% !important;
  top: 392px !important;
  transform: translateX(-10%) !important;
}
.device-frame.portrait {
  width: min(20.6vw, 222px) !important;
  left: 50% !important;
  top: 276px !important;
  transform: translateX(-188%) !important;
}

@media (max-width: 1050px) {
  .device-collage { min-height: 620px !important; }
  .device-frame.desktop {
    width: min(68vw, 720px) !important;
    top: 30px !important;
    transform: translateX(-64%) !important;
  }
  .device-frame.tablet {
    width: min(42vw, 390px) !important;
    top: 12px !important;
    transform: translateX(38%) !important;
  }
  .device-frame.landscape {
    width: min(40vw, 360px) !important;
    top: 332px !important;
    transform: translateX(-14%) !important;
  }
  .device-frame.portrait {
    width: min(22vw, 205px) !important;
    top: 234px !important;
    transform: translateX(-190%) !important;
  }
}

@media (max-width: 720px) {
  .device-collage { min-height: 580px !important; }
  .device-frame.desktop {
    width: min(78vw, 560px) !important;
    top: 14px !important;
    transform: translateX(-64%) !important;
  }
  .device-frame.tablet {
    width: min(46vw, 310px) !important;
    top: 2px !important;
    transform: translateX(36%) !important;
  }
  .device-frame.landscape {
    width: min(52vw, 224px) !important;
    top: 248px !important;
    transform: translateX(-14%) !important;
  }
  .device-frame.portrait {
    width: min(25vw, 175px) !important;
    top: 172px !important;
    transform: translateX(-188%) !important;
  }

  .device-frame.desktop img { border-radius: 13px !important; }
  .device-frame.tablet img { border-radius: 16px !important; }
  .device-frame.landscape img { border-radius: 12px !important; }
  .device-frame.portrait img { border-radius: 18px !important; }
}


/* v30 – requested collage tweak: lower iPhone landscape, Mac as plain screenshot */
.device-frame.desktop img {
  box-shadow: none !important;
  border-radius: 12px !important;
}

.device-frame.landscape {
  top: 414px !important;
}

@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 348px !important;
  }
  .device-frame.desktop img {
    border-radius: 10px !important;
  }
}

@media (max-width: 720px) {
  .device-frame.landscape {
    top: 262px !important;
  }
  .device-frame.desktop img {
    border-radius: 8px !important;
  }
}


/* v31 – bereinigter Mac-Screenshot ohne Rahmen, Hintergrund oder Schatten */
.device-frame.desktop,
.device-frame.desktop .device-screen,
.device-frame.desktop picture {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.device-frame.desktop img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

/* v32 – iPhone Landscape ca. 30 px tiefer */
.device-frame.landscape {
  top: 444px !important;
}

@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 378px !important;
  }
}

@media (max-width: 720px) {
  .device-frame.landscape {
    top: 292px !important;
  }
}




/* v33 – iPhone Landscape weitere 60 px tiefer */
.device-frame.landscape {
  top: 474px !important;
}

@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 408px !important;
  }
}

@media (max-width: 720px) {
  .device-frame.landscape {
    top: 322px !important;
  }
}

/* v34 – mobile horizontal overflow and iPhone collage position */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* Keep the desktop arrangement unchanged; raise the landscape iPhone only on smaller viewports. */
@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 378px !important;
  }
}

@media (max-width: 720px) {
  .device-frame.landscape {
    top: 292px !important;
  }
}

/* v28 – transparent optimized device mockups */
.device-collage { min-height: 650px !important; }
.device-frame { pointer-events: none; }
.device-frame::before,
.device-frame::after,
.device-frame .device-screen::before,
.device-frame .device-screen::after { content: none !important; display: none !important; }
.device-frame .device-screen {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  aspect-ratio: auto !important;
}
.device-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.device-frame.desktop { width: min(66vw, 760px) !important; left: 50% !important; top: 34px !important; transform: translateX(-63%) !important; }
.device-frame.tablet { width: min(38vw, 400px) !important; left: 50% !important; top: 16px !important; transform: translateX(38%) !important; }
.device-frame.landscape { width: min(44vw, 480px) !important; left: 50% !important; top: 390px !important; transform: translateX(-10%) !important; }
.device-frame.portrait { width: min(20vw, 214px) !important; left: 50% !important; top: 272px !important; transform: translateX(-190%) !important; }
@media (max-width: 1050px) { .device-collage { min-height: 620px !important; } }
@media (max-width: 780px) {
  .device-collage { min-height: auto !important; display: grid !important; grid-template-columns: 1fr !important; gap: 16px !important; }
  .device-frame { position: static !important; left: auto !important; top: auto !important; transform: none !important; width: 100% !important; max-width: 100% !important; }
  .device-frame.desktop, .device-frame.tablet, .device-frame.landscape, .device-frame.portrait { width: 100% !important; }
}

/* v29 – simple light device frames */
.device-collage {
  min-height: 660px !important;
}
.device-frame::before,
.device-frame::after,
.device-frame .device-screen::before,
.device-frame .device-screen::after {
  content: none !important;
  display: none !important;
}
.device-frame .device-screen {
  overflow: hidden !important;
  background: linear-gradient(180deg, #f4f7fb 0%, #e8edf3 100%) !important;
  border: 12px solid #e4ebf2 !important;
  box-shadow:
    0 24px 60px rgba(6, 17, 28, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.65) !important;
  padding: 0 !important;
}
.device-frame img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: fill !important;
  object-position: center center !important;
  transform: none !important;
  background: #000 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.device-frame.desktop {
  width: min(63vw, 720px) !important;
  left: 50% !important;
  top: 36px !important;
  transform: translateX(-64%) !important;
}
.device-frame.desktop .device-screen {
  aspect-ratio: 2044 / 1529 !important;
  border-width: 14px !important;
  border-radius: 18px !important;
}
.device-frame.tablet {
  width: min(38vw, 395px) !important;
  left: 50% !important;
  top: 16px !important;
  transform: translateX(38%) !important;
}
.device-frame.tablet .device-screen {
  aspect-ratio: 1600 / 2133 !important;
  border-width: 14px !important;
  border-radius: 28px !important;
}
.device-frame.landscape {
  width: min(43vw, 455px) !important;
  left: 50% !important;
  top: 392px !important;
  transform: translateX(-10%) !important;
}
.device-frame.landscape .device-screen {
  aspect-ratio: 1600 / 736 !important;
  border-width: 12px !important;
  border-radius: 24px !important;
}
.device-frame.portrait {
  width: min(19.7vw, 209px) !important;
  left: 50% !important;
  top: 276px !important;
  transform: translateX(-190%) !important;
}
.device-frame.portrait .device-screen {
  aspect-ratio: 1320 / 2868 !important;
  border-width: 12px !important;
  border-radius: 30px !important;
}
@media (max-width: 1050px) {
  .device-collage { min-height: 620px !important; }
}
@media (max-width: 780px) {
  .device-collage {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .device-frame {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .device-frame.desktop,
  .device-frame.tablet,
  .device-frame.landscape,
  .device-frame.portrait {
    width: 100% !important;
  }
}

/* v30 – stronger visible simple frames */
.device-frame .device-screen {
  overflow: hidden !important;
  background: #f3f6fa !important;
  padding: 12px !important;
  border: 2px solid #cfd8e3 !important;
  box-shadow:
    0 18px 46px rgba(6, 17, 28, 0.16),
    0 0 0 10px #e5ebf2 !important;
}
.device-frame img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: fill !important;
  background: #000 !important;
}
.device-frame.desktop .device-screen {
  border-radius: 18px !important;
}
.device-frame.tablet .device-screen {
  border-radius: 28px !important;
}
.device-frame.landscape .device-screen {
  border-radius: 24px !important;
}
.device-frame.portrait .device-screen {
  border-radius: 30px !important;
}

/* v31 – exact 8px border around each device image */
.device-frame .device-screen {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.device-frame img {
  box-sizing: border-box !important;
  border: 8px solid #e5ebf2 !important;
  box-shadow: 0 14px 34px rgba(6, 17, 28, 0.16) !important;
}
.device-frame.desktop img {
  border-radius: 16px !important;
}
.device-frame.tablet img {
  border-radius: 24px !important;
}
.device-frame.landscape img {
  border-radius: 20px !important;
}
.device-frame.portrait img {
  border-radius: 24px !important;
}

/* v32 – border embedded directly in device gallery images */
.device-frame .device-screen {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.device-frame img {
  box-sizing: border-box !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 14px 34px rgba(6, 17, 28, 0.16) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}

/* v33 – transparent image corners for embedded rounded border */
.device-frame img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
}

/* v33 – rounded subtle baked image frames */
.device-frame .device-screen {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.device-frame img {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}

/* v34 – transparent real device mockups */
.device-frame::before,
.device-frame::after,
.device-frame .device-screen::before,
.device-frame .device-screen::after { content:none !important; display:none !important; }
.device-frame .device-screen {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  aspect-ratio: auto !important;
}
.device-frame img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.device-collage { min-height: 710px !important; }
.device-frame.desktop { width: min(66vw, 760px) !important; top: 36px !important; transform: translateX(-64%) !important; }
.device-frame.tablet { width: min(39vw, 410px) !important; top: 8px !important; transform: translateX(38%) !important; }
.device-frame.landscape { width: min(45vw, 490px) !important; top: 408px !important; transform: translateX(-10%) !important; }
.device-frame.portrait { width: min(21vw, 225px) !important; top: 286px !important; transform: translateX(-190%) !important; }
@media (max-width: 1050px) { .device-collage { min-height: 650px !important; } }
@media (max-width: 780px) {
  .device-collage { min-height:auto !important; display:grid !important; grid-template-columns:1fr !important; gap:18px !important; }
  .device-frame { position:static !important; left:auto !important; top:auto !important; transform:none !important; width:100% !important; max-width:100% !important; }
  .device-frame.desktop, .device-frame.tablet, .device-frame.landscape, .device-frame.portrait { width:100% !important; }
}

/* v34 – true device frames with transparent background, no shadows */
.device-collage { min-height: 670px !important; }
.device-frame, .device-frame::before, .device-frame::after, .device-frame .device-screen::before, .device-frame .device-screen::after { box-shadow: none !important; }
.device-frame .device-screen { overflow: visible !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.device-frame img { display:block !important; width:100% !important; height:100% !important; object-fit:fill !important; object-position:center center !important; background:transparent !important; border:0 !important; outline:0 !important; border-radius:0 !important; box-shadow:none !important; padding:0 !important; }
.device-frame.desktop { width:min(66vw,760px) !important; left:50% !important; top:34px !important; transform:translateX(-63%) !important; }
.device-frame.desktop .device-screen { aspect-ratio:1280 / 872 !important; }
.device-frame.tablet { width:min(39vw,408px) !important; left:50% !important; top:10px !important; transform:translateX(35%) !important; }
.device-frame.tablet .device-screen { aspect-ratio:880 / 1166 !important; }
.device-frame.landscape { width:min(44vw,480px) !important; left:50% !important; top:392px !important; transform:translateX(-10%) !important; }
.device-frame.landscape .device-screen { aspect-ratio:980 / 450 !important; }
.device-frame.portrait { width:min(21vw,224px) !important; left:50% !important; top:270px !important; transform:translateX(-190%) !important; }
.device-frame.portrait .device-screen { aspect-ratio:460 / 963 !important; }
@media (max-width:1050px){ .device-collage { min-height:620px !important; } }
@media (max-width:780px){ .device-collage { min-height:auto !important; display:grid !important; grid-template-columns:1fr !important; gap:16px !important; } .device-frame { position:static !important; left:auto !important; top:auto !important; transform:none !important; width:100% !important; max-width:100% !important; } }

/* v35 – corrected Mac and iPad cutouts */
.device-frame,
.device-frame::before,
.device-frame::after,
.device-frame .device-screen,
.device-frame .device-screen::before,
.device-frame .device-screen::after,
.device-frame img {
  box-shadow: none !important;
}
.device-frame .device-screen {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.device-frame img {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.device-frame.desktop .device-screen { aspect-ratio: 1280 / 862 !important; }
.device-frame.tablet .device-screen { aspect-ratio: 880 / 1174 !important; }

/* v36 – separately corrected Mac and iPad cutouts */
.device-frame.desktop .device-screen { aspect-ratio: 1280 / 866 !important; }
.device-frame.tablet .device-screen { aspect-ratio: 880 / 1168 !important; }

/* v37 – refined device gallery composition */
.device-collage {
  min-height: 690px !important;
  margin-top: 38px !important;
}

/* Mac: main background device, slightly smaller and more left */
.device-frame.desktop {
  width: min(61vw, 700px) !important;
  left: 50% !important;
  top: 54px !important;
  transform: translateX(-66%) !important;
  z-index: 1 !important;
}

/* iPad: clearly separated on the right */
.device-frame.tablet {
  width: min(35vw, 380px) !important;
  left: 50% !important;
  top: 24px !important;
  transform: translateX(38%) !important;
  z-index: 3 !important;
}

/* iPhone landscape: front center/right */
.device-frame.landscape {
  width: min(41vw, 450px) !important;
  left: 50% !important;
  top: 418px !important;
  transform: translateX(-7%) !important;
  z-index: 5 !important;
}

/* iPhone portrait: front left */
.device-frame.portrait {
  width: min(18.5vw, 202px) !important;
  left: 50% !important;
  top: 300px !important;
  transform: translateX(-187%) !important;
  z-index: 6 !important;
}

@media (max-width: 1050px) {
  .device-collage { min-height: 640px !important; }
  .device-frame.desktop { width: min(63vw, 650px) !important; }
  .device-frame.tablet { width: min(36vw, 360px) !important; }
  .device-frame.landscape { width: min(42vw, 430px) !important; top: 398px !important; }
  .device-frame.portrait { width: min(19vw, 195px) !important; top: 286px !important; }
}

@media (max-width: 780px) {
  .device-collage {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    margin-top: 28px !important;
  }
  .device-frame,
  .device-frame.desktop,
  .device-frame.tablet,
  .device-frame.landscape,
  .device-frame.portrait {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .device-frame.desktop { order: 1; }
  .device-frame.tablet { order: 2; }
  .device-frame.landscape { order: 3; }
  .device-frame.portrait { order: 4; }
}
/* v38 – user-provided transparent device images */
.device-frame,
.device-frame::before,
.device-frame::after,
.device-frame .device-screen,
.device-frame .device-screen::before,
.device-frame .device-screen::after,
.device-frame img { box-shadow: none !important; }
.device-frame::before,
.device-frame::after,
.device-frame .device-screen::before,
.device-frame .device-screen::after { content:none !important; display:none !important; }
.device-frame .device-screen { background:transparent !important; border:0 !important; padding:0 !important; overflow:visible !important; }
.device-frame img { display:block !important; width:100% !important; height:auto !important; object-fit:contain !important; object-position:center !important; background:transparent !important; border:0 !important; outline:0 !important; border-radius:0 !important; padding:0 !important; transform:none !important; }
.device-frame.desktop .device-screen { aspect-ratio:1400 / 1113 !important; }
.device-frame.tablet .device-screen { aspect-ratio:820 / 1083 !important; }
.device-frame.landscape .device-screen { aspect-ratio:980 / 462 !important; }
.device-frame.portrait .device-screen { aspect-ratio:440 / 934 !important; }

/* v39 – keep device collage intact on narrow windows */
/* Landscape iPhone sits 30 px lower than before. */
.device-frame.landscape {
  top: 448px !important;
}

@media (max-width: 1050px) {
  .device-frame.landscape {
    top: 428px !important;
  }
}

/* Never stack the four devices. On narrow windows the whole composition
   keeps the same relative layout and simply becomes smaller. */
@media (max-width: 780px) {
  .device-collage {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 62vw !important;
    margin-top: 24px !important;
    overflow: visible !important;
  }

  .device-frame,
  .device-frame.desktop,
  .device-frame.tablet,
  .device-frame.landscape,
  .device-frame.portrait {
    position: absolute !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .device-frame.desktop {
    width: 61vw !important;
    left: 50% !important;
    top: 4.7vw !important;
    transform: translateX(-66%) !important;
    z-index: 1 !important;
  }

  .device-frame.tablet {
    width: 35vw !important;
    left: 50% !important;
    top: 2vw !important;
    transform: translateX(38%) !important;
    z-index: 3 !important;
  }

  .device-frame.landscape {
    width: 41vw !important;
    left: 50% !important;
    top: 39vw !important;
    transform: translateX(-7%) !important;
    z-index: 5 !important;
  }

  .device-frame.portrait {
    width: 18.5vw !important;
    left: 50% !important;
    top: 27vw !important;
    transform: translateX(-187%) !important;
    z-index: 6 !important;
  }
}

@media (max-width: 480px) {
  .device-collage {
    min-height: 64vw !important;
    margin-top: 18px !important;
  }
}

/* v40 – centered proportional PNG device collage
   The four user-exported PNGs are treated as indivisible images.
   No fixed image heights, no object-fit: fill, no per-device viewport scaling. */
.device-collage {
  position: relative !important;
  display: block !important;
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1180 / 740 !important;
  margin: 38px auto 0 !important;
  overflow: visible !important;
}
.device-frame,
.device-frame.desktop,
.device-frame.tablet,
.device-frame.landscape,
.device-frame.portrait {
  position: absolute !important;
  margin: 0 !important;
  transform: none !important;
  max-width: none !important;
  pointer-events: none !important;
}
.device-frame .device-screen {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.device-frame picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
.device-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Coordinates are percentages of the same 1180 × 740 stage, so the entire
   composition scales and remains centered as one unit at every window width. */
.device-frame.desktop {
  left: 10.85% !important;
  top: 7.30% !important;
  width: 59.32% !important;
  z-index: 1 !important;
}
.device-frame.tablet {
  left: 62.24% !important;
  top: 3.24% !important;
  width: 32.20% !important;
  z-index: 3 !important;
}
.device-frame.landscape {
  left: 47.33% !important;
  top: 60.54% !important;
  width: 38.14% !important;
  z-index: 5 !important;
}
.device-frame.portrait {
  left: 17.99% !important;
  top: 40.54% !important;
  width: 17.12% !important;
  z-index: 6 !important;
}
@media (max-width: 780px) {
  .device-collage {
    width: 100% !important;
    margin: 24px auto 0 !important;
  }
}
@media (max-width: 480px) {
  .device-collage {
    margin-top: 18px !important;
  }
}

/* v41 – final device clipping and centered responsive collage
   The rounded crop is applied to the complete PNG at render time. */
.device-collage {
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
}

.device-frame .device-screen,
.device-frame picture {
  overflow: hidden !important;
  background: transparent !important;
}

.device-frame picture,
.device-frame img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Radii are derived from the actual rounded outer contours of the supplied PNGs.
   Horizontal and vertical percentages are separate so the radius stays circular
   while each image scales proportionally. */
.device-frame.desktop picture,
.device-frame.desktop img {
  border-radius: 1.08% / 1.36% !important;
  clip-path: inset(0 round 1.08% / 1.36%) !important;
}

.device-frame.tablet picture,
.device-frame.tablet img {
  border-radius: 4.84% / 3.66% !important;
  clip-path: inset(0 round 4.84% / 3.66%) !important;
}

.device-frame.landscape picture,
.device-frame.landscape img {
  border-radius: 4.30% / 9.12% !important;
  clip-path: inset(0 round 4.30% / 9.12%) !important;
}

.device-frame.portrait picture,
.device-frame.portrait img {
  border-radius: 9.53% / 4.49% !important;
  clip-path: inset(0 round 9.53% / 4.49%) !important;
}

/* Keep every image proportional; never stretch a screenshot separately. */
.device-frame img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
