/* CardTable marketing site: device frames, clips and stills. Loaded after style.css on pages with media. */
.phone { position: relative; width: 100%; max-width: 300px; margin: 0 auto; padding: 8px; border-radius: 46px; background: #0E1311;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.16) inset, 0 0 0 1px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.25), 0 34px 60px -24px rgba(0,0,0,.55); }
.phone .shot, .tablet .shot { position: relative; display: block; border-radius: 38px; overflow: hidden; background: var(--felt-2); line-height: 0; }
.phone img, .phone video, .tablet img { display: block; width: 100%; height: auto; }
.phone video { aspect-ratio: 540 / 1174; object-fit: cover; }
/* A clip lies over an image of its own first frame and appears only once that frame is painted. */
.shot video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .2s linear; }
.shot video.ready { opacity: 1; }
/* iPad Pro 13-inch, landscape, drawn to scale: an even 8.4 mm bezel (2.98% of the width), 13.7 mm outer
   corners, a 5.3 mm screen corner, the front camera centred in the top bezel, and a thin aluminium edge. */
.tablet { position: relative; width: 100%; padding: 2.98%; background: #0A0A0B; border-radius: 4.87% / 6.36%;
  box-shadow: 0 0 0 1.5px #B9BCC0, 0 0 0 2.5px #8D9094, 0 2px 6px rgba(0,0,0,.18), 0 34px 60px -24px rgba(0,0,0,.5); }
.tablet::before { content: ""; position: absolute; top: 1.95%; left: 50%; width: .62%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 35%, #2B3440, #0B0E12 70%); }
.tablet .shot { border-radius: 2% / 2.67%; }
.shot .still { display: none; }
@media (prefers-reduced-motion: reduce) { .shot video, .shot .first { display: none; } .shot .still { display: block; } }

.hero .phone { transform: rotate(2deg); }
@media (max-width: 879px) { .hero .phone { transform: none; max-width: 250px; } }
.hero-media { position: relative; display: grid; place-items: center; padding: 8px 0; }
.hero-media::before { content: ""; position: absolute; inset: 4% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(243,239,226,.18), transparent); }
.hero-media .phone { position: relative; }

.feature { display: grid; gap: 28px; align-items: center; padding-top: 72px; }
@media (min-width: 820px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; } .feature.rev .copy { order: 2; } }
.feature .copy p { color: var(--secondary); font-size: 18px; margin: 0 0 12px; }
.feature .copy .checks { margin-top: 14px; }
.feature .copy .more { font-size: 16px; }
.feature .media { display: grid; place-items: center; position: relative; padding: 18px 0; min-width: 0; }
.feature .media::before { content: ""; position: absolute; inset: 2% 6%; border-radius: 40px; background: linear-gradient(160deg, var(--felt-1), var(--felt-3)); opacity: .14; }
.feature .media > * { position: relative; }
.pair { display: flex; gap: 14px; justify-content: center; align-items: flex-start; width: 100%; }
.pair .phone { max-width: 220px; margin: 0; flex: 1 1 0; min-width: 0; }
.pair .phone:nth-child(2) { margin-top: 40px; }

.band { background: var(--surface-2); margin-top: 80px; padding: 64px 0 72px; }
.band .intro { max-width: 640px; margin-bottom: 36px; }
.band .intro p { color: var(--secondary); font-size: 18px; margin: 0; }
.screens { display: grid; gap: 32px; align-items: end; }
@media (min-width: 880px) { .screens { grid-template-columns: 1fr 230px; gap: 44px; } }
.screens .phone { max-width: 230px; }
.screens figcaption, .gtiles figcaption { margin-top: 14px; font-size: 15px; color: var(--secondary); text-align: center; }
.screens figure, .gtiles figure { margin: 0; }
.screens figcaption b, .gtiles figcaption b { display: block; color: var(--text); font-size: 17px; }

.gtiles { display: grid; gap: 32px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (min-width: 880px) { .gtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } }
.gtiles a { text-decoration: none; color: var(--text); display: block; }
.gtiles .phone { max-width: 230px; padding: 6px; border-radius: 34px; } .gtiles .phone .shot { border-radius: 28px; }

.gcard { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .gcard { grid-template-columns: 1fr 180px; } }
.gcard .phone { max-width: 180px; padding: 5px; border-radius: 30px; } .gcard .phone .shot { border-radius: 25px; }
@media (max-width: 639px) { .gcard .phone { order: -1; } }
.gcard > div > .game { padding: 0; border: 0; background: none; }

/* Apple Vision Pro: the table in a room, full width under the device shots. */
.spatial { margin: 40px 0 0; }
.spatial img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.spatial figcaption { margin-top: 14px; font-size: 15px; color: var(--secondary); text-align: center; }
.spatial figcaption b { display: block; color: var(--text); font-size: 17px; }

/* Voice: the spatial audio graphic on a felt stage. */
.intro.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.center { text-align: center; }
.stage { margin: 28px 0 22px; border-radius: 28px; padding: clamp(12px, 3vw, 36px) clamp(8px, 3vw, 36px) clamp(8px, 2vw, 20px);
  background: radial-gradient(120% 110% at 50% 10%, #1D5A3B, #123726 60%, #0C2619); box-shadow: 0 24px 60px rgba(8,30,20,.28); }
.stage img { display: block; width: 100%; max-width: 820px; height: auto; margin: 0 auto; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* iPhone Duo: a dark product stage. */
.duo { background: radial-gradient(90% 70% at 50% 0%, #26302B, #121614 70%); color: #F3EFE2; padding: clamp(56px, 9vw, 110px) 0; }
.duo .eyebrow { color: #BFF0D6; }
.duo h2 { color: #F3EFE2; }
.duo p { color: rgba(243,239,226,.78); }
.duo-hero { margin: 36px auto 8px; max-width: 880px; }
.duo-hero img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.duo-points { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.duo-points article { background: rgba(243,239,226,.06); border: 1px solid rgba(243,239,226,.12); border-radius: 20px; padding: 20px; }
.duo-points h3 { margin: 0; color: #F3EFE2; font-size: 19px; }
.duo-points p { margin: 6px 0 0; font-size: 16px; }
.duo-outer { display: grid; gap: 24px; align-items: center; margin-top: 44px; }
@media (min-width: 760px) { .duo-outer { grid-template-columns: 240px 1fr; } }
.duo-outer img { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
.duo-outer p { font-size: 18px; max-width: 520px; }
.duo-outer b { color: #F3EFE2; }
.duo-pair { display: grid; gap: 40px 56px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; align-items: end; }
.duo-pair figure { margin: 0; text-align: center; }
.duo-pair img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
.duo-pair figcaption { margin-top: 16px; font-size: 15px; color: rgba(243,239,226,.72); }
.duo-pair figcaption b { display: block; color: #F3EFE2; font-size: 17px; }
