/* Local product layout; studio.css is the shared Brian Rossen visual language.
   Device-frame technique (the iPhone 18 Pro simulator chrome, the inline screen mask)
   copied from Timeline by BSR's page, which solved it first -- same asset, same math. */
:root { scroll-behavior: smooth; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--accent); color: #111; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.product-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; padding-top: 36px; padding-bottom: 60px; }
.product-name { display: flex; gap: 14px; align-items: center; margin-bottom: 30px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; }
.product-name img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong); }
.product-name span { color: var(--muted); font-weight: 400; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); max-width: 14ch; }
.hero .lede { max-width: 43ch; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.small-note { color: var(--muted); font-family: var(--mono); font-size: .69rem; margin-top: 15px; }

.hero-preview { min-width: 0; text-align: center; padding-top: 24px; isolation: isolate; overflow: clip; }
.screen-halo { position: relative; display: grid; place-items: center; padding: 18px 32px; }
.screen-halo::before { content: ''; position: absolute; inset: 8% -10%; background: radial-gradient(ellipse, rgba(228,51,73,.15), transparent 68%); z-index: -1; }
/* Apple's iPhone 18 Pro simulator chrome: 456 x 928 body with a 1206 x 2622 display
   inset by the fractions below. */
.device { position: relative; width: 290px; aspect-ratio: 456 / 928; transform: rotate(2deg); filter: drop-shadow(0 24px 22px rgba(0,0,0,.65)); }
.device.device-tilt-left { transform: rotate(-2deg); }
.device-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-screen { position: absolute; left: 5.9210526%; top: 2.9094828%; width: 88.1578947%; height: 94.1810345%; --screen-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201206%202622%22%3E%3Cpath%20d%3D%22M%20952.015625%200%20C%20968.042969%200%20984.070312%200.046875%201000.101562%200.640625%20C%201018.460938%201.320312%201036.609375%202.714844%201054.730469%206.089844%20C%201091.304688%2012.90625%201124.570312%2027.703125%201151.433594%2054.566406%20C%201178.300781%2081.433594%201193.097656%20114.703125%201199.910156%20151.28125%20C%201203.285156%20169.386719%201204.679688%20187.527344%201205.359375%20205.875%20C%201205.949219%20221.75%201206%20237.621094%201206%20253.5%20L%201206%202368.5%20C%201206%202384.378906%201205.949219%202400.25%201205.359375%202416.125%20C%201204.679688%202434.472656%201203.285156%202452.613281%201199.910156%202470.71875%20C%201193.097656%202507.296875%201178.300781%202540.566406%201151.433594%202567.433594%20C%201124.570312%202594.296875%201091.304688%202609.09375%201054.730469%202615.910156%20C%201036.609375%202619.285156%201018.460938%202620.679688%201000.101562%202621.359375%20C%20984.070312%202621.953125%20968.042969%202622%20952.015625%202622%20L%20253.984375%202622%20C%20237.957031%202622%20221.929688%202621.953125%20205.898438%202621.359375%20C%20187.542969%202620.679688%20169.390625%202619.285156%20151.269531%202615.910156%20C%20114.695312%202609.09375%2081.429688%202594.296875%2054.566406%202567.433594%20C%2027.699219%202540.566406%2012.902344%202507.296875%206.089844%202470.71875%20C%202.714844%202452.613281%201.320312%202434.472656%200.640625%202416.125%20C%200.0507812%202400.25%200%202384.378906%200%202368.5%20L%200%20253.5%20C%200%20237.621094%200.0507812%20221.75%200.640625%20205.875%20C%201.320312%20187.527344%202.714844%20169.386719%206.089844%20151.28125%20C%2012.902344%20114.703125%2027.699219%2081.433594%2054.566406%2054.566406%20C%2081.429688%2027.703125%20114.695312%2012.90625%20151.269531%206.089844%20C%20169.390625%202.714844%20187.542969%201.320312%20205.898438%200.640625%20C%20221.929688%200.046875%20237.957031%200%20253.984375%200%20Z%20M%20952.015625%200%20%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask: var(--screen-mask) center / 100% 100% no-repeat; mask: var(--screen-mask) center / 100% 100% no-repeat; }
.dynamic-island { position: absolute; left: 50%; top: 4.0948276%; width: 18.4210526%; height: 3.0172414%; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 .5px #161616; }
.dynamic-island::after { content: ''; position: absolute; right: 10%; top: 28%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #14202b, #080b10 58%, #030303); }
.hero-preview figcaption, .spotlight-preview figcaption, .duo-figure figcaption { margin-top: 16px; font-family: var(--mono); font-size: .65rem; color: var(--muted); text-align: center; }

/* iPhone Duo unfolded, seen from the back, in Apple's Star White "Outer Open" Product Bezel with the real
   outer-display capture (AppStore/raw/duo-outer-open-framed.png, the same picture as the App Store shot). */
.duo-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.duo-mockup { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }

.format-strip { display: flex; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .86rem; }
.format-strip ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; font-family: var(--mono); font-size: .76rem; color: var(--text); align-items: center; }

/* Live-adjust spotlight: the running order, copy beside the phone. Same shape reused
   below for the Duo section -- an image-and-copy pair is the pattern, not a one-off. */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 65px 0; border-top: 1px solid var(--line); }
.spotlight-copy .eyebrow { font-size: .68rem; color: var(--accent); }
.spotlight-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin: 10px 0 18px; }
.spotlight-copy h2 span { color: var(--muted); }
.spotlight-copy p { color: var(--muted); font-size: .98rem; line-height: 1.7; max-width: 44ch; }
.spotlight-copy .spotlight-note { margin-top: 12px; font: .72rem var(--mono); color: var(--faint); }
.spotlight-preview { min-width: 0; text-align: center; isolation: isolate; overflow: clip; }

