/* Nod · by Nod Odd — Apple-style product page, dark mode */
:root {
  color-scheme: dark;
  --bg: #000000;
  --gray: #111113;
  --card: #1c1c1e;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --blue: #2997ff;
  --link: #2997ff;
  --hair: rgba(255, 255, 255, 0.16);
  --ruby: linear-gradient(90deg, #ff7b98 0%, #e03d5c 55%, #b01c3f 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* Sticky translucent nav */
.nav { position: sticky; top: 0; z-index: 50; height: 48px; background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.nav .in { max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav .name { display: flex; align-items: center; color: var(--ink); }
.nav .name:hover { text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0 22px 0 auto; padding: 0; }
.nav ul a { font-size: 12px; color: rgba(245, 245, 247, 0.8); letter-spacing: -0.01em; }
.nav ul a:hover { color: #fff; text-decoration: none; }
.nav .pill { font-size: 12px; background: var(--blue); color: #fff; padding: 4px 12px; border-radius: 980px; }
.nav .pill:hover { text-decoration: none; filter: brightness(1.1); }

/* Logo (the white wordmark, shown as a mask so it can be coloured) */
.logo { display: block; aspect-ratio: 1654 / 729; background: var(--ink);
  -webkit-mask: url(assets/nod-logo-white.png) center / contain no-repeat; mask: url(assets/nod-logo-white.png) center / contain no-repeat; }
.nav-logo { height: 24px; }
.nav-icon { width: 32px; height: 32px; border-radius: 8px; margin-right: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
.hero-logo { width: min(250px, 58vw); margin: 0 auto 6px;
  /* A soft light glides across the silver lettering. The gradient repeats seamlessly, so it loops forever. */
  background: linear-gradient(100deg, #7d7d83 0%, #c4c4c9 22%, #ffffff 38%, #c4c4c9 54%, #7d7d83 70%, #7d7d83 100%);
  background-size: 200% 100%; animation: nod-sheen 5.5s linear infinite; }
@keyframes nod-sheen { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation-duration: 16s; } }
.app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* Type */
.eyebrow { font-size: 21px; font-weight: 600; color: #ff8aa0; margin: 0 0 8px; letter-spacing: -0.015em; }
h1 { text-wrap: balance; font-size: clamp(36px, 7.2vw, 84px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.07; font-weight: 700; letter-spacing: -0.028em; margin: 0; }
h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.sub { font-size: clamp(19px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; color: var(--ink-2); margin: 16px auto 0; max-width: 24em; letter-spacing: -0.015em; }
.grad { background: var(--ruby); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

/* Buttons */
.cta { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.more { font-size: 21px; }
.more::after { content: " ›"; }
/* Stand-in for Apple's official "Download on the App Store" badge.
   Before launch, replace this with Apple's badge artwork (see assets/README.txt). */
.appstore { display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 12px; padding: 8px 22px 8px 16px; line-height: 1.05; }
.appstore:hover { text-decoration: none; background: #0b0b0b; border-color: #fff; }
.appstore svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.appstore small { display: block; font-size: 11px; letter-spacing: 0.01em; opacity: 0.95; }
.appstore strong { display: block; font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }

/* Explore button: a quiet outlined button that scrolls to the next section */
.explore { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.5); color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.explore:hover { text-decoration: none; background: rgba(255, 255, 255, 0.1); border-color: #fff; }
#overview { scroll-margin-top: 48px; }

/* Hero */
.hero { padding: 64px 0 0; text-align: center; background: var(--bg); }
.stage { margin: 60px auto 0; max-width: 1080px; padding: 0 24px; }
.shot { margin: 0; position: relative; overflow: hidden; border-radius: 28px; background: var(--card); }
.shot img { width: 100%; height: auto; }
.shot figcaption { display: none; }
.shot.missing { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; border: 2px dashed rgba(255, 255, 255, 0.22); }
.shot.missing img { display: none; }
.shot.missing figcaption { display: block; font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); padding: 16px; }
.shot.wide.missing { aspect-ratio: 21 / 9; }
.chip { position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, 0.92); color: #1d1d1f; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 980px; }

/* Sections */
section.band { padding: 120px 0 0; text-align: center; }
section.band.light { background: var(--bg); }
section.band.gray { background: var(--gray); padding-bottom: 120px; margin-top: 100px; }
section.band.dark { background: #000; padding-bottom: 120px; }
section.band .sub { color: var(--ink-2); }
.band .stage { margin-top: 56px; }

/* Bento cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 56px; text-align: left; }
.card { background: var(--card); border-radius: 28px; padding: 44px 40px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.card.dark { background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--hair); }
.card p { color: var(--ink-2); font-size: 21px; line-height: 1.2; font-weight: 600; margin: 12px 0 28px; letter-spacing: -0.015em; }
.card .shot { margin-top: auto; border-radius: 20px 20px 0 0; background: #2a2a2d; }
.card .shot.missing { aspect-ratio: 5 / 4; }
.gray .card { background: #1d1d1f; }

/* At a glance list */
.facts { margin: 56px auto 0; max-width: 780px; text-align: left; }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--hair); }
.facts div:last-child { border-bottom: 1px solid var(--hair); }
.facts dt { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.facts dd { margin: 0; font-size: 19px; line-height: 1.3; }

.closing { padding: 140px 0 120px; text-align: center; }
.closing p { font-size: 21px; color: var(--ink-2); margin: 16px 0 0; }

/* Footer */
footer.site { background: var(--gray); color: #86868b; font-size: 12px; line-height: 1.5; padding: 20px 0 30px; }
footer.site .in { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
footer.site hr { border: 0; border-top: 1px solid var(--hair); margin: 14px 0; }
footer.site a { color: #c7c7cc; }
footer.site .row { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }

/* Support & privacy pages */
.page { padding: 80px 0 40px; }
.page h1 { font-size: clamp(40px, 7vw, 64px); }
.page .lead { font-size: 24px; line-height: 1.25; color: var(--ink-2); font-weight: 500; margin: 18px 0 28px; }
.page h2 { font-size: 28px; letter-spacing: -0.02em; margin: 50px 0 10px; }
.page p, .page li { font-size: 17px; line-height: 1.6; color: #d2d2d7; }
.page ul { padding-left: 1.2em; }
.page .btn { display: inline-block; background: var(--blue); color: #fff; font-size: 17px; line-height: 1; padding: 13px 24px; border-radius: 980px; }
.page .btn:hover { text-decoration: none; filter: brightness(1.1); }
.updated { font-size: 14px; color: var(--ink-2); }
details { border-top: 1px solid var(--hair); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; font-size: 19px; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--ink-2); }

@media (max-width: 560px) {
  .sbr { display: none; }
  h1 br { display: none; }
  h1 { font-size: 38px; }
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 34px 26px 0; }
  .nav ul { gap: 16px; }
  .nav ul li.opt { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  section.band { padding-top: 84px; }
  section.band.gray, section.band.dark { padding-bottom: 84px; }
  .hero { padding-top: 48px; }
}


/* ---------- Split hero with the animated iPhone Duo ---------- */
.hero.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 72px; padding: 56px 64px 88px; text-align: left; }
.hero.split .copy { flex: 1 1 440px; max-width: 600px; }
.hero.split h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; }
.hero.split .sub { margin: 22px 0 0; max-width: none; font-size: clamp(18px, 1.8vw, 23px); }
.hero.split .cta { justify-content: flex-start; margin-top: 32px; }
@media (max-width: 860px) { .hero.split { gap: 40px; padding: 40px 24px 64px; } .hero.split .copy { text-align: center; } .hero.split .cta { justify-content: center; } }

.duo3d { position: relative; width: 460px; height: 640px; flex: none; }
.duo3d iframe { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border: 0; background: transparent; color-scheme: light; transform: rotate(90deg); pointer-events: none; }
@media (max-width: 520px) { .duo3d { transform: scale(.7); margin: -90px 0; } }

.hero-brand { display: flex; align-items: center; margin-bottom: 28px; }
.hero-brand .nav-icon { width: 84px; height: 84px; border-radius: 21px; margin-right: 0; }
.hero-brand .nav-logo { height: 30px; }
@media (max-width: 860px) { .hero-brand { justify-content: center; } }
.duo3d::after { content: ""; position: absolute; left: -92px; top: 0; width: 56px; height: 56px; border-radius: 50%; background: #000; pointer-events: none; }

.cta .explore { margin-left: 22px; font-size: 21px; font-weight: 500; color: var(--blue, #2997ff); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 6px; }
.cta .explore:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }
@media (max-width: 860px) { .cta .explore { margin-left: 16px; } }

.hero-brand .app-title { margin-left: 18px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink, #f5f5f7); }
@media (max-width: 860px) { .hero-brand .app-title { font-size: 22px; margin-left: 14px; } }
.cta a.explore { border: 0; background: none; box-shadow: none; padding: 0; border-radius: 0; font-size: 15px; font-weight: 500; margin-left: 20px; }

.duo3d .duo-poster { position: absolute; left: 50%; top: 50%; width: 400px; height: auto; transform: translate(-50%,-50%); border-radius: 30px; box-shadow: 0 0 0 5px #0a0a0b, 0 0 0 7px #3a3a3c, 0 30px 70px rgba(0,0,0,.6); transition: opacity .6s ease; }
.duo3d .duo-poster.gone { opacity: 0; pointer-events: none; }

/* ---------- Silver headline, and the mobile layout (glow + floating "Get" bar) ---------- */
.hero.split h1 { background: linear-gradient(135deg, #ffffff 0%, #9a9aa1 45%, #ffffff 70%, #8e8e93 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.duo3d { transform: translateY(var(--lift, 0px)) scale(var(--s, 1)); }
.floatbar { display: none; }
@media (max-width: 860px) {
  .nav ul { display: none; }
  .nav .pill { font-size: 12px; }
  .hero.split { position: relative; gap: 0; padding: 38px 22px 130px; text-align: center; flex-direction: column; flex-wrap: nowrap; }
  .hero.split .copy { position: relative; flex: none; max-width: none; }
  .hero-brand { display: none; }
  .hero.split .cta { display: flex; justify-content: center; align-items: center; margin-top: 22px; }
  .hero.split h1 { font-size: clamp(34px, 10.6vw, 50px); line-height: 1.03; letter-spacing: -0.04em; }
  .hero.split .sub { font-size: 17px; line-height: 1.3; font-weight: 500; margin: 16px auto 0; max-width: 21em; }
  .duo3d { --s: .62; margin: -96px -88px -108px; position: relative; }
  .floatbar { position: fixed; left: 12px; right: 12px; bottom: calc(4px + env(safe-area-inset-bottom, 0px)); z-index: 60; height: 64px; border-radius: 22px; background: rgba(58,58,64,.78); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 0 0 1px rgba(255,255,255,.1); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
  .floatbar img { width: 40px; height: 40px; border-radius: 10px; }
  .floatbar .fb-text { flex: 1; line-height: 1.15; display: flex; flex-direction: column; }
  .floatbar .fb-text strong { font-size: 14px; font-weight: 600; }
  .floatbar .fb-text span { font-size: 12px; color: #a1a1a6; }
  .floatbar .fb-get { font-size: 14px; font-weight: 600; background: #0071e3; color: #fff; padding: 8px 18px; border-radius: 980px; }
  footer.site { padding-bottom: 96px; }
}

.nb { white-space: nowrap; }

/* Silver shimmer on the hero line: a smooth, endless sweep. It is driven by the browser's own animation clock,
   so it runs at the screen's full refresh rate (120 Hz on ProMotion displays). */
.hero.split h1 {
  background: linear-gradient(100deg, #8e8e93 0%, #ffffff 18%, #9a9aa1 36%, #ffffff 54%, #8e8e93 72%, #ffffff 90%, #8e8e93 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: silverSweep 7s linear infinite;
}
@keyframes silverSweep { from { background-position: 0% 50%; } to { background-position: -300% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero.split h1 { animation: none; background-position: 40% 50%; } }
/* Hide the viewer's own title and playback bar (they sit at the top and bottom edge of the frame). */
.duo3d iframe { clip-path: inset(82px 0 82px 0); }

/* Line the hero up with the top nav: both share the same 1080px column, so the logo text and the copy start at the same left edge. */
@media (min-width: 861px) {
  .hero.split { justify-content: space-between; gap: 40px; padding-left: max(24px, calc((100vw - 1080px) / 2 + 24px)); padding-right: max(24px, calc((100vw - 1080px) / 2 + 24px)); }
  .hero.split .copy { flex: 1 1 340px; max-width: 560px; }
}

/* Keep the 3D frame invisible until it is playing, so the viewer's first-load hint (the sliding hand) is never seen. */
.duo3d iframe { opacity: 0; transition: opacity .5s ease; }
.duo3d iframe.live { opacity: 1; }

/* Safari flickers text that is clipped to an animated gradient when it is promoted to its own layer, so keep it on the normal paint path. */
.hero.split h1 { will-change: auto; transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; }
.dl-pill { display: none; }
@media (max-width: 860px) { .hero.split .cta .explore { display: none; } }
@media (max-width: 860px) { br.desk { display: none; } }

/* Mobile: centred NOD wordmark in the top bar, no Download pill (the bar at the bottom has "Get"). */
@media (max-width: 860px) {
  .nav .in { justify-content: center; }
  .nav .pill { display: none; }
  .nav ul { display: none; }
}

/* Mobile: bring the app icon and name back, centred above the headline. */
@media (max-width: 860px) {
  .hero-brand { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
  .hero-brand .nav-icon { width: 60px; height: 60px; border-radius: 15px; }
  .hero-brand .app-title { font-size: 19px; margin-left: 14px; white-space: nowrap; }
}
.duo3d .duo-poster { display: none !important; }

/* Mobile: no icon + name row above the headline for now. */
@media (max-width: 860px) { .hero-brand { display: none !important; } }

/* Hand-hint fix: make the 3D frame much taller than the phone and crop the viewer's hint strip (bottom) and title (top) away.
   The frame is rendered smaller (480 x 900) and scaled up, so it costs no more pixels than before. */
.duo3d iframe { width: 480px; height: 900px; margin: -450px 0 0 -240px; transform: rotate(90deg) scale(1.3333); clip-path: inset(75px 0 270px 0); }
.duo3d::after { display: none !important; }

/* Don't crop the whole bottom strip (it cut the lid off while it swings open). Hide only the small box where the viewer's hand hint sits,
   plus the viewer's title (top) and playback bar (bottom). */
.duo3d iframe { clip-path: inset(75px 0 270px 0); }

/* Sharper picture: draw the 3D frame at its real size (no stretching), same proportions as before so the framing is unchanged. */
.duo3d iframe { width: 640px; height: 1200px; margin: -600px 0 0 -320px; transform: rotate(90deg); clip-path: inset(100px 0 360px 0); }

/* Touch shield: a plain transparent layer over the 3D frame, so swiping over the phone scrolls the page instead of being swallowed by the embedded viewer. */
.duo3d .duo-shield { position: absolute; inset: -40px -120px; z-index: 5; background: transparent; touch-action: pan-y pinch-zoom; -webkit-touch-callout: none; }
.duo3d iframe { touch-action: none; pointer-events: none; }

/* Diamond sparkle, closer to the app: a tiny hot core with thin anamorphic rays and a faint prismatic fringe, flashing quickly then fading.
   Drawn over the gem while the box is open. */
.duo3d .sparkles { position: absolute; left: 48.3%; top: 59.6%; width: 0; height: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .6s ease; mix-blend-mode: screen; }
.duo3d .sparkles.on { opacity: 1; }
.duo3d .sp { position: absolute; display: block; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; transform: scale(.2);
  background:
    radial-gradient(circle, #fff 0, #fff 1.6px, rgba(255,255,255,.85) 2.6px, rgba(255,255,255,.25) 7px, rgba(255,255,255,0) 14px),
    linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 100%) center / 100% 1.4px no-repeat,
    linear-gradient(0deg, rgba(255,255,255,0) 0, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 100%) center / 1.4px 100% no-repeat;
  animation: flare 2.6s cubic-bezier(.2,.7,.2,1) infinite; }
.duo3d .sp svg { display: none; }
.duo3d .sp::before { content: ""; position: absolute; inset: 14%; transform: rotate(45deg); opacity: .55;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 0, var(--tint, #bfe4ff) 50%, rgba(255,255,255,0) 100%) center / 100% 1px no-repeat,
    linear-gradient(0deg, rgba(255,255,255,0) 0, var(--tint, #bfe4ff) 50%, rgba(255,255,255,0) 100%) center / 1px 100% no-repeat; }
.duo3d .sp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; opacity: .5; filter: blur(2.5px);
  background: radial-gradient(circle, var(--tint, #bfe4ff), rgba(255,255,255,0) 70%); transform: translate(5px, -3px); }
.duo3d .s1 { left: -2px; top: -10px; width: 92px; height: 92px; margin: -46px 0 0 -46px; animation-duration: 3.2s; animation-delay: 0s; --tint: #ffd9f0; }
.duo3d .s2 { left: -14px; top: 4px; width: 40px; height: 40px; margin: -20px 0 0 -20px; animation-duration: 2.1s; animation-delay: .7s; --tint: #ffb3e6; }
.duo3d .s3 { left: 15px; top: -4px; width: 44px; height: 44px; margin: -22px 0 0 -22px; animation-duration: 2.7s; animation-delay: 1.5s; --tint: #9fe9ff; }
.duo3d .s4 { left: 5px; top: 10px; width: 30px; height: 30px; margin: -15px 0 0 -15px; animation-duration: 1.9s; animation-delay: 1.1s; --tint: #c6ff9e; }
.duo3d .s5 { left: -7px; top: -17px; width: 26px; height: 26px; margin: -13px 0 0 -13px; animation-duration: 2.4s; animation-delay: 2s; --tint: #fff0a8; }
.duo3d .s6 { left: 18px; top: 8px; width: 24px; height: 24px; margin: -12px 0 0 -12px; animation-duration: 2.2s; animation-delay: .35s; --tint: #b9a8ff; }
.duo3d .s7 { left: -18px; top: -9px; width: 22px; height: 22px; margin: -11px 0 0 -11px; animation-duration: 2.9s; animation-delay: 2.4s; --tint: #ffffff; }
@keyframes flare { 0%, 100% { opacity: 0; transform: scale(.15) rotate(0deg); } 7% { opacity: 1; transform: scale(1) rotate(6deg); } 16% { opacity: .75; transform: scale(.78) rotate(10deg); } 38% { opacity: .22; transform: scale(.5) rotate(16deg); } 62% { opacity: 0; transform: scale(.3) rotate(20deg); } }
@media (prefers-reduced-motion: reduce) { .duo3d .sp { animation: none; opacity: .7; transform: scale(.6); } }


/* ---------- 2 x 2 feature tiles, Liquid Glass on black ---------- */
.tiles-band { background: #000; padding: 24px 0 96px; }
.tiles { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.glass { position: relative; border-radius: 34px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 55%, rgba(255,255,255,.09)); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.14), inset 1px 0 0 rgba(255,255,255,.2), inset -1px 0 0 rgba(255,255,255,.1), inset 0 0 36px rgba(255,255,255,.06), 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.16); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; background: radial-gradient(120% 55% at 12% -8%, rgba(255,255,255,.38), rgba(255,255,255,0) 55%), radial-gradient(80% 40% at 95% 105%, rgba(255,255,255,.14), rgba(255,255,255,0) 60%); mix-blend-mode: screen; }
.tile { display: flex; flex-direction: column; min-height: 560px; }
.tile-copy { position: relative; z-index: 1; padding: 32px 32px 0; }
.tile h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; color: #f5f5f7; }
.tile p { margin: 10px 0 0; max-width: 24em; font-size: 17px; line-height: 1.3; font-weight: 500; color: rgba(245,245,247,.72); letter-spacing: -.01em; }
.tile-art { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 26px 24px 30px; }
/* lid (tile 1) */
.art-lid { flex-direction: column; justify-content: flex-end; }
.art-lid .lid { display: block; width: 100%; aspect-ratio: 2034 / 1398; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.25); filter: hue-rotate(188deg) saturate(.5) brightness(2.35) contrast(.8); }
.art-lid .chips { display: flex; gap: 9px; padding: 9px 12px; margin-top: -48px; margin-bottom: 18px; align-self: flex-start; margin-left: 14px; position: relative; border-radius: 980px; background: rgba(0,0,0,.34); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.art-lid .chips i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.art-lid .chips i.tiff { background: #7fd6cf; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(255,255,255,.5); }
.art-lid .chips i.chr { background: linear-gradient(135deg, #f4f4f6, #7b7c83); }
/* iPhone Duo, front view (tiles 2 and 3): the whole open screen, true proportions, never stretched */
.art-device { align-items: center; }
.device { position: relative; height: 400px; aspect-ratio: 2007 / 2853; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #3b3b3f, #0c0c0e 40%, #2a2a2e); box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 28px 60px rgba(0,0,0,.6), inset 0 0 0 2px rgba(0,0,0,.6); box-sizing: content-box; }
.device img { display: block; height: 100%; width: auto; aspect-ratio: 2007 / 2853; border-radius: 26px; object-fit: fill; }
.device::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: rgba(0,0,0,.55); box-shadow: 0 1px 0 rgba(255,255,255,.08); pointer-events: none; }
/* capture videos with a Capture Her / Capture Both switch (tile 4) */
.art-video { flex-direction: column; gap: 18px; }
.vstage { position: relative; width: 100%; height: 330px; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.2); }
.vstage .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; transition: opacity .35s ease; }
.vstage .vid.on { opacity: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 980px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(255,255,255,.16); }
.seg button { appearance: none; border: 0; background: transparent; color: rgba(245,245,247,.75); font: 600 14px/1 -apple-system, 'SF Pro Text', Arial, sans-serif; padding: 10px 20px; border-radius: 980px; cursor: pointer; transition: background .25s ease, color .25s ease; }
.seg button.on { background: rgba(255,255,255,.92); color: #111; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } .tile-copy { padding: 28px 26px 0; } .device { height: 360px; } .vstage { height: 250px; } }

/* The closing line shimmers in silver, the same as the hero line. */
.silver { background: linear-gradient(100deg, #8e8e93 0%, #ffffff 18%, #9a9aa1 36%, #ffffff 54%, #8e8e93 72%, #ffffff 90%, #8e8e93 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: silverSweep 7s linear infinite; padding-bottom: .06em; }
@media (prefers-reduced-motion: reduce) { .silver { animation: none; background-position: 40% 50%; } }

/* While loading, the frame is all but invisible (not fully: Safari can stop drawing a fully hidden frame, which leaves a stale picture). */
.duo3d iframe { opacity: .001; }
.duo3d iframe.live { opacity: 1; }
.duo3d .nod-still { display: none; position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%,-50%); border-radius: 28px; }
.duo3d.nod-fallback .nod-still { display: block; }

/* The four boxes, option V3: polished chrome edges and silver titles. */
.tiles.v3 .tile.glass { border: 2px solid transparent; border-radius: 36px; background: linear-gradient(#0b0b0c, #0b0b0c) padding-box, linear-gradient(135deg, #ffffff, #4a4a50 28%, #d8d8de 52%, #3a3a40 76%, #f0f0f4) border-box; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tiles.v3 .tile.glass::before { display: none; }
.tiles.v3 .eyebrow { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #86868b; }
.tiles.v3 .tile-copy h3 { background: linear-gradient(135deg, #ffffff, #9a9aa1 45%, #ffffff 70%, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.tiles.v3 .art-lid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.tiles.v3 .art-lid .device { height: 360px; }
.tiles.v3 .art-lid .chips { position: static; transform: none; margin: 0; }
.tiles.v3 .tile-copy { text-align: center; }
.tiles.v3 .tile-copy p { margin-left: auto; margin-right: auto; }
.tiles.v3 .art-lid .chips { align-self: center; }
.tiles.v3 .art-lid .chips i.tiff { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.tiles.v3 .art-lid .chips i.sel { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(255,255,255,.5); }
/* The closed iPhone Duo, outer screen facing out (a still). */
.tiles.v3 .device.outer { width: 100%; max-width: 440px; height: auto; aspect-ratio: auto; border-radius: 30px; padding: 8px; box-sizing: border-box; }
.tiles.v3 .device.outer img { width: 100%; height: auto; aspect-ratio: 2034 / 1398; border-radius: 23px; }
.tiles.v3 .device.outer::after { display: none; }
/* Reaction videos: each shown whole, in its own shape, with only the corners rounded (no black frame). */
.tiles.v3 .vstage { display: grid; height: auto; align-items: center; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.tiles.v3 .vstage .vid { grid-area: 1 / 1; position: static; inset: auto; width: 100%; height: auto; object-fit: fill; background: transparent; border-radius: 22px; }
.tiles.v3 .vstage #vidHer { aspect-ratio: 1024 / 768; }
.tiles.v3 .vstage #vidBoth { aspect-ratio: 1344 / 768; }

/* Option W2: brushed titanium cards with black type. (Builds on the v3 layout above.) */
.tiles.v3.w2 .tile.glass { border: 0; border-radius: 36px; background: linear-gradient(145deg, #f4f4f6, #c7c8cd 42%, #e9eaee 62%, #b6b7bd); box-shadow: inset 0 1px 0 #fff; }
.tiles.v3.w2 .tile-copy h3 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #111114; -webkit-text-fill-color: #111114; }
.tiles.v3.w2 .tile-copy p, .tiles.v3.w2 .eyebrow { color: #4a4a50; }
.tiles.v3.w2 .device { box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 24px 44px rgba(0,0,0,.32); }
.tiles.v3.w2 .art-lid .chips { background: rgba(0,0,0,.72); }
.tiles.v3.w2 .vstage .vid { box-shadow: 0 18px 36px rgba(0,0,0,.24); }
.tiles.v3.w2 .seg { background: rgba(0,0,0,.1); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tiles.v3.w2 .seg button { color: #3a3a40; }
.tiles.v3.w2 .seg button.on { background: #111114; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
/* Box text: smaller eyebrow and subtext, bigger and bolder title. */
.tiles.v3.w2 .eyebrow { font-size: 11px; margin-bottom: 7px; }
.tiles.v3.w2 .tile-copy h3 { font-size: clamp(29px, 3.1vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.tiles.v3.w2 .tile-copy p { font-size: 15px; margin-top: 8px; }
/* Phrases that always start on their own line. */
.tiles.v3.w2 .tile-copy p { max-width: 30em; }
.tiles.v3.w2 .tile-copy .own { display: block; }
.tiles.v3.w2 .tile-copy p, .tiles.v3.w2 .tile-copy .own { text-wrap: balance; }
