:root {
    --night: #17352d;
    --mist: #f0f5e9;
    --teal: #386f50;
    --coral: #c93d34;
    --aqua: #83cdbd;
    --chartreuse: #a8d65b;
    --graphite: #1e3226;
    --muted: #587154;
    --hero-blue: #245244;
    --line: rgba(30, 50, 38, 0.2);
    --serif: Clarendon, Rockwell, Georgia, serif;
    --sans: "Franklin Gothic Medium", Arial, sans-serif;
    --mono: "Courier New", Courier, monospace;
    --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--graphite); background: var(--mist); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1, h2 { line-height: 0.98; font-weight: 600; }
h2 { max-width: 860px; margin-bottom: 24px; font-size: clamp(2.3rem, 3.6vw, 3.25rem); }
h3 { margin-bottom: 10px; font-size: 1.45rem; line-height: 1.1; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; color: var(--night); background: var(--chartreuse); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; z-index: 100; top: 0; left: 0; display: grid; width: 100%; min-height: 72px; padding: 10px clamp(20px, 4vw, 60px); grid-template-columns: 1fr auto 1fr; align-items: center; color: white; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, 0.22); transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
.site-header.is-scrolled { color: var(--graphite); background: rgba(237, 244, 243, 0.95); border-color: var(--line); backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; text-decoration: none; }
.wordmark img { width: 40px; height: 40px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); font-size: 0.74rem; font-weight: 800; text-transform: uppercase; }
.site-nav a, .header-download, .site-footer a { text-decoration: none; }
.site-nav a { border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { border-color: currentColor; }
.header-download { justify-self: end; padding: 10px 16px; color: white; background: var(--coral); border: 1px solid var(--coral); border-radius: 4px; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; justify-self: end; border: 0; background: transparent; }
.menu-button span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; display: grid; min-height: min(58svh, 620px); padding: 100px clamp(24px, 7vw, 110px) 58px; align-items: center; overflow: hidden; color: white; background: var(--night); }
.hero::after { position: absolute; z-index: 0; inset: 0; background-image: linear-gradient(90deg, var(--night) 0%, var(--night) 34%, var(--hero-blue) 56%, rgba(36, 59, 89, 0.22) 100%), url("assets/screenshots/Mac/01-game-1600.webp"); background-position: center, right center; background-repeat: no-repeat; background-size: cover, cover; content: ""; }
.hero-scrim { display: none; }
.hero-content { position: relative; z-index: 1; width: min(510px, 100%); min-width: 0; }
.hero-icon { width: 72px; height: 72px; margin-bottom: 16px; border-radius: 15px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.kicker, .eyebrow { margin-bottom: 16px; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.kicker { color: var(--chartreuse); }
.eyebrow { color: var(--teal); }
.band-night .eyebrow, .band-teal .eyebrow, .closing .eyebrow { color: var(--chartreuse); }
.hero h1 { margin-bottom: 12px; font-size: clamp(4rem, 6.6vw, 5rem); }
.hero-lede { max-width: 510px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.28; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.hero-note { max-width: 420px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.store-link { display: inline-block; width: 202px; }
.store-link img { width: 100%; }
.hero-next { position: absolute; z-index: 1; right: clamp(24px, 5vw, 72px); bottom: 36px; padding-bottom: 6px; border-bottom: 2px solid var(--aqua); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }

.band { padding: clamp(78px, 10vw, 140px) clamp(22px, 5vw, 72px); }
.section-inner { width: min(var(--max-width), 100%); margin: 0 auto; }
.readiness { padding-bottom: 0; }
.readiness-grid { display: grid; gap: clamp(44px, 8vw, 120px); grid-template-columns: 1fr 0.9fr; align-items: end; }
.lead-copy { max-width: 620px; margin-bottom: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.32; }
.facts-grid { display: grid; margin: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
.facts-grid div { min-height: 120px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid div:nth-child(2n) { border-right: 0; }
.facts-grid div:last-child:nth-child(odd) { border-right: 0; grid-column: 1 / -1; }
.facts-grid dt { margin-bottom: 10px; color: var(--teal); font-family: var(--mono); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.facts-grid dd { margin: 0; font-size: 0.93rem; line-height: 1.4; }
.start-steps { display: grid; margin-top: clamp(64px, 8vw, 110px); padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; grid-template-columns: repeat(3, 1fr); }
.start-steps li { display: grid; min-height: 126px; padding: 24px clamp(18px, 3vw, 38px); border-right: 1px solid var(--line); gap: 14px; grid-template-columns: 30px 1fr; }
.start-steps li:last-child { border-right: 0; }
.start-steps span, .annotation-row span { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; }
.start-steps span { color: var(--teal); }
.annotation-row span { color: var(--coral); }
.start-steps p { margin: 0; line-height: 1.4; }

.band-night { color: white; background: var(--night); }
.mapping { padding-top: clamp(72px, 7vw, 96px); padding-bottom: clamp(72px, 7vw, 96px); }
.feature-heading { display: grid; margin-bottom: 0; gap: 32px 80px; grid-template-columns: 1fr 0.65fr; align-items: start; }
.feature-heading h2 { margin-bottom: 0; }
.feature-copy { min-width: 0; }
.feature-summary { margin: 0; color: rgba(255,255,255,0.76); }
.feature-media-wrap { width: min(460px, 100%); margin: 26px 0 0; padding: 10px; background: var(--teal); }
.feature-video-preview { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 16 / 10; background: #060a0a; border: 0; cursor: pointer; }
.feature-video-preview[hidden] { display: none; }
.feature-video-preview picture { display: block; width: 100%; height: 100%; }
.feature-video-preview img { width: 100%; height: 100%; object-fit: cover; }
.feature-video-play { position: absolute; top: 50%; left: 50%; display: grid; width: 68px; height: 68px; padding-left: 4px; color: white; background: var(--coral); border: 2px solid rgba(255,255,255,0.82); border-radius: 50%; font-size: 1.35rem; place-items: center; transform: translate(-50%, -50%); transition: color 160ms ease, transform 160ms ease, background 160ms ease; }
.feature-video-player { position: relative; aspect-ratio: 16 / 10; background: #060a0a; }
.feature-video-player video { width: 100%; height: 100%; object-fit: contain; }
.feature-video-reset { position: absolute; z-index: 1; top: 8px; right: 8px; min-width: 44px; min-height: 44px; padding: 8px 10px; color: white; background: rgba(6, 10, 10, 0.84); border: 1px solid rgba(255,255,255,0.7); border-radius: 3px; font-family: var(--mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.video-meta { display: flex; margin: 10px 0 0; color: rgba(255,255,255,0.62); font-family: var(--mono); font-size: 0.68rem; font-weight: 700; flex-wrap: wrap; text-transform: uppercase; }
.video-meta span + span::before { margin: 0 8px; content: "/"; }
.annotation-row { display: grid; margin-top: 48px; border-top: 1px solid rgba(237,244,243,0.24); border-bottom: 1px solid rgba(237,244,243,0.24); grid-template-columns: repeat(4, 1fr); }
.annotation-row article { padding: 30px clamp(18px, 3vw, 42px); border-right: 1px solid rgba(237,244,243,0.24); }
.annotation-row article:last-child { border-right: 0; }
.annotation-row p { margin-bottom: 0; color: rgba(255,255,255,0.72); }

.devices-intro { display: grid; margin-bottom: clamp(40px, 5vw, 62px); gap: 24px 80px; grid-template-columns: 1fr 0.65fr; align-items: end; }
.devices-intro h2 { margin-bottom: 0; }
.devices-intro > p:last-child { margin: 0; color: rgba(255,255,255,0.8); }
/* The slide carries its own ground, so it fills the stage edge to edge. */
.device-stage { margin-bottom: clamp(34px, 4vw, 54px); overflow: hidden; border-radius: 8px; }
.device-stage picture { display: block; }
.device-stage img { width: 100%; height: auto; }
.device-grid { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.device-card { min-width: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.3); }
.device-card h3 { margin-bottom: 4px; }
.device-card p { margin-bottom: 0; color: rgba(255,255,255,0.82); font-size: 0.98rem; }
.device-role { margin-bottom: 12px; color: var(--chartreuse) !important; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }

.sync-grid, .stories-grid { display: grid; gap: clamp(40px, 7vw, 110px); grid-template-columns: 1fr 1fr; align-items: start; }
.sync-list, .stories-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.3); list-style: none; }
.sync-list li, .stories-list li { position: relative; padding: 12px 0 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.22); }
.sync-list li::before, .stories-list li::before { position: absolute; top: 21px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); content: ""; }
.sync-list strong { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.sync-note, .stories-note { margin: 22px 0 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; }

.stories-intro { display: grid; margin-bottom: clamp(40px, 5vw, 62px); gap: 24px 80px; grid-template-columns: 1fr 0.9fr; align-items: end; }
.stories-intro h2 { margin-bottom: 0; }
.stories-intro > p:last-child { margin: 0; color: rgba(255,255,255,0.8); }
.stories h3 { color: var(--chartreuse); }
.stories a { color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.stories-grid > div > p { color: rgba(255,255,255,0.86); }
.stories-list li { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.stories-list strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.stories-list span { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.stories-more { margin: 16px 0 0; color: rgba(255,255,255,0.72); font-family: var(--mono); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }
.stories-testing { margin-top: clamp(44px, 5vw, 68px); padding-top: clamp(30px, 3vw, 40px); border-top: 1px solid rgba(255,255,255,0.3); }
.stories-testing .eyebrow { margin-bottom: 12px; }
.stories-testing p:last-child { max-width: 900px; margin: 0; color: rgba(255,255,255,0.86); }

.workspace-intro { display: grid; margin-bottom: clamp(40px, 5vw, 62px); gap: 30px 80px; grid-template-columns: 1fr 0.65fr; align-items: end; }
.workspace-intro h2 { margin-bottom: 0; }
.workspace-intro > p:last-child { margin: 0; color: var(--muted); }
.feature-columns { display: grid; margin-bottom: clamp(48px, 6vw, 76px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-columns section { padding: 24px clamp(18px, 2.4vw, 34px) 30px; border-right: 1px solid var(--line); }
.feature-columns section:first-child { padding-left: 0; }
.feature-columns section:last-child { border-right: 0; }
.feature-columns h3 { color: var(--teal); }
.feature-columns ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature-columns li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--line); }
.feature-columns li::before { position: absolute; top: 19px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); content: ""; }

.gallery-groups { display: grid; width: min(var(--max-width), 100%); margin: 0 auto; gap: clamp(34px, 4vw, 52px); }
.gallery-group-title { margin-bottom: 16px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.gallery-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid-iphone { width: min(860px, 100%); }
.gallery-item { min-width: 0; padding: 0; overflow: hidden; color: var(--graphite); background: var(--mist); border: 1px solid var(--line); border-radius: 6px; cursor: zoom-in; text-align: left; }
.gallery-item picture { display: block; overflow: hidden; background: var(--night); }
.gallery-grid-wide .gallery-item picture { aspect-ratio: 16 / 10; }
.gallery-grid-ipad .gallery-item picture { aspect-ratio: 3 / 4; }
.gallery-grid-iphone .gallery-item picture { aspect-ratio: 1320 / 2868; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item span { display: block; padding: 13px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.icon-button, .dialog-close, .dialog-arrow { display: grid; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; place-items: center; background: transparent; cursor: pointer; }

.band-teal { color: white; background: var(--teal); }
.compatibility-grid { display: grid; gap: clamp(44px, 8vw, 110px); grid-template-columns: 0.8fr 1.2fr; }
.compatibility-note { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.capability-columns { display: grid; border-top: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid rgba(255,255,255,0.3); grid-template-columns: repeat(2, 1fr); }
.capability-columns section { padding: 24px clamp(20px, 3vw, 40px) 30px; border-right: 1px solid rgba(255,255,255,0.3); }
.capability-columns section:last-child { border-right: 0; }
.capability-columns h3 { color: var(--chartreuse); }
.capability-columns ul, .support-note ul { margin: 18px 0 0; padding: 0; list-style: none; }
.capability-columns li, .support-note li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid rgba(255,255,255,0.22); }
.capability-columns li::before, .support-note li::before { position: absolute; top: 19px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); content: ""; }

.reviews-intro { display: grid; margin-bottom: clamp(40px, 5vw, 62px); gap: 24px 80px; grid-template-columns: 1fr 0.65fr; align-items: end; }
.reviews-intro h2 { margin-bottom: 0; }
.reviews-intro > p:last-child { margin: 0; color: rgba(255,255,255,0.8); }
.reviews-grid { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-card { min-width: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.3); }
.review-stars { margin-bottom: 10px; color: var(--chartreuse); font-size: 0.9rem; letter-spacing: 4px; line-height: 1; }
.review-card h3 { margin-bottom: 14px; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; color: rgba(255,255,255,0.88); font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; }
.reviews-more { margin: clamp(34px, 4vw, 48px) auto 0; }
.reviews-more a { color: var(--aqua); font-family: var(--mono); font-size: 0.76rem; font-weight: 700; text-decoration-thickness: 2px; text-transform: uppercase; text-underline-offset: 4px; }
.support-layout { display: grid; gap: clamp(50px, 10vw, 150px); grid-template-columns: 1fr 0.8fr; }
.support h2 { font-size: clamp(2.7rem, 4.2vw, 3.75rem); }
.support a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.support-note { padding: 26px 0; align-self: end; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.support-note li { border-color: var(--line); }
.support-note li::before { background: var(--coral); }
/* Not inside a .band, so the wrapper supplies the band's side padding and the
   .section-inner inside it centres exactly as it does in every other section. */
.future-band { padding: 0 clamp(22px, 5vw, 72px); }
.future { margin: 0 auto 80px; color: var(--muted); }
.future summary { width: fit-content; padding: 8px 0; color: var(--graphite); border-bottom: 2px solid var(--aqua); cursor: pointer; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.future p { max-width: 600px; margin: 20px 0 0; }
.closing { display: grid; min-height: 520px; padding: 90px 24px; place-items: center; align-content: center; color: white; background: var(--night); text-align: center; }
.closing > img { margin-bottom: 18px; border-radius: 18px; }
.closing h2 { margin-bottom: 32px; }
.site-footer { display: grid; min-height: 92px; padding: 22px clamp(22px, 5vw, 72px); grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--mist); }
.site-footer .wordmark img { width: 32px; height: 32px; border-radius: 6px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.site-footer nav { display: flex; justify-self: end; gap: 24px; font-size: 0.82rem; font-weight: 700; }
.privacy-page { padding-top: 72px; }
.about-page { padding-top: 72px; }
.about-intro { min-height: calc(100svh - 164px); }
.about-layout { display: grid; gap: clamp(44px, 9vw, 132px); grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.about-heading { position: sticky; top: 132px; }
.about-layout h1 { max-width: 620px; margin-bottom: 0; font-size: 4.8rem; }
.about-copy { max-width: 680px; }
.about-section { padding: 0 0 30px; }
.about-section + .about-section { padding-top: 30px; border-top: 1px solid var(--line); }
.about-section:last-child { padding-bottom: 0; }
.about-section h2 { margin-bottom: 16px; font-size: 1.65rem; line-height: 1.15; }
.about-section p { margin-bottom: 16px; color: var(--muted); font-size: 1.04rem; }
.about-section p:last-of-type { margin-bottom: 0; }
.about-support .bmac-button { margin-top: 18px; }
.about-copy .bmac-button { display: inline-flex; width: fit-content; max-width: 100%; min-height: 44px; padding: 10px 14px; align-items: center; gap: 8px; color: var(--mist); background: var(--teal); border: 1px solid var(--teal); border-radius: 4px; font-size: 0.84rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.bmac-button .coffee-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.about-copy a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.privacy-copy { max-width: 900px; }
.privacy-copy h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3.4rem, 6vw, 5rem); }
.privacy-copy a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.policy-grid { display: grid; border-top: 1px solid rgba(255,255,255,0.24); grid-template-columns: repeat(3, 1fr); }
.policy-grid article { padding: 28px; border-right: 1px solid rgba(255,255,255,0.24); border-bottom: 1px solid rgba(255,255,255,0.24); }
.policy-grid article:nth-child(3n) { border-right: 0; }
.policy-grid h2 { margin-bottom: 14px; font-size: 1.7rem; }
.policy-grid p { margin-bottom: 0; color: rgba(255,255,255,0.75); }
.policy-grid ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,0.75); }
.policy-grid li + li { margin-top: 8px; }
.policy-grid .policy-label { margin-bottom: 10px; color: var(--chartreuse); font-family: var(--mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.policy-date { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }
.privacy-copy .policy-date { margin-bottom: 24px; }
.policy-contact { margin: 36px 0 0; color: rgba(255,255,255,0.75); }
.policy-contact a { color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.style-picker { position: fixed; z-index: 200; right: 22px; bottom: 22px; color: white; font-family: var(--sans); }
.style-picker summary { width: fit-content; margin-left: auto; padding: 12px 16px; color: var(--mist); background: var(--night); border: 1px solid color-mix(in srgb, var(--mist) 32%, transparent); border-radius: 4px; cursor: pointer; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; list-style: none; text-transform: uppercase; box-shadow: 0 10px 26px rgba(0,0,0,0.25); }
.style-picker summary::-webkit-details-marker { display: none; }
.style-picker summary::before { margin-right: 8px; color: var(--chartreuse); content: "◆"; }
.style-picker-panel { width: min(360px, calc(100vw - 44px)); margin-bottom: 10px; padding: 16px; color: var(--mist); background: var(--night); border: 1px solid color-mix(in srgb, var(--mist) 28%, transparent); box-shadow: 0 12px 34px rgba(0,0,0,0.35); }
.style-picker-panel > p { margin: 0 0 12px; color: color-mix(in srgb, var(--mist) 68%, transparent); font-family: var(--mono); font-size: 0.67rem; font-weight: 700; text-transform: uppercase; }
.style-picker-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.style-option { min-height: 46px; padding: 8px 9px; color: var(--option-paper); background: var(--option-night); border: 1px solid color-mix(in srgb, var(--option-paper) 24%, transparent); border-radius: 2px; cursor: pointer; font-size: 0.7rem; font-weight: 700; line-height: 1.15; text-align: left; }
.style-option[aria-pressed="true"] { color: var(--option-night); background: var(--option-signal); border-color: var(--option-signal); }
.style-option__swatch { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--option-accent); }

.gallery-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 60px 80px 40px; color: white; background: rgba(8, 13, 14, 0.98); border: 0; }
.gallery-dialog[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 24px; }
.gallery-dialog figure { display: grid; min-width: 0; max-height: calc(100vh - 100px); margin: 0; gap: 14px; }
.gallery-dialog figure img { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.gallery-dialog figcaption { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }
.dialog-close { position: absolute; top: 20px; right: 24px; border-color: rgba(255,255,255,0.6); font-size: 1.5rem; }
.dialog-arrow { border-color: rgba(255,255,255,0.6); }

button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--chartreuse); outline-offset: 4px; }
@media (hover: hover) { .header-download:hover, .icon-button:hover, .dialog-arrow:hover, .dialog-close:hover, .feature-video-reset:hover { color: var(--night); background: var(--chartreuse); border-color: var(--chartreuse); } .bmac-button:hover { color: var(--mist); background: var(--night); border-color: var(--night); } .feature-video-preview:hover .feature-video-play { color: var(--night); background: var(--aqua); transform: translate(-50%, -50%) scale(1.08); } .gallery-item:hover img { transform: scale(1.015); } .gallery-item img { transition: transform 220ms ease; } }
@media (max-width: 1023px) { .site-header { grid-template-columns: 1fr auto; } .menu-button { display: block; } .header-download { display: none; } .site-nav { position: fixed; top: 64px; right: 0; left: 0; display: grid; padding: 18px 22px 28px; gap: 0; color: var(--graphite); background: var(--mist); border-bottom: 1px solid var(--line); } .site-nav[hidden] { display: none; } .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); } .readiness-grid, .feature-heading, .workspace-intro, .devices-intro, .sync-grid, .stories-intro, .stories-grid, .compatibility-grid, .reviews-intro, .support-layout, .about-layout { grid-template-columns: 1fr; } .feature-copy, .workspace-intro > p:last-child, .devices-intro > p:last-child, .stories-intro > p:last-child, .reviews-intro > p:last-child { max-width: 650px; } .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-grid-iphone { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { body { font-size: 16px; } .site-header { min-height: 64px; padding: 8px 16px; } .site-nav { top: 64px; } .wordmark img { width: 36px; height: 36px; } .hero { min-height: 610px; padding: 86px 22px 46px; align-items: center; } .hero::after { display: none; } .hero-icon { width: 64px; height: 64px; border-radius: 14px; } .hero h1 { font-size: clamp(3.6rem, 18vw, 4.5rem); } .hero-lede { max-width: min(100%, 320px); font-size: 1.1rem; } .hero-next { display: none; } .store-link { width: 184px; } .band { padding: 76px 20px; } h2 { font-size: 2.5rem; } .facts-grid, .start-steps, .annotation-row, .capability-columns { grid-template-columns: 1fr; } .facts-grid div, .start-steps li, .annotation-row article, .capability-columns section { border-right: 0; } .facts-grid div:nth-child(odd) { border-right: 0; } .facts-grid div { min-height: 0; } .start-steps li { min-height: 0; border-bottom: 1px solid var(--line); } .start-steps li:last-child { border-bottom: 0; } .annotation-row article, .capability-columns section { border-bottom: 1px solid rgba(255,255,255,0.24); } .annotation-row article:last-child, .capability-columns section:last-child { border-bottom: 0; } .gallery-grid, .gallery-grid-iphone { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-item span { padding: 10px 11px; font-size: 0.66rem; } .feature-video-play { width: 56px; height: 56px; font-size: 1.1rem; } .feature-video-reset { font-size: 0.62rem; } .gallery-dialog { padding: 64px 12px 20px; } .gallery-dialog[open] { grid-template-columns: 1fr; } .dialog-arrow { position: absolute; bottom: 18px; } .dialog-arrow-left { left: 14px; } .dialog-arrow-right { right: 14px; } .gallery-dialog figcaption { padding: 0 56px; } .style-picker { right: 12px; bottom: 12px; } .style-picker-panel { width: min(360px, calc(100vw - 24px)); } .site-footer { grid-template-columns: 1fr auto; gap: 18px; } .site-footer p { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 639px) {
  .hero {
    background: linear-gradient(145deg, var(--night) 0%, var(--teal) 100%);
  }
}

@media (max-width: 1023px) {
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-grid article,
  .policy-grid article:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.24);
  }

  .policy-grid article:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 639px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid article,
  .policy-grid article:nth-child(2n),
  .policy-grid article:nth-child(3n) {
    padding: 24px 0;
    border-right: 0;
  }
}

@media (max-width: 1023px) {
  .about-heading { position: static; }
  .about-layout h1 { font-size: 4rem; }
}

@media (max-width: 639px) {
  .about-intro { min-height: 0; }
  .about-layout h1 { font-size: 3.1rem; }
  .about-section h2 { font-size: 1.45rem; }
  .about-section p { font-size: 1rem; }
}

/* Ten nav items, the wordmark, and the App Store button share one row here;
   without this the nav runs into the button at 1024px. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav { gap: 10px; font-size: 0.66rem; }
  .header-download { padding: 9px 12px; font-size: 0.7rem; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .annotation-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .annotation-row article:nth-child(2n) { border-right: 0; }
  .annotation-row article:nth-child(-n + 2) { border-bottom: 1px solid rgba(237, 244, 243, 0.24); }

  .device-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 1023px) {
  .feature-columns { grid-template-columns: 1fr; }
  .feature-columns section { padding-right: 0; padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-columns section:last-child { border-bottom: 0; }
}

@media (max-width: 639px) {
  .device-grid, .reviews-grid { grid-template-columns: 1fr; gap: 26px; }
  .gallery-groups { gap: 34px; }
  .future-band { padding: 0 20px; }   /* matches .band at this width */
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
