/* Shared foundations */
:root { color-scheme: light; --ink: #1d1d1f; --muted: #65656b; --blue: #0066cc; --wash: #f5f5f7; --line: #d9d9de;
  /* The one Mac wallpaper every drawn Mac screen shares. */
  --mac-wallpaper: radial-gradient(120% 90% at 12% 110%, #0a3a8c 0%, #0a3a8c00 60%), radial-gradient(80% 70% at 88% -5%, #6fb1ff 0%, #6fb1ff00 58%), radial-gradient(70% 55% at 55% 60%, #3b82f6aa 0%, #3b82f600 70%), linear-gradient(160deg, #2466d8 0%, #0d2f78 55%, #071a45 100%); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 16px; padding: 12px 20px; background: white; z-index: 100; }
.skip:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 30; height: 44px; border-bottom: 1px solid #00000012; background: #ffffffeb; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.brand { color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.45px; min-height: 44px; display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 32px; align-items: center; height: 100%; }
.nav-links a { font-size: 12px; color: #414145; min-height: 44px; display: flex; align-items: center; }
.nav-links a[aria-current=page] { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; min-width: 44px; min-height: 44px; padding: 10px; color: var(--ink); }
.menu-lines { display: inline-block; width: 17px; height: 10px; border-top: 1px solid; border-bottom: 1px solid; }
.release-note { text-align: center; background: var(--wash); padding: 12px 24px; font-size: 12px; color: #55555a; }
.release-note a { white-space: nowrap; margin-left: 7px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.15px; margin-bottom: 18px; }
.hero { padding: 64px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { font-size: 22px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(48px, 6.2vw, 82px); line-height: 1.055; letter-spacing: -.055em; margin-bottom: 22px; }
.hero h1 span { color: var(--blue); }
.hero .lead { max-width: 600px; margin: 0 auto; font-size: 23px; line-height: 1.4; letter-spacing: -.6px; }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.actions a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
.button { background: #0071e3; color: white; border-radius: 24px; padding: 10px 22px; font-size: 15px; }
.button:hover { background: #0066cc; text-decoration: none; }
.small { font-size: 12px; color: var(--muted); }
.hero .small { margin: 12px 0 0; }
.mac-window { overflow: hidden; border-radius: 12px; border: 1px solid #0000001a; box-shadow: 0 24px 56px #1722371c, 0 2px 8px #0000000a; background: #eee; }
.mac-window img { width: 100%; }
.phone-frame { overflow: hidden; border: 6px solid #27282c; border-radius: 34px; background: #191919; box-shadow: 0 18px 35px #14243b26, 0 0 0 1px #8c8d92; }
.phone-frame img { width: 100%; }
.caption { color: var(--muted); font-size: 12px; text-align: center; margin-top: 18px; }
.hero-caption { margin-top: 0; }
.connection-strip { display: flex; justify-content: center; gap: 62px; padding: 32px 0 52px; font-size: 13px; color: var(--muted); }
.connection-strip b { color: var(--ink); font-weight: 600; }
.section { padding: 112px 0; }
.wash { background: var(--wash); }
.section h2 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 26px; }
.section h2 span { color: var(--muted); }
.intro { max-width: 650px; font-size: 21px; color: var(--muted); line-height: 1.5; letter-spacing: -.4px; }
.section-heading { margin-bottom: 64px; }
.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; }
.story + .story { margin-top: 112px; }
.story.reverse { grid-template-columns: 1.25fr 1fr; }
.story.reverse .story-copy { order: 2; }
.story h3 { font-size: 38px; line-height: 1.12; letter-spacing: -1.4px; margin-bottom: 18px; }
.story .eyebrow { color: var(--blue); }
.story p { color: var(--muted); }
.story p strong { color: var(--ink); font-weight: 600; }
.story-visual { padding: 16px 0 20px; }
.story-visual .mac-window { border-radius: 9px; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.feature-pair h2 { font-size: 46px; }
.feature-symbol { font-size: 46px; color: var(--blue); margin-bottom: 30px; line-height: 1; }
.feature-pair p { color: var(--muted); max-width: 440px; }
.gesture-list { display: flex; gap: 28px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; font-size: 13px; }
.gesture-list strong { color: var(--ink); display: block; }
.connections { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.connection-list article { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 18px; }
.connection-list article:first-child { padding-top: 0; }
.connection-list h3 { font-size: 23px; letter-spacing: -.6px; margin-bottom: 8px; }
.connection-list p { font-size: 16px; color: var(--muted); margin-bottom: 0; }
.number { font-size: 12px; color: var(--muted); padding-top: 8px; }
.dark { color: #f5f5f7; background: #171719; }
.dark .eyebrow { color: #a5cfff; }
.dark p, .dark h2 span { color: #a9a9b0; }
.dark a { color: #83bdff; }
.remote-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; }
.remote-detail { border-left: 1px solid #49494e; padding-left: 42px; align-self: center; }
.remote-detail h3 { font-size: 25px; letter-spacing: -.7px; }
.native { text-align: center; }
.native .intro { margin-inline: auto; }
.native-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 26px; }
.technology-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 38px; margin-top: 38px; font-size: 14px; font-weight: 550; color: #515158; }
.technology-strip span:first-child { color: var(--blue); }
.security-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.security-layout p { color: var(--muted); }
.security-facts { border-top: 1px solid var(--line); margin-top: 32px; }
.security-facts p { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 16px 0; margin: 0; font-size: 14px; }
.security-facts strong { color: var(--ink); font-weight: 550; }
.open-source { margin-top: 90px; padding-top: 45px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 32px; }
.open-source h3 { font-size: 28px; letter-spacing: -.8px; }
.open-source p { color: var(--muted); max-width: 580px; margin-bottom: 0; }
.open-source > a { flex-shrink: 0; }
.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; position: relative; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 8px; top: 22px; font-size: 23px; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); max-width: 710px; padding-bottom: 15px; }
.bottom-cta { text-align: center; }
.bottom-cta .intro { margin-inline: auto; }
.site-footer { background: var(--wash); padding: 32px 0; font-size: 12px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 25px; }
.site-footer a { color: #424247; }
.site-footer p { margin-bottom: 8px; }
/* Reading pages */
.page-intro { padding: 76px 0 52px; }
.page-intro h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 24px; }
.page-intro .intro { max-width: 690px; }
.reading-layout { display: grid; grid-template-columns: 180px minmax(0, 720px); gap: 70px; padding-bottom: 100px; }
.doc-nav { position: sticky; top: 80px; align-self: start; font-size: 13px; }
.doc-nav a { display: block; color: var(--muted); padding: 9px 0; }
.doc-nav a:hover { color: var(--blue); }
.doc-body section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.doc-body h2 { font-size: 29px; line-height: 1.18; letter-spacing: -.8px; margin-bottom: 20px; }
.doc-body h3 { font-size: 20px; margin: 28px 0 12px; }
.doc-body p, .doc-body li { color: #55555c; }
.doc-body li { padding-left: 4px; margin-bottom: 14px; }
.doc-body strong { color: var(--ink); }
.note { border-left: 3px solid var(--blue); padding: 6px 0 6px 22px; margin: 28px 0; }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--wash); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--wash); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: .85em; overflow-wrap: anywhere; }
.doc-body a { text-decoration: underline; text-underline-offset: 3px; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
@media (min-width: 1440px) { .hero { padding-top: 80px; } }
@media (max-width: 900px) {
  .story, .story.reverse { gap: 36px; }
  .story h3 { font-size: 32px; }
  .connections, .feature-pair, .security-layout, .remote-layout { gap: 45px; }
  .feature-pair h2 { font-size: 38px; }
  .section { padding: 85px 0; }
  .reading-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 48px; }
  .js .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links { display: flex; position: absolute; top: 48px; left: 0; right: 0; height: auto; padding: 18px 32px 28px; background: #fff; border-bottom: 1px solid var(--line); }
  .js .nav-links { display: none; }
  .nav-links.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .nav-links a { font-size: 23px; font-weight: 550; min-height: 56px; letter-spacing: -.5px; }
  .menu-toggle[aria-expanded=true] .menu-lines { transform: rotate(90deg); }
  .hero { padding-top: 45px; }
  .hero h1 { font-size: clamp(43px, 9.3vw, 60px); }
  .hero .eyebrow { font-size: 19px; }
  .hero .lead { font-size: 19px; max-width: 330px; }
  .actions { gap: 18px; font-size: 15px; }
  .caption { font-size: 11px; }
  .connection-strip { gap: 22px; padding: 24px 0 36px; font-size: 12px; }
  .connection-strip span { display: flex; flex-direction: column; gap: 2px; }
  .section { padding: 68px 0; }
  .section h2 { font-size: 40px; }
  .section-heading { margin-bottom: 44px; }
  .intro { font-size: 19px; }
  .story, .story.reverse, .feature-pair, .connections, .remote-layout, .security-layout { grid-template-columns: 1fr; gap: 32px; }
  .story.reverse .story-copy { order: 0; }
  .story + .story { margin-top: 64px; }
  .story h3 { font-size: 34px; }
  .story-visual { padding: 0; }
  .feature-pair { gap: 60px; }
  .feature-symbol { margin-bottom: 22px; }
  .remote-detail { padding: 28px 0 0; border-left: 0; border-top: 1px solid #49494e; }
  .technology-strip { gap: 14px 25px; }
  .open-source { margin-top: 48px; padding-top: 32px; flex-direction: column; gap: 18px; }
  .footer-top { flex-direction: column; gap: 15px; }
  .footer-links a { min-height: 32px; display: flex; align-items: center; }
  .page-intro { padding: 48px 0 26px; }
  .reading-layout { display: block; padding-bottom: 55px; }
  .doc-nav { position: static; display: flex; gap: 5px 20px; flex-wrap: wrap; padding-bottom: 32px; }
  .doc-nav a { min-height: 38px; }
  .doc-body h2 { font-size: 27px; }
  summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


@media (max-width: 680px) {
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .nav-links { position: static; padding: 0 0 12px; flex-wrap: wrap; gap: 8px 20px; width: 100%; }
  html:not(.js) .nav-links a { font-size: 15px; min-height: 44px; }
}

/* Brand mark */
.brand img { width: 28px; height: 28px; margin-right: 8px; }

/* Expanded navigation */
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-mobile-only { display: none !important; }
.mega { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #00000012; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; z-index: 31; }
.nav-item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .24s ease, transform .24s ease; }
.mega-inner { display: flex; gap: 72px; padding: 40px 0 56px; }
.mega-title { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.nav-links .mega a { min-height: 0; display: inline-block; padding: 5px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-links .mega-primary a { font-size: 24px; font-weight: 650; letter-spacing: -.6px; padding: 3px 0; }
.nav-links .mega a:hover { color: var(--blue); text-decoration: none; }
.nav-scrim { position: fixed; inset: 44px 0 0; z-index: 29; background: #1d1d1f33; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility 0s linear .24s; }
.mega-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .24s ease; }
.mega-open .site-header { background: #fff; }
@media (max-width: 680px) {
  .mega, .nav-scrim { display: none; }
  .nav-item { height: auto; }
  .nav-links .nav-item a.nav-trigger { font-size: 23px; font-weight: 550; min-height: 56px; letter-spacing: -.5px; width: 100%; }
  .nav-mobile-only { display: flex !important; }
  html:not(.js) .nav-links .nav-item a.nav-trigger { font-size: 15px; min-height: 44px; }
}
/* Menu entrance: panel first, then titles and links settle in with a light stagger. */
.mega { transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.nav-item.is-open .mega { transition: opacity .2s ease, transform .22s cubic-bezier(.2,.7,.2,1); }
.mega-open.mega-swap .mega, .mega-open.mega-swap .nav-item.is-open .mega { transition: none; transform: none; }
.mega-col:nth-child(2) { --c: 1; } .mega-col:nth-child(3) { --c: 2; } .mega-col:nth-child(4) { --c: 3; }
.mega li:nth-child(2) { --i: 1; } .mega li:nth-child(3) { --i: 2; } .mega li:nth-child(4) { --i: 3; } .mega li:nth-child(5) { --i: 4; } .mega li:nth-child(6) { --i: 5; }
.nav-item.is-open .mega-title, .nav-item.is-open .mega li { animation: mega-in .3s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(60ms + var(--c, 0) * 40ms); }
.nav-item.is-open .mega li { animation-delay: calc(90ms + var(--c, 0) * 40ms + var(--i, 0) * 22ms); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .nav-scrim, .nav-item.is-open .mega, .mega-open .nav-scrim { transition: none; transform: none; } .nav-item.is-open .mega-title, .nav-item.is-open .mega li { animation: none; } }

/* Homepage input + control story */
.gesture-list + .small { margin-top: 26px; }
.text-link { display: inline-block; margin-top: 6px; }
.control-story { text-align: center; }
.control-story .intro { margin-inline: auto; }
.autohide { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.autohide h3 { font-size: 34px; line-height: 1.12; letter-spacing: -1.1px; }
.autohide p { color: var(--muted); }
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 36px; margin-top: 54px; }
.devices .phone-land { width: min(520px, 60%); border-radius: 30px; }
.devices .ipad-frame { width: min(360px, 34%); overflow: hidden; border: 8px solid #27282c; border-radius: 26px; background: #191919; box-shadow: 0 18px 35px #14243b26, 0 0 0 1px #8c8d92; }
.devices .ipad-frame img { width: 100%; }

/* Features page */
.doc-body table th[scope=row] { background: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.doc-figure { margin: 28px 0; max-width: 300px; }
.doc-figure .phone-frame { border-radius: 30px; }
.doc-figure .caption { text-align: left; }
@media (max-width: 680px) {
  .autohide { margin-top: 56px; padding-top: 40px; }
  .devices { flex-direction: column; align-items: center; }
  .devices .phone-land, .devices .ipad-frame { width: 100%; }
}
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Hero settings tour */
.app-tour { position: relative; aspect-ratio: 720 / 520; overflow: hidden; border-radius: 6px; background: #f2f2f4; }
.app-tour img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: tour 16s infinite; }
.app-tour img:nth-child(1) { animation-delay: 0s; }
.app-tour img:nth-child(2) { animation-delay: 4s; }
.app-tour img:nth-child(3) { animation-delay: 8s; }
.app-tour img:nth-child(4) { animation-delay: 12s; }
@keyframes tour { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
.gesture-list + .gesture-list { border-top: 0; margin-top: 0; }


/* Chords */
.chords-stage { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; gap: 28px; min-height: 360px; padding: 64px 40px 48px; border-radius: 34px; background: radial-gradient(90% 120% at 15% 0%, #dcebff 0%, #eef2f9 45%, #f7f2fa 100%); box-shadow: inset 0 0 0 1px #ffffffb0; }
.chords-main { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.main-tray, .fn-tray { display: flex; gap: 10px; }
.fn-tray { flex-direction: column; padding-right: 28px; border-right: 1px solid #00000010; }
.main-tray button, .fn-tray button { width: 50px; height: 50px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #1d1d1f; font-size: 19px; background: #ffffff94; border: .5px solid #ffffffe0; box-shadow: 0 6px 18px #2a3b5a1a, inset 0 1px 0 #fff; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .2s ease; touch-action: none; user-select: none; -webkit-user-select: none; }
.main-tray .word { font-size: 13px; font-weight: 600; }
.main-tray button:active, .fn-tray button:active { transform: scale(.94); }
.main-tray button.on, .main-tray button.flash, .fn-tray button.flash { background: #0071e3; color: #fff; border-color: #0071e3; box-shadow: 0 8px 22px #0066cc40; }
.main-tray button.on { transform: translateY(-2px); }
.chord-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 560px; min-height: 42px; }
.chord-palette > * { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 14px; color: var(--ink); background: #ffffffb8; border: .5px solid #fff; box-shadow: 0 4px 14px #2a3b5a14; animation: palette-in .4s cubic-bezier(.2,.7,.2,1) both; }
.chord-palette button { font: inherit; font-size: 14px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.chord-palette button:hover, .chord-palette button.hot { background: #0071e3; color: #fff; }
.chord-palette button:hover kbd, .chord-palette button.hot kbd { background: #ffffff33; color: #fff; }
.chord-palette .hint { padding: 7px 16px; color: var(--muted); }
.chord-palette .custom { padding: 7px 16px; color: var(--muted); border: 1px dashed #b9c0cc; background: #ffffff70; box-shadow: none; }
.chord-palette kbd { min-width: 26px; height: 26px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #eef1f6; font: 600 12px/1 -apple-system, BlinkMacSystemFont, sans-serif; }
@keyframes palette-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chord-toast { position: absolute; top: 18px; left: 50%; transform: translate(-50%, -8px); padding: 7px 16px; border-radius: 999px; background: #1d1d1fe0; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.chord-toast.show { opacity: 1; transform: translate(-50%, 0); }
.mock-dock { position: absolute; left: 50%; bottom: 10px; display: flex; gap: 8px; padding: 8px 10px; border-radius: 20px; background: #ffffffa8; border: .5px solid #fff; box-shadow: 0 10px 30px #2a3b5a26; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.mock-dock.show { transform: translate(-50%, 0); }
.mock-dock i { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(160deg, #6fb1ff, #0071e3); }
.mock-dock i:nth-child(2) { background: linear-gradient(160deg, #7be08e, #28b04a); }
.mock-dock i:nth-child(3) { background: linear-gradient(160deg, #ffd36e, #ff9f0a); }
.mock-dock i:nth-child(4) { background: linear-gradient(160deg, #ff8a80, #ff453a); }
.mock-dock i:nth-child(5) { background: linear-gradient(160deg, #c9a7ff, #8e5cf7); }
.mock-dock i:nth-child(6) { background: linear-gradient(160deg, #e5e5ea, #aeaeb2); }
.chords-steps { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.chords-steps button { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 8px 14px; border-radius: 999px; min-height: 36px; }
.chords-steps button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px #0000000f; }
.chord-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.chord-notes p { color: var(--muted); font-size: 16px; margin: 0; }
.chord-notes strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Trackpad */
.trackpad-visual { padding: 24px 0; }
.tp { position: relative; aspect-ratio: 16 / 10; max-width: 480px; margin: 0 auto; border-radius: 28px; border: 1px solid #d9dce3; background: #f7f8fa; box-shadow: 0 24px 50px #17223714, inset 0 1px 0 #fff; outline-offset: 6px; overflow: hidden; }
.tp::before { content: ""; position: absolute; inset: 18px; border-radius: 18px; background: radial-gradient(circle, #c5c9d2 1.2px, transparent 1.6px) 0 0 / 20px 20px; }
.tp .f { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; border: 1.5px solid #0071e380; box-shadow: 0 0 0 10px #0071e314, 0 4px 10px #17223726; opacity: 0; }
.tp-label { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.tp[data-g="pointer"] .f1 { opacity: 1; animation: tp-pointer 2.8s ease-in-out infinite; }
.tp[data-g="scroll"] .f1, .tp[data-g="scroll"] .f2 { animation: tp-scroll 1.4s ease-in-out infinite; }
.tp[data-g="scroll"] .f1 { left: 45%; } .tp[data-g="scroll"] .f2 { left: 55%; }
.tp[data-g="spotlight"] .f1, .tp[data-g="spotlight"] .f2, .tp[data-g="spotlight"] .f3 { opacity: 1; animation: tp-tap 1.4s ease-in-out infinite; }
.tp[data-g="spotlight"] .f1 { left: 40%; top: 54%; } .tp[data-g="spotlight"] .f2 { left: 50%; top: 46%; } .tp[data-g="spotlight"] .f3 { left: 60%; top: 54%; }
.tp[data-g="desktop"] .f { opacity: 1; animation: tp-spread 2s ease-in-out infinite; }
.tp[data-g="desktop"] .f1 { --x: -64px; --y: 12px; } .tp[data-g="desktop"] .f2 { --x: -32px; --y: -40px; } .tp[data-g="desktop"] .f3 { --x: 8px; --y: -52px; } .tp[data-g="desktop"] .f4 { --x: 46px; --y: -36px; } .tp[data-g="desktop"] .f5 { --x: 40px; --y: 46px; }
@keyframes tp-pointer { 0%, 100% { transform: translate(-110px, 50px); } 50% { transform: translate(80px, -40px); } }
@keyframes tp-scroll { 0% { transform: translateY(50px); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }
@keyframes tp-tap { 0%, 100% { transform: scale(1); } 45% { transform: scale(.82); } }
@keyframes tp-spread { 0%, 15% { transform: translate(calc(var(--x) * .35), calc(var(--y) * .35)); opacity: 1; } 70%, 100% { transform: translate(calc(var(--x) * 1.5), calc(var(--y) * 1.5)); opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
  .main-tray button, .fn-tray button, .chord-palette > *, .chord-toast, .mock-dock { transition: none; animation: none; }
  .tp .f { animation: none !important; }
}
@media (max-width: 680px) {
  .chords-stage { flex-direction: column-reverse; align-items: center; padding: 28px 16px; min-height: 0; }
  .fn-tray { flex-direction: row; padding: 18px 0 0; border-right: 0; border-top: 1px solid #00000010; }
  .main-tray { flex-wrap: wrap; justify-content: center; max-width: 250px; }
  .main-tray button, .fn-tray button { width: 42px; height: 42px; font-size: 17px; }
  .chords-stage { padding-top: 60px; }
  .chord-palette > *, .chord-palette button { font-size: 13px; }
  .story .eyebrow { font-size: 13px; margin-bottom: 10px; }
  .tp { border-radius: 22px; }
  .chord-notes { margin-top: 36px; }
}
.tray-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
@media (max-width: 680px) { .tray-layout, .autohide { grid-template-columns: 1fr; gap: 40px; } }

/* Control points */
.control-points { list-style: none; display: grid; grid-template-columns: repeat(9, auto); justify-content: space-between; gap: 24px 18px; max-width: 1080px; margin: 56px auto 44px; padding: 0; text-align: left; }
.control-points li { font-size: 13px; line-height: 1.4; color: var(--muted); }
.control-points b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 3px; white-space: nowrap; }
.control-points li > span, .control-points li > a { display: block; }
@media (max-width: 1000px) { .control-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; max-width: 560px; } }
@media (max-width: 680px) { .control-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 360px; } }

/* Mirror / Extend modes */
.mode-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #e3e3e8; margin-bottom: 48px; }
.mode-switch button { border: 0; background: none; padding: 7px 20px; min-height: 34px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .25s ease, color .25s ease; }
.mode-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px #0000001a; }
.mode-copy { display: none; }
.modes[data-mode="mirror"] .mode-copy[data-for-mode="mirror"], .modes[data-mode="extend"] .mode-copy[data-for-mode="extend"] { display: block; animation: palette-in .45s cubic-bezier(.2,.7,.2,1); }
.me-shots { position: relative; aspect-ratio: 720 / 520; }
.me-shots img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.me-shots img.is-static, .modes[data-mode="mirror"] .me-shots [data-for-mode="mirror"], .modes[data-mode="extend"] .me-shots [data-for-mode="extend"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .me-shots img, .mode-copy { transition: none; animation: none !important; } }
.modes + .story { margin-top: 112px; }
@media (max-width: 680px) { .modes + .story { margin-top: 64px; } }
@media (max-width: 680px) { .chord-notes { grid-template-columns: 1fr; gap: 22px; } }

/* Smart Touch showcase */
.smart-touch { border-bottom: 1px solid #00000010; }
.smart-touch .eyebrow .tag { margin-left: 6px; }
.st-copy .intro { margin-bottom: 30px; }
.st-points { display: grid; gap: 18px; margin: 0 0 28px; }
.st-points div { padding-left: 16px; border-left: 2px solid var(--line); }
.st-points dt { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.st-points dd { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.st-note { font-size: 14px; }
.st-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; }
.st { width: 100%; max-width: 560px; margin: 0 auto; }
.st-stage { position: relative; aspect-ratio: 1 / .92; border-radius: 26px; background: var(--wash); box-shadow: inset 0 0 0 1px #0000000a; overflow: hidden; }
.st-window { position: absolute; left: 8%; top: 7%; width: 84%; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #0000001a, 0 20px 44px #1d1d1f1c, 0 2px 6px #0000000a; overflow: hidden; transition: box-shadow .25s ease; }
.st-window.is-lifted { box-shadow: 0 0 0 1px #0000001a, 0 32px 64px #1d1d1f29, 0 4px 12px #00000012; }
.st-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.st-bar:active { cursor: grabbing; }
.st-bar i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #d2d2d7; }
.st-bar span { flex: 0 1 50%; margin: 0 auto; overflow: hidden; height: 20px; border-radius: 6px; background: #e8e8ed; color: #86868b; font-size: 11px; line-height: 20px; text-align: center; white-space: nowrap; transform: translateX(-18px); }
.st-view { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.st-page { padding: 18px 20px 26px; will-change: transform; }
.st-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 13px; }
.st-head span { width: 34px; height: 7px; border-radius: 4px; background: #e8e8ed; }
.st-head b { margin-right: auto; font-weight: 650; }
.st-title { font-size: 21px; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.st-sub { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: #86868b; }
.st-lines { display: grid; gap: 8px; margin-bottom: 18px; }
.st-lines i { display: block; height: 8px; border-radius: 4px; background: #ededf0; }
.st-img { aspect-ratio: 16 / 5; margin-bottom: 18px; border-radius: 10px; background: linear-gradient(180deg, #f0f1f4, #e5e7ec); }
.st-track { margin: 0 -20px 18px; overflow: hidden; }
.st-row { display: flex; gap: 10px; width: max-content; padding: 0 20px; will-change: transform; }
.st-card { flex: none; width: 148px; padding: 10px; border: 1px solid #ededf0; border-radius: 12px; font-size: 13px; }
.st-card .st-img { aspect-ratio: 16 / 10; margin-bottom: 8px; }
.st-card:nth-child(odd) .st-img { background: linear-gradient(180deg, #e9eaee, #dcdde2); }
.st-card b { display: block; margin-bottom: 8px; font-weight: 600; }
.st-sheet { margin: 0 0 18px; height: 88px; overflow: hidden; border: 1px solid #e8e8ed; border-radius: 8px; touch-action: none; }
.st-grid { display: grid; grid-template-columns: repeat(10, 58px); grid-auto-rows: 22px; width: max-content; will-change: transform; }
.st-grid i { border-right: 1px solid #f0f0f3; border-bottom: 1px solid #f0f0f3; }
.st-grid i::after { content: ""; display: block; width: 55%; height: 6px; margin: 7px 0 0 8px; border-radius: 3px; background: #e6e7eb; }
.st-grid i:nth-child(3n)::after { width: 32%; }
.st-grid i:nth-child(4n+1)::after { width: 74%; }
.st-grid i:nth-child(7n+3)::after, .st-grid i:nth-child(9n+5)::after { display: none; }
.st-grid i:nth-child(-n+10) { background: #f7f7f9; }
.st-grid i:nth-child(-n+10)::after { width: 28%; background: #d9dade; }
.st-grid i:nth-child(34) { box-shadow: inset 0 0 0 1.5px var(--blue); }
.st-grid i:nth-child(34)::after { background: #0071e333; }
.st-btn { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #0071e314; color: var(--blue); font-size: 12px; font-weight: 600; transition: transform .15s ease, background-color .15s ease; }
.st-btn.is-pressed { transform: scale(.9); background: #0071e333; }
.st-f, .st-ripple, .st-cursor, .st-badge { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; z-index: 3; }
.st-f { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #ffffffe6; border: 1.5px solid #0071e399; box-shadow: 0 0 0 9px #0071e314, 0 4px 10px #1d1d1f26; transition: opacity .2s ease; }
.st-f::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0071e366; transition: transform .15s ease; }
.st-f.is-press::after { transform: scale(.55); }
.st-f.is-buzz { animation: st-buzz .42s ease-out; }
@keyframes st-buzz { 0% { box-shadow: 0 0 0 9px #0071e314, 0 0 0 9px #0071e359, 0 4px 10px #1d1d1f26; } 100% { box-shadow: 0 0 0 9px #0071e314, 0 0 0 30px #0071e300, 0 4px 10px #1d1d1f26; } }
.st-hold { position: absolute; left: -12.5px; top: -12.5px; width: 52px; height: 52px; transform: rotate(-90deg); overflow: visible; }
.st-hold circle { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: 145; opacity: 0; }
.st-f.is-holding .st-hold circle { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset var(--hold, .45s) linear; }
.st-ripple { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; border: 1.5px solid #0071e366; background: #0071e30d; }
.st-cursor { width: 15px; height: 21px; margin: -1px 0 0 -1px; z-index: 4; transition: opacity .2s ease; filter: drop-shadow(0 1px 1.5px #00000040); }
.st-cursor path { fill: #1d1d1f; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.st-badge { left: 50%; top: 46px; padding: 5px 12px 5px 26px; border-radius: 999px; background: #1d1d1feb; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; z-index: 5; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .2s ease; }
.st-badge::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 2px solid #2997ff; }
.st-badge.is-shown { opacity: 1; transform: translate(-50%, 0); }
.st-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 15px; font-weight: 600; }
.st-switch { position: relative; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 999px; background: #d2d2d7; transition: background-color .3s ease; }
.st-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0000002e; transition: transform .3s ease; }
.st[data-on="true"] .st-switch { background: var(--blue); }
.st[data-on="true"] .st-knob { transform: translateX(18px); }
.st-label { min-height: 1.55em; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink); }
.st-hint { margin: 2px 0 0; text-align: center; font-size: 12px; color: #86868b; }
@media (max-width: 680px) { .st-window { left: 5%; width: 90%; } .st-page { padding: 14px 16px 22px; } .st-track { margin-inline: -16px; } .st-row { padding-inline: 16px; } .st-title { font-size: 18px; } .st-card { width: 128px; } }
@media (prefers-reduced-motion: reduce) { .st-switch, .st-knob, .st-btn, .st-window, .st-badge { transition: none; } .st-f.is-buzz { animation: none; } }

/* Hero: the Mac lineup. Drawn in the same vocabulary as the Apple Pencil
   scene (lid, wallpaper, base), sized in container units so the whole
   composition scales as one piece. The MacBook screen hosts the real
   settings tour; the iPhone mirrors that same screen, letterboxed exactly
   as the receiver shows it. */
.hd { width: 100%; margin: 46px auto 0; }
.hd-stage { position: relative; aspect-ratio: 100 / 45; container-type: inline-size; }
.hd-mac { position: absolute; left: 16.5cqw; bottom: 3cqw; width: 59cqw; z-index: 1; animation: hero-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hd-screen { container-type: inline-size; }
.hd-window { position: absolute; left: 17%; top: 12.5%; width: 66%; border-radius: 1.1cqw; border: 0; box-shadow: 0 1.8cqw 4cqw #00000059, 0 0 0 1px #0000001f; }
.hd-window .app-tour { border-radius: 0; }
.hd-mini { position: absolute; left: 1cqw; bottom: 3cqw; width: 14.5cqw; height: 4.6cqw; border-radius: .9cqw .9cqw 1.1cqw 1.1cqw; background: linear-gradient(#f4f4f6, #dcdce0 55%, #c5c5ca); box-shadow: 0 0 0 1px #0000000f, inset 0 .25cqw 0 #ffffff, 0 1.6cqw 2.6cqw #1d1d1f1f; animation: hero-fade 1.2s .2s ease both; }
.hd-mini::before { content: ""; position: absolute; left: 7%; bottom: 30%; width: 3.2%; height: 16%; border-radius: 1cqw; background: #8e8e93; box-shadow: 1.2cqw 0 0 #8e8e93, 2.4cqw 0 0 #9c9ca1; }
.hd-mini::after { content: ""; position: absolute; right: 7%; bottom: 36%; width: .35cqw; height: .35cqw; border-radius: 50%; background: #b8f5c4; box-shadow: 0 0 .4cqw #7de393; }
.hd-ipad { position: absolute; right: 1cqw; bottom: 3cqw; width: 20.5cqw; padding: .9cqw; border-radius: 2.1cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #c7c7cc, 0 2.4cqw 4.4cqw #1d1d1f2e; z-index: 2; animation: hero-rise 1.2s .15s cubic-bezier(.2,.7,.2,1) both; }
.hd-ipad img { width: 100%; border-radius: 1.25cqw; }
.hd-iphone { position: absolute; left: 53cqw; bottom: 0; width: 32cqw; padding: .75cqw; border-radius: 3.4cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 2.6cqw 4.6cqw #1d1d1f3d, 0 .5cqw 1cqw #1d1d1f24; z-index: 3; animation: hero-phone 1.25s .3s cubic-bezier(.2,.7,.2,1) both; }
.hd-iphone-screen { position: relative; aspect-ratio: 874 / 402; border-radius: 2.7cqw; overflow: hidden; background: #000; container-type: inline-size; }
.hd-mirror { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 16 / 10; transform: translateX(-50%); background: var(--mac-wallpaper); container-type: inline-size; }
.hd-mirror .pn-menubar { position: absolute; left: 0; right: 0; top: 0; }
.hd-island { position: absolute; left: 2.2%; top: 50%; width: 3.9%; height: 29%; transform: translateY(-50%); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px #1c1c1e; }
.hd-tray { position: absolute; right: 3%; top: 50%; display: flex; flex-direction: column; gap: .9cqw; transform: translateY(-50%); }
.hd-tray i { display: grid; place-items: center; width: 3.9cqw; height: 3.9cqw; border-radius: 50%; background: #ffffff21; box-shadow: inset 0 0 0 1px #ffffff40; color: #fff; font: normal 600 2cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.hd-tray i.hd-t { font-size: 1.35cqw; }
.hd-tray svg { width: 2.2cqw; height: 2.2cqw; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes hero-phone { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
/* Narrow screens: Mac and iPhone carry the story; the settings tour stays
   large enough to read. */
@media (max-width: 680px) {
  .hd { margin-top: 34px; }
  .hd-stage { aspect-ratio: 100 / 71; }
  .hd-mini, .hd-ipad { display: none; }
  .hd-mac { left: 3cqw; width: 88cqw; bottom: 9cqw; }
  .hd-window { left: 9%; top: 9%; width: 82%; }
  .hd-iphone { left: auto; right: 0; width: 54cqw; padding: 1.1cqw; border-radius: 5.4cqw; }
  .hd-iphone-screen { border-radius: 4.4cqw; }
}
@media (prefers-reduced-motion: reduce) { .app-tour img, .hd-mac, .hd-ipad, .hd-iphone, .hd-mini { animation: none; } .app-tour img:first-child { opacity: 1; } }

/* Mac settings window, drawn from the Mac app's real layout: sidebar
   categories and SF Symbol shapes, toolbar status pill, grouped sections
   and row labels. Everything is sized in em from one container-relative
   font size, so the window scales as a single piece. */
.mw { display: grid; grid-template-columns: 26.5% 1fr; aspect-ratio: 720 / 520; overflow: hidden; border-radius: 1.2em; background: #fff; box-shadow: 0 2.6em 5.4em #1d1d1f1f, 0 .3em .9em #0000000d, 0 0 0 1px #0000001a; color: var(--ink); font-size: 1.8cqw; line-height: 1.25; text-align: left; user-select: none; -webkit-user-select: none; }
.mw-side { display: flex; flex-direction: column; padding: 1.3em .75em; background: #ececee; border-right: 1px solid #dcdce0; }
.mw-lights { display: flex; gap: .6em; margin: 0 .45em 1.3em; }
.mw-lights i { width: .95em; height: .95em; border-radius: 50%; background: #ff5f57; }
.mw-lights i:nth-child(2) { background: #febc2e; }
.mw-lights i:nth-child(3) { background: #28c840; }
.mw-search { height: 2.1em; margin-bottom: .9em; padding-left: .9em; border-radius: .6em; background: #dedee2; color: #8e8e93; font-size: .9em; line-height: 2.1em; }
.mw-nav { margin: 0; padding: 0; list-style: none; }
.mw-nav li { display: flex; align-items: center; gap: .65em; padding: .45em .55em; border-radius: .55em; font-size: 1.02em; font-weight: 500; white-space: nowrap; }
.mw-nav li.is-on { background: #dcdce0; }
.mw-nav svg { flex: none; width: 1.35em; height: 1.35em; fill: none; stroke: #0a7cff; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.mw-main { display: flex; flex-direction: column; min-width: 0; }
.mw-tool { display: flex; align-items: center; gap: 1em; height: 4.4em; padding: 0 1.2em; }
.mw-tool b { font-size: 1.1em; font-weight: 600; }
.mw-arrows { display: grid; place-items: center; width: 5em; height: 2.5em; border: 1px solid #e0e0e4; border-radius: 99px; color: #8e8e93; font-size: .95em; }
.mw-pill { display: inline-flex; align-items: center; gap: .5em; height: 2.6em; margin-left: auto; padding: 0 1em; border: 1px solid #e3e3e7; border-radius: 99px; font-size: .85em; font-weight: 500; white-space: nowrap; }
.mw-pill i { width: .6em; height: .6em; border-radius: 50%; background: #34c759; }
.mw-body { padding: 0 1.9em 1.4em; overflow: hidden; }
.mw-h { margin: 1.05em 0 .55em .3em; font-size: 1.02em; font-weight: 650; }
.mw-group { padding: 0 1em; border-radius: .9em; background: #f5f5f7; }
.mw-first { margin-top: .6em; }
.mw-row { display: flex; align-items: center; gap: .7em; padding: .7em 0; }
.mw-row + .mw-row { border-top: 1px solid #e6e6ea; }
.mw-grow { flex: 1; min-width: 0; }
.mw-name { display: block; font-size: 1em; }
.mw-sub { display: block; margin-top: .15em; color: #86868b; font-size: .78em; }
.mw-dot { flex: none; align-self: flex-start; width: .72em; height: .72em; margin-top: .3em; border-radius: 50%; background: #c7c7cc; }
.mw-dot.is-live { background: #34c759; }
.mw-btn { flex: none; padding: .3em .75em; border-radius: .45em; background: #e3e3e8; font-size: .78em; white-space: nowrap; }
.mw-mbps { flex: none; color: #86868b; font: .76em ui-monospace, SFMono-Regular, Menlo, monospace; }
.mw-gear { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: #6e6e73; stroke-width: 1.3; stroke-linecap: round; }
.mw-select { flex: none; color: var(--ink); font-size: .9em; }
.mw-select::after { content: "⌃⌄"; display: inline-block; margin-left: .5em; padding: 0 .2em; border-radius: .3em; background: #e3e3e8; font-size: .7em; letter-spacing: -.1em; vertical-align: .1em; }
.mw-note { margin: .6em .3em 0; color: #86868b; font-size: .76em; }
.mw-toggle { position: relative; flex: none; width: 3.1em; height: 1.85em; border-radius: 99px; background: #d9d9de; transition: background-color .3s ease; }
.mw-toggle::after { content: ""; position: absolute; left: .17em; top: .17em; width: 1.5em; height: 1.5em; border-radius: 50%; background: #fff; box-shadow: 0 .1em .3em #0000002e; transition: transform .3s ease; }
.mw-toggle.is-on { background: #0a7cff; }
.mw-toggle.is-on::after { transform: translateX(1.25em); }

/* Small receiver-side pieces shared by the scenes below. */
.me-cat, .ai-cat { overflow: hidden; border-radius: 4.5cqw; background: #fff; box-shadow: 0 2cqw 5cqw #0000004d, 0 0 0 1px #0000001a; font-size: 4.6cqw; text-align: left; }
.me-cat-bar { display: flex; align-items: center; gap: 1.6cqw; height: 9cqw; padding: 0 3cqw; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; }
.me-cat-bar i { flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #d2d2d7; }
.me-cat-bar span { flex: 1; margin-right: 8cqw; overflow: hidden; color: #6e6e73; font-weight: 600; font-size: 4cqw; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.me-cat ul, .ai-cat ul { margin: 0; padding: 3cqw 5cqw 5cqw; list-style: none; }
.me-cat li, .ai-cat li { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 0; color: var(--ink); white-space: nowrap; }
.me-cat li + li, .ai-cat li + li { border-top: 1px solid #f0f0f3; }
.me-cat li::before, .ai-cat li::before { content: ""; flex: none; width: 4.4cqw; height: 4.4cqw; border: 1.5px solid #b8b8bd; border-radius: 1.2cqw; transition: background-color .2s ease, border-color .2s ease; }
.me-cat li.is-done::before, .ai-cat li.is-done::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* Devices: the Mac's Devices settings beside Cinnamon's iPad and Luna's
   iPhone. Container units keep the three in proportion at any width. */
.dv { padding-top: 8px; }
.dv-stage { position: relative; aspect-ratio: 100 / 76; container-type: inline-size; }
.dv-window { position: absolute; right: 0; top: 0; width: 80cqw; }
.dv-window .mw { font-size: 1.44cqw; }
.dv-ipad { position: absolute; left: 0; bottom: 3cqw; width: 30cqw; padding: 1.3cqw; border-radius: 3.4cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #c7c7cc, 0 3cqw 6cqw #1d1d1f2e; z-index: 1; }
.dv-ipad img { width: 100%; border-radius: 2.1cqw; }
.dv-iphone { position: absolute; left: 21cqw; bottom: 0; width: 17.5cqw; padding: 1cqw; border-radius: 3.6cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 3cqw 6cqw #1d1d1f3d; z-index: 3; }
.dv-screen { position: relative; aspect-ratio: 402 / 874; overflow: hidden; border-radius: 2.7cqw; background: #000; container-type: inline-size; }
.dv-band { position: absolute; left: 0; right: 0; top: 34%; aspect-ratio: 16 / 10; }
.dv-island { position: absolute; left: 50%; top: 2.4%; width: 31%; height: 3.4%; border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px #1c1c1e; transform: translateX(-50%); }
.dv-window { z-index: 2; }
@media (max-width: 680px) { .dv-stage { aspect-ratio: 100 / 80; } }

/* Mirror vs Extend: Mac and iPhone only. Mirror shows the Mac's own screen
   on the iPhone; Extend gives the iPhone a desktop of its own, and Whiskers'
   Treat List moves across. */
.me { padding: 0; }
.me-stage { position: relative; aspect-ratio: 100 / 66; container-type: inline-size; }
.me-mac { position: absolute; left: 0; top: 0; width: 84cqw; }
.me-screen { container-type: inline-size; }
.me-settings { position: absolute; left: 6%; top: 11%; width: 58%; border: 0; border-radius: 1.3cqw; box-shadow: 0 1.6cqw 4cqw #00000059, 0 0 0 1px #0000001f; }
.me-cat-slot { position: absolute; left: 67%; top: 22%; width: 29%; transition: transform .75s cubic-bezier(.4,0,.2,1), opacity .5s ease; }
.me-cat-slot .me-cat { font-size: 1.35cqw; border-radius: 1.3cqw; }
.me-cat-slot .me-cat-bar { gap: .45cqw; height: 2.6cqw; padding: 0 .9cqw; }
.me-cat-slot .me-cat-bar i { width: .75cqw; height: .75cqw; }
.me-cat-slot .me-cat-bar span { margin-right: 2.4cqw; font-size: 1.15cqw; }
.me-cat-slot .me-cat ul { padding: .8cqw 1.4cqw 1.4cqw; }
.me-cat-slot .me-cat li { gap: .9cqw; padding: .7cqw 0; }
.me-cat-slot .me-cat li::before { width: 1.3cqw; height: 1.3cqw; border-radius: .35cqw; }
.modes[data-mode="extend"] .me-on-mac { transform: translateX(125%); opacity: 0; }
.me-iphone { position: absolute; right: 0; bottom: 0; width: 44cqw; padding: .95cqw; border-radius: 4.6cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 3cqw 6cqw #1d1d1f3d, 0 .6cqw 1.2cqw #1d1d1f24; z-index: 2; }
.me-phone-screen { position: relative; aspect-ratio: 874 / 402; overflow: hidden; border-radius: 3.7cqw; background: #000; container-type: inline-size; }
.me-mirror, .me-extend { position: absolute; inset: 0; transition: opacity .55s ease; }
.me-mirror-desk { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 16 / 10; transform: translateX(-50%); background: var(--mac-wallpaper); container-type: inline-size; }
.me-mirror-desk .pn-menubar, .me-extend .pn-menubar, .ai-mirror .pn-menubar { position: absolute; left: 0; right: 0; top: 0; }
.me-mirror-desk .me-settings { left: 6%; top: 11%; width: 58%; border-radius: 1.3cqw; }
.me-mirror-desk .me-cat-slot { left: 67%; top: 22%; width: 29%; }
.me-extend { background: var(--mac-wallpaper); opacity: 0; }
.me-extend .pn-menubar { height: 6%; }
.me-on-phone { left: 34%; top: 17%; width: 36%; transform: translateX(-190%); opacity: 0; transition-delay: .25s; }
.me-on-phone .me-cat { font-size: 2.3cqw; }
.me-on-phone .me-cat-bar { height: 5.6cqw; padding: 0 2cqw; gap: 1cqw; }
.me-on-phone .me-cat-bar i { width: 1.5cqw; height: 1.5cqw; }
.me-on-phone .me-cat-bar span { font-size: 2cqw; margin-right: 5cqw; }
.me-on-phone .me-cat ul { padding: 1.4cqw 2.8cqw 2.6cqw; }
.me-on-phone .me-cat li { gap: 1.8cqw; padding: 1.4cqw 0; }
.me-on-phone .me-cat li::before { width: 2.4cqw; height: 2.4cqw; border-radius: .7cqw; }
.modes[data-mode="extend"] .me-mirror { opacity: 0; }
.modes[data-mode="extend"] .me-extend { opacity: 1; }
.modes[data-mode="extend"] .me-on-phone { transform: none; opacity: 1; }
.me-label { min-height: 1.55em; margin-top: 18px; text-align: center; font-size: 13px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .me-cat-slot, .me-mirror, .me-extend { transition: none; } }

/* Allow Input: the Mac's Input settings, and Luna's iPhone mirroring the
   Mac. Off, a tap stays on the iPhone and the tray is hidden; on, the tray
   returns and the tap checks off Afternoon nap on the Mac. */
.ai { width: 100%; max-width: 580px; margin: 0 auto; }
.ai-stage { position: relative; aspect-ratio: 100 / 90; container-type: inline-size; }
.ai-window { position: absolute; right: 0; top: 0; width: 86cqw; }
.ai-window .mw { font-size: 1.55cqw; }
.ai-iphone { position: absolute; right: 0; bottom: 0; width: 52cqw; padding: 1.1cqw; border-radius: 5.4cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 3cqw 6cqw #1d1d1f3d, 0 .6cqw 1.2cqw #1d1d1f24; z-index: 3; }
.ai-ipad { position: absolute; left: 0; bottom: 4cqw; width: 46cqw; padding: 1.5cqw; border-radius: 3.6cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #c7c7cc, 0 3cqw 6cqw #1d1d1f2e; z-index: 2; }
.ai-ipad .ai-screen { aspect-ratio: 2420 / 1668; border-radius: 2.2cqw; }
.ai-ipad .ai-mirror { top: 50%; bottom: auto; left: 0; width: 100%; transform: translateY(-50%); }
.ai-ipad .ai-tray { right: 2%; gap: 1cqw; }
.ai-ipad .ai-tray i { width: 5cqw; height: 5cqw; font-size: 2.5cqw; }
.ai-ipad .ai-tray svg { width: 2.8cqw; height: 2.8cqw; }
.ai-screen { position: relative; aspect-ratio: 874 / 402; overflow: hidden; border-radius: 4.8cqw; background: #000; container-type: inline-size; }
.ai-mirror { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 16 / 10; transform: translateX(-50%); background: var(--mac-wallpaper); container-type: inline-size; }
.ai-mirror .pn-menubar { height: 6%; }
.ai-cat { position: absolute; left: 17%; top: 12%; width: 66%; font-size: 3.5cqw; border-radius: 3cqw; }
.ai-cat .me-cat-bar { height: 7cqw; }
.ai-cat ul { padding: 2cqw 4cqw 3cqw; }
.ai-cat li { padding: 1.6cqw 0; }
.ai-cat li.is-hit { background: #0071e312; }
.ai-cursor { width: 5cqw; height: 7cqw; margin: 0; }
.ai-tray { position: absolute; right: 3%; top: 50%; display: flex; flex-direction: column; gap: 1.4cqw; transform: translateY(-50%); }
.ai-tray i { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #ffffff21; box-shadow: inset 0 0 0 1px #ffffff40; color: #fff; font: normal 600 3.2cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; transition: opacity .35s ease, transform .35s ease; }
.ai-tray i.hd-t { font-size: 2.2cqw; }
.ai-tray svg { width: 3.6cqw; height: 3.6cqw; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.ai-device[data-input="false"] .ai-tray .ai-t { opacity: 0; transform: scale(.6); }
.ai .st-f, .ai .st-ripple { z-index: 5; }
.ai .st-f { transition: opacity .2s ease; }
.ai[data-on="true"] .st-switch { background: var(--blue); }
.ai[data-on="true"] .st-knob { transform: translateX(18px); }
.ai-label { min-height: 3.1em; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .ai-tray i, .ai .st-f, .mw-toggle, .mw-toggle::after, .ai-cat li::before { transition: none; } }

/* Shared: pause control for the looping showcases (WCAG 2.2.2). */
.demo-toggle { display: none; min-height: 32px; margin: 6px auto 0; padding: 4px 12px; border: 0; border-radius: 999px; background: none; color: var(--blue); font-size: 13px; }
.demo-toggle:hover { text-decoration: underline; }
.js .demo-toggle:not([hidden]) { display: block; }

/* Precise Control showcase: the app's two-finger precision pointer. */
.pc-copy .intro { margin-bottom: 26px; }
.pc { width: 100%; max-width: 560px; margin: 0 auto; }
.pc-stage { display: grid; place-items: center; padding: 56px 0 64px; border-radius: 26px; background: var(--wash); box-shadow: inset 0 0 0 1px #0000000a; overflow: hidden; }
.pc-window { position: relative; width: 76%; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #0000001a, 0 20px 44px #1d1d1f1c, 0 2px 6px #0000000a; overflow: hidden; }
.pc-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; }
.pc-bar i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #d2d2d7; }
.pc-bar span { flex: 1; margin-right: 40px; color: #6e6e73; font-size: 12px; font-weight: 600; text-align: center; }
.pc-list { padding: 12px 16px 54px; }
.pc-row { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 8px; border-radius: 6px; font-size: 14px; line-height: 1.3; color: var(--ink); transition: background-color .2s ease; }
.pc-row.is-hover { background: #0071e312; }
.pc-box { position: relative; flex: none; width: 13px; height: 13px; border: 1.5px solid #b8b8bd; border-radius: 4px; background: #fff; transition: background-color .15s ease, border-color .15s ease; }
.pc-row.is-checked .pc-box { border-color: var(--blue); background: var(--blue); }
.pc-row.is-checked .pc-box::after { content: ""; position: absolute; left: 3.5px; top: .5px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.pc .st-f { transition: opacity .2s ease; }
.pc .st-badge { top: auto; bottom: 12px; }
.pc-label, .pip-label { min-height: 3.1em; margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink); }
@media (max-width: 680px) { .pc-stage { padding: 36px 0 44px; } .pc-window { width: 90%; } .pc-row { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .pc-row, .pc-box, .pc .st-f, .pc .st-badge { transition: none; } }

/* Picture in Picture showcase: the system window over another app. */
.pip-section { border-bottom: 1px solid #00000010; }
.pip-copy .intro { margin-bottom: 30px; }
.pip { width: 100%; max-width: 420px; margin: 0 auto; }
.pip-phone { width: min(290px, 76%); margin: 0 auto; padding: 9px; border-radius: 48px; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 30px 60px #1d1d1f24, 0 4px 12px #1d1d1f1a; }
.pip-screen { position: relative; aspect-ratio: 402 / 874; border-radius: 40px; overflow: hidden; background: #f2f2f7; container-type: inline-size; }
.pip-island { position: absolute; left: 50%; top: 2.4%; width: 31%; height: 3.4%; border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 7; }
.pip-app { position: absolute; inset: 0; padding: 32cqw 7cqw 0; }
.pip-app-head b { display: block; width: 44%; height: 6cqw; margin-bottom: 5cqw; border-radius: 2cqw; background: #1d1d1f; }
.pip-app-head span { display: block; height: 9cqw; margin-bottom: 6cqw; border-radius: 3cqw; background: #e3e3e8; }
.pip-app i { display: block; height: 14cqw; margin-bottom: 3cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 .3cqw 1cqw #0000000a; }
.pip-app i::before { content: ""; display: block; width: 58%; height: 3cqw; margin: 3.6cqw 0 0 5cqw; border-radius: 2cqw; background: #d8d8dd; }
.pip-app i::after { content: ""; display: block; width: 36%; height: 2.4cqw; margin: 2cqw 0 0 5cqw; border-radius: 2cqw; background: #e8e8ed; }
.pip-receiver { position: absolute; inset: 0; background: #000; transition: opacity .45s ease; z-index: 2; }
.pip-tray { position: absolute; left: 50%; bottom: 7%; display: flex; gap: 2cqw; transform: translateX(-50%); }
.pip-tray i { display: grid; place-items: center; width: 9.5cqw; height: 9.5cqw; border-radius: 50%; background: #ffffff21; box-shadow: inset 0 0 0 1px #ffffff40; color: #fff; font: normal 600 4.4cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.pip-tray i.hd-t { font-size: 3.2cqw; }
.pip-window { position: absolute; left: 0; top: 35.6%; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; z-index: 4; transition: left .6s cubic-bezier(.2,.7,.2,1), top .6s cubic-bezier(.2,.7,.2,1), width .6s cubic-bezier(.2,.7,.2,1), border-radius .6s ease, box-shadow .6s ease; }
.pip[data-stage="window"] .pip-receiver { opacity: 0; }
.pip[data-stage="window"] .pip-window { left: 39%; top: 8%; width: 55%; border-radius: 3.4cqw; box-shadow: 0 3cqw 8cqw #00000047, 0 0 0 1px #00000014; }
.pip-mac { position: absolute; inset: 0; background: var(--mac-wallpaper); }
.pip-mac .pn-menubar { position: absolute; left: 0; right: 0; top: 0; height: 6%; }
.pip-mac-window { position: absolute; left: 14%; top: 14%; width: 72%; border: 0; border-radius: 4%; box-shadow: 0 2px 10px #00000052; }
.pip-tour { position: relative; aspect-ratio: 720 / 520; }
.pip-tour img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.pip-tour img.is-on { opacity: 1; }
.pip-controls { position: absolute; inset: 0; background: #00000057; opacity: 0; transition: opacity .25s ease; }
.pip[data-controls="true"] .pip-controls { opacity: 1; }
.pip-controls span { position: absolute; display: grid; place-items: center; width: 8cqw; height: 8cqw; }
.pip-controls svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pip-close { left: 5%; top: 7%; }
.pip-restore { right: 5%; top: 7%; }
.pip-play { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pip-home { position: absolute; left: 50%; bottom: 1.3%; width: 36%; height: .6%; border-radius: 99px; background: #ffffffd9; transform: translateX(-50%); z-index: 6; transition: background-color .45s ease; }
.pip[data-stage="window"] .pip-home { background: #1d1d1f; }
.pip .st-ripple, .pip .st-f { z-index: 8; }
.pip .st-f { transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { .pip-receiver, .pip-window, .pip-tour img, .pip-controls, .pip-home, .pip .st-f { transition: none; } }

/* Apple Pencil showcase */
.pencil { overflow: hidden; }
.pencil-heading { max-width: 720px; }
.pn { max-width: 980px; margin: 0 auto; }
.pn-stage { --tilt: -8deg; position: relative; aspect-ratio: 16 / 8.4; container-type: inline-size; user-select: none; -webkit-user-select: none; }
.pn-mac { position: absolute; left: 3%; top: 1%; width: 63%; }
.pn-lid { padding: 1.9% 1.9% 2.6%; border-radius: 2.2cqw 2.2cqw .6cqw .6cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #b9b9be, 0 30px 60px #1d1d1f1f; }
.pn-screen { position: relative; aspect-ratio: 16 / 10; border-radius: .7cqw; overflow: hidden; background: var(--mac-wallpaper); }
.pn-menubar { display: flex; align-items: center; gap: 2.4%; height: 5%; padding: 0 2.6%; background: #ffffff33; }
.pn-menubar i { width: 5%; height: 34%; border-radius: 2px; background: #ffffffcc; }
.pn-menubar i:first-child { width: 2%; }
.pn-app { position: absolute; left: 21%; top: 12%; width: 58%; border-radius: .9cqw; background: #fff; box-shadow: 0 1.4cqw 3cqw #00000059, 0 0 0 1px #0000001f; overflow: hidden; }
.pn-app-bar { position: relative; display: flex; align-items: center; gap: .5cqw; height: 2.4cqw; padding: 0 .9cqw; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; }
.pn-app-bar i { width: .8cqw; height: .8cqw; border-radius: 50%; background: #d2d2d7; }
.pn-app-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: max(8px, 1.05cqw); font-weight: 600; color: #6e6e73; }
.pn-base { position: relative; width: 114%; height: 1.5cqw; margin-left: -7%; border-radius: 0 0 1.6cqw 1.6cqw / 0 0 1.1cqw 1.1cqw; background: linear-gradient(#e8e8eb, #c3c3c8 70%, #a9a9ae); }
.pn-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; margin-left: -7%; border-radius: 0 0 .8cqw .8cqw; background: #b3b3b8; }
.pn-canvas { display: block; width: 100%; aspect-ratio: 4 / 3; background: #fff; }
.pn-ipad { position: absolute; right: 3%; bottom: 4%; width: 41%; padding: 1.5cqw; border-radius: 2.8cqw; background: #1d1d1f; box-shadow: 0 0 0 1.5px #c7c7cc, 0 3cqw 5cqw #1d1d1f33, 0 .6cqw 1.2cqw #1d1d1f1f; transform: rotate(var(--tilt)); touch-action: pan-y; cursor: crosshair; z-index: 2; }
.pn-ipad-screen { border-radius: 1.3cqw; overflow: hidden; }
.pn-ink path { fill: none; stroke: var(--blue); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .6s ease; }
.pn-ink path.is-fading { opacity: 0; }
.pn-hover-dot { fill: #0071e31f; stroke: #0071e399; stroke-width: 1.2; transition: opacity .2s ease; }
.pn[data-state="draw"] .pn-hover-dot { opacity: 0; }
.pn-mac-cursor { fill: #1d1d1f; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.pn-pencil { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; --lift: -2.4cqw; --shadow-x: 2.2cqw; --shadow-blur: 5px; }
.pn[data-state="draw"] .pn-pencil { --lift: 0px; --shadow-x: .5cqw; --shadow-blur: 2px; }
.pn-pencil-body, .pn-pencil-shadow { position: absolute; left: -.75cqw; bottom: 0; width: 1.5cqw; height: 25cqw; transform-origin: 50% 100%; }
.pn-pencil-body { transform: translateY(var(--lift)) rotate(30deg); transition: transform .22s cubic-bezier(.2, .7, .2, 1); pointer-events: auto; touch-action: none; cursor: grab; }
.pn[data-state="draw"] .pn-pencil-body { cursor: grabbing; }
.pn-pencil-body::before { content: ""; position: absolute; inset: 0 0 2.6cqw; border-radius: .45cqw .45cqw .1cqw .1cqw; background: linear-gradient(90deg, #dcdce0, #fff 38%, #f4f4f6 64%, #cfcfd4); box-shadow: 0 0 0 .5px #0000001f; }
.pn-tip { position: absolute; left: 0; right: 0; bottom: 0; height: 2.6cqw; clip-path: polygon(0 0, 100% 0, 60% 92%, 50% 100%, 40% 92%); background: linear-gradient(90deg, #c9c9ce, #f2f2f4 45%, #bcbcc2); }
.pn-pencil-shadow { border-radius: .8cqw; background: #1d1d1f2e; filter: blur(var(--shadow-blur)); transform: translateX(var(--shadow-x)) rotate(34deg); transition: transform .22s cubic-bezier(.2, .7, .2, 1), filter .22s ease; pointer-events: none; }
.pn-label { min-height: 1.55em; margin-top: 18px; text-align: center; font-size: 13px; color: var(--ink); }
.pn-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.pn-points p { margin: 0; font-size: 16px; color: var(--muted); }
.pn-points strong { color: var(--ink); }
.pn-note { margin: 36px 0 0; font-size: 14px; }
@media (max-width: 680px) { .pn-stage { aspect-ratio: 16 / 11; } .pn-mac { width: 72%; } .pn-ipad { width: 50%; right: 1%; bottom: 2%; } .pn-points { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .pn-pencil-body, .pn-pencil-shadow, .pn-ink path { transition: none; } }

/* Top pull easter egg: Wynter peeks over the page edge */
.peek { position: fixed; top: 44px; left: 0; right: 0; z-index: 20; height: 0; overflow: hidden; background: #fff; pointer-events: none; }
.peek-inner { position: absolute; left: 50%; bottom: 6px; width: 262px; transform: translateX(-50%); }
.peek-art { position: relative; height: 123px; overflow: hidden; transform-origin: 50% 100%; }
.peek-art img { position: absolute; left: 0; top: 0; width: 262px; height: 123px; will-change: transform; }
.peek-edge { height: 2px; margin: 0 -28px; background: #3c3c43; box-shadow: -4px 0 0 -1px #3c3c43, 4px 0 0 -1px #3c3c43; }
.peek-text { display: flex; align-items: center; justify-content: center; gap: 6px; height: 0; overflow: hidden; margin: 0; font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; color: #3c3c43; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.peek-text .spark:nth-child(1) { margin-right: 2px; }
.spark { position: relative; display: inline-block; width: 7px; height: 7px; opacity: .35; }
.spark::before, .spark::after { content: ""; position: absolute; background: #7f93ad; }
.spark::before { left: 3px; top: 0; width: 1px; height: 7px; }
.spark::after { left: 0; top: 3px; width: 7px; height: 1px; }
.spark:nth-child(2), .spark:nth-child(3) { width: 5px; height: 5px; transform: translateY(-5px); }
.spark:nth-child(2)::before, .spark:nth-child(3)::before { left: 2px; height: 5px; }
.spark:nth-child(2)::after, .spark:nth-child(3)::after { top: 2px; width: 5px; }
.peek.is-latched .peek-text { opacity: 1; transform: none; }
.peek.is-latched .peek-art { animation: peek-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.peek.is-latched .spark { animation: spark 2.4s ease-in-out infinite; }
.peek.is-latched .spark:nth-child(2) { animation-delay: .6s; }
.peek.is-latched .spark:nth-child(3) { animation-delay: 1.2s; }
.peek.is-latched .spark:nth-child(4) { animation-delay: 1.8s; }
@keyframes peek-pop { 0% { transform: scale(.97); } 60% { transform: scale(1.03); } 100% { transform: none; } }
@keyframes spark { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
html.is-peeking .release-note, html.is-peeking main { transform: translateY(var(--peek-gap, 0)); }

.footer-note { color: #86868b; }
@media (prefers-reduced-motion: reduce) {
  .peek-text, .peek-head, .peek-paws { transition: none; }
  .peek.is-latched .peek-art, .peek.is-latched .spark { animation: none; }
  .peek.is-latched .spark { opacity: .8; }
}

/* No display required: clamshell / headless */
.nd-copy { max-width: 620px; }
.nd-copy .intro { margin-bottom: 30px; }
.nd-points { display: grid; gap: 18px; margin: 0 0 24px; }
.nd-points div { padding-left: 16px; border-left: 2px solid var(--line); }
.nd-points dt { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.nd-points dd { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
