:root { --omniplay-blue: #0a84ff; }
.omniplay-story a:focus-visible, .omniplay-story button:focus-visible { outline-color: var(--omniplay-blue); }
.omniplay-story .project-status { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.omniplay-story .project-status span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--omniplay-blue); }
.omniplay-hero h1 { font-size: clamp(4rem, 7.5vw, 7rem); }
.omniplay-hero-figure { min-width: 0; }
.omniplay-hero-figure > a { display: block; overflow: hidden; border-radius: var(--media-radius); background: #050505; }
.omniplay-hero-figure img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hero-actions, .today-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
.omniplay-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9375rem; }
.omniplay-button .ui-icon { transition: transform 220ms var(--ease); }
.omniplay-button:hover .ui-icon { transform: translate(2px, -2px); }
.omniplay-system { background: var(--night); color: #fff; }
.omniplay-system :is(.section-label, .prose p, figcaption) { color: var(--night-muted); }
.system-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 4rem 0 0; padding: 0; list-style: none; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--media-radius); overflow: hidden; }
.system-flow li { min-height: 13rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night); }
.system-flow span { display: block; margin-bottom: 3rem; color: var(--night-muted); font-size: .8125rem; }
.system-flow strong { display: block; font-size: 1.25rem; }
.system-flow p { margin: .75rem 0 0; color: var(--night-muted); line-height: 1.55; }
.web-result-figure img, .recipient-media > figure:first-child img { border-radius: var(--media-radius); }
.native-study { display: grid; grid-template-columns: minmax(16rem, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; margin-top: 4rem; }
.phone-stage { display: flex; justify-content: center; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--media-radius); background: var(--stage); }
.phone-stage > a { width: min(100%, 18rem); }
.phone-stage img { border-radius: 2.1rem; box-shadow: 0 1rem 3rem rgb(0 0 0 / 10%); }
.native-notes article { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.native-notes article:last-child { border-bottom: 1px solid var(--line); }
.native-notes p { margin: .75rem 0 0; color: var(--muted); line-height: 1.6; }
.omniplay-recipient { background: #edf0f3; }
.recipient-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.recipient-copy .section-label { grid-column: 1 / -1; margin-bottom: 0; }
.recipient-media { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .7fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: end; margin-top: 4rem; }
.mobile-stage { width: min(100%, 22rem); margin-inline: auto; padding: .7rem; border: 1px solid rgb(0 0 0 / 7%); border-radius: 3rem; background: #d3d8dd; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 45%), 0 1.25rem 3.5rem rgb(31 41 55 / 14%); }
.mobile-stage > a { display: block; width: 100%; overflow: hidden; border-radius: 2.4rem; }
.mobile-stage img { display: block; border-radius: 2.4rem; }
.today-section .omniplay-button { background: var(--ink); color: var(--paper); }
.live-demo-section { padding-top: 0; }
.live-demo-intro { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.live-demo-intro .text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; }
.live-demo-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--media-radius); background: #050505; box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 10%); }
.live-demo-bar { display: flex; min-height: 3.5rem; padding: .75rem 1rem; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgb(255 255 255 / 10%); background: #111; color: #fff; font-size: .8125rem; }
.live-demo-bar span, .live-demo-bar a { display: inline-flex; align-items: center; gap: .5rem; }
.live-demo-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--omniplay-blue); box-shadow: 0 0 0 .2rem rgb(10 132 255 / 14%); }
.live-demo-bar a { color: rgb(255 255 255 / 70%); transition: color 180ms ease; }
.live-demo-bar a:hover { color: #fff; }
.live-demo-frame iframe { display: block; width: 100%; height: clamp(42rem, 75vw, 55rem); border: 0; background: #050505; }
.omniplay-story .related-case-visual img { object-position: center 62%; }
[data-theme="dark"] .omniplay-recipient { background: var(--stage); }
[data-theme="dark"] .phone-stage, [data-theme="dark"] .mobile-stage { background: var(--stage-raised); }
[data-theme="dark"] .omniplay-system { color: var(--ink); }
[data-theme="dark"] .omniplay-system :is(.section-label, .prose p, figcaption), [data-theme="dark"] .system-flow p, [data-theme="dark"] .system-flow span { color: var(--night-muted); }
[data-theme="dark"] .system-flow { border-color: var(--line); background: var(--line); }
[data-theme="dark"] .system-flow li { background: var(--night); }
@media (min-width: 601px) {
  .recipient-media > figure { display: flex; min-width: 0; flex-direction: column; }
  .recipient-media > figure:first-child > a, .mobile-stage { height: clamp(32rem, 52vw, 42rem); }
  .recipient-media > figure:first-child > a { display: block; overflow: hidden; border-radius: var(--media-radius); }
  .recipient-media > figure:first-child img, .mobile-stage img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-stage { width: 100%; max-width: none; }
  .mobile-stage > a { height: 100%; }
}
@media (max-width: 800px) {
  .system-flow { grid-template-columns: 1fr; }
  .system-flow li { min-height: 0; }
  .system-flow span { margin-bottom: 1.5rem; }
  .native-study { grid-template-columns: 1fr; }
  .phone-figure { max-width: 36rem; }
  .recipient-media { grid-template-columns: 1fr .72fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .omniplay-hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .hero-actions, .today-actions { align-items: flex-start; }
  .recipient-copy, .recipient-media { grid-template-columns: 1fr; }
  .recipient-copy .section-label { grid-column: auto; }
  .mobile-recipient { max-width: 22rem; }
  .phone-stage { padding: 1.5rem; }
  .mobile-stage { padding: .55rem; border-radius: 2.6rem; }
  .mobile-stage > a, .mobile-stage img { border-radius: 2.1rem; }
  .phone-stage img { border-radius: 1.5rem; }
  .live-demo-frame { border-radius: 1.25rem; }
  .live-demo-bar { padding-inline: .875rem; }
  .live-demo-bar > a { font-size: 0; }
  .live-demo-bar > a .ui-icon { font-size: 1rem; }
  .live-demo-frame iframe { height: 42rem; }
}
@media (prefers-reduced-motion: reduce) { .omniplay-button .ui-icon { transition: none; } }