.workflow { scroll-margin-top: 84px; padding-top: 65px; border-top: 1px solid var(--line); }
.workflow .section-head { border-top: 0; padding-top: 0; }
.section-head .eyebrow { margin-bottom: 10px; font-size: .68rem; color: var(--accent); }
.section-head > p { font-size: .83rem; text-align: right; color: var(--muted); }
.section-head h2 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); line-height: 1.25; }
.workflow-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 34px; max-width: 640px; }
/* The demo video beside the three steps: the same flow, on the Duo's outer screen. */
.demo-video { margin: 0; }
.demo-video video { display: block; width: 100%; height: auto; }
.demo-video figcaption { margin-top: 12px; font-family: var(--mono); font-size: .65rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .workflow-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: none; align-items: center; gap: 48px; }
}
.steps { display: grid; gap: 28px; padding-top: 12px; }
.step { display: flex; gap: 19px; }
.step-number { font: .74rem var(--mono); color: var(--accent); padding-top: 5px; }
.step h3, .feature h3 { font-size: 1rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -.015em; }
.step p, .feature p { font-size: .91rem; color: var(--muted); line-height: 1.65; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 10px; }
.feature-symbol { display: inline-flex; align-items: center; height: 36px; font: 1.5rem var(--mono); color: var(--accent); margin-bottom: 13px; }

.questions { max-width: 780px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 19px 30px 19px 0; font-size: .94rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; color: var(--accent); font-family: var(--mono); }
details[open] summary::after { content: '\2212'; }
details p { padding: 0 32px 22px 0; font-size: .91rem; color: var(--muted); }
details a { color: var(--text); text-underline-offset: 3px; }

.closing { margin-top: 32px; padding: 30px; }
.maker { display: flex; align-items: center; gap: 22px; flex: 1 1 540px; }
.bsr-mark { position: relative; flex: 0 0 76px; height: 64px; overflow: hidden; }
.bsr-mark img { position: absolute; width: 120px; height: auto; max-width: none; left: -22px; top: -28px; filter: invert(1); opacity: .86; }
.closing .eyebrow { font-size: .65rem; margin-bottom: 10px; color: var(--accent); }
.closing h2 { font-size: 1.24rem; font-weight: 500; letter-spacing: -.025em; margin-bottom: 5px; }
.closing p { font-size: .85rem; }

@media (max-width: 900px) {
  .product-hero { gap: 20px; }
  .screen-halo { padding-inline: 18px; }
  .device { width: 268px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .format-strip { flex-direction: column; gap: 12px; }
  .spotlight { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
}
@media (max-width: 620px) {
  .product-hero { grid-template-columns: 1fr; padding-top: 25px; padding-bottom: 35px; gap: 24px; }
  .product-name { margin-bottom: 25px; }
  .hero h1 { max-width: 14ch; }
  .hero-preview { padding-top: 0; }
  .device { width: min(280px, 80vw); }
  .format-strip ul { gap: 13px 20px; }
  .workflow { padding-top: 40px; }
  .section-head > p { text-align: left; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px 22px; }
  .feature h3 { font-size: .94rem; }
  .feature p { font-size: .85rem; }
  .closing { padding: 24px; }
  .maker { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bsr-mark { flex-basis: 64px; width: 76px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
