/* Panevue — one stylesheet for every page. No external fonts or scripts.
   Black and glass, like the icon: graphite surfaces, white light, no coloured accents. */

:root {
  --bg: #000;
  --tile: #0c0c0e;
  --tile-2: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f5f7;
  --muted: #86868b;
  --soft: #a1a1a6;
  --max: 1080px;
  --wide: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(255, 255, 255, 0.22); }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; }
h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.038em; }
h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.028em; }
p { margin: 0; }

/* Silver, like the glass in the icon */
.silver, h1, h2 {
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 40%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* The gradient only paints inside the box: room for g, p, y on the last line */
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

.kicker { display: block; font-family: var(--display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--soft); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: clamp(19px, 1.7vw, 21px); line-height: 1.43; letter-spacing: -0.02em; font-weight: 400; }
.lead strong { color: var(--text); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; letter-spacing: -0.01em; }
sup { font-size: .55em; line-height: 0; vertical-align: super; margin-left: 1px; }
sup a { text-decoration: none; color: var(--muted); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 12.5px; letter-spacing: -0.01em; }
.nav-links a { text-decoration: none; color: var(--soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn-sm { margin-left: 4px; }
.nav-links + .btn-sm { margin-left: 0; }
.lang { margin-left: auto; font-size: 12.5px; color: var(--soft); text-decoration: none; padding: 3px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: color .2s; }
.lang:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Buttons and links */
.ctas { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 17px; font-weight: 400; text-decoration: none; letter-spacing: -0.022em;
  background: #f5f5f7; color: #000;
  transition: background .25s, transform .25s var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 28px; padding: 0 13px; font-size: 12.5px; letter-spacing: -0.01em; }
.link { color: var(--text); text-decoration: none; font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(2px, -1px); }
.soon { color: var(--muted); font-size: 17px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: default; }
.soon svg { width: 18px; height: 18px; }
.soon b { font-weight: 400; color: var(--text); }

/* Device frames: a graphite bezel with a polished rim. Padding and radii are proportional,
   so the bezel keeps its look at any size. */
.frame {
  --bz: 2.3%; --r: 6.6% / 5%; --ri: 4.6% / 3.45%;
  position: relative; display: block;
  padding: var(--bz); border-radius: var(--r);
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #0b0b0c, #050505) padding-box,
    linear-gradient(155deg, #6e6e73 0%, #2c2c2e 18%, #0e0e0f 45%, #1c1c1e 75%, #545458 100%) border-box;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .9);
}
.frame img { border-radius: var(--ri); width: 100%; background: #0a0a0a; }
.frame.land { --r: 5% / 6.6%; --ri: 3.45% / 4.6%; }
.frame.phone { --bz: 3.3%; --r: 15.6% / 7.2%; --ri: 12.6% / 5.8%; }
.frame.phone.land { --bz: 1.5%; --r: 7.2% / 15.6%; --ri: 5.8% / 12.6%; }
.frame.duo { --bz: 1.9%; --r: 4.8% / 6.8%; --ri: 3.5% / 5%; }
.frame.duo-closed { --bz: 3.5%; --r: 11% / 7.6%; --ri: 8.4% / 5.8%; }

/* Show only the top or the bottom of a device, fading into the black */
.crop { overflow: hidden; }
.crop.top.short { aspect-ratio: 1 / .72; }
.crop.top.mid { aspect-ratio: 1 / 1; }
.crop.top { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.crop.bottom { display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(transparent, #000 28%); mask-image: linear-gradient(transparent, #000 28%); }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; overflow: hidden; position: relative; }
.hero .product { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero .product img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 40px rgba(255,255,255,.12); }
.hero h1 { margin-inline: auto; }
.hero .lead { max-width: 640px; margin: 22px auto 34px; }
.hero .ctas { justify-content: center; }
.hero .req { margin-top: 22px; color: var(--muted); font-size: 14px; }

.stage { position: relative; margin: 88px auto 0; width: min(1120px, 100% - 32px); isolation: isolate; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 2%; width: 120%; height: 90%; translate: -50% 0; z-index: -1;
  background: radial-gradient(50% 50% at 50% 45%, rgba(255,255,255,.13), rgba(255,255,255,.03) 55%, transparent 75%);
}
.stage .ipad { width: 62%; margin-left: 11%; }
.stage .phone { position: absolute; right: 7%; bottom: -1%; width: 23.5%; }
.stage::after { content: ""; position: absolute; inset: auto -10% -2px; height: 30%; background: linear-gradient(transparent, #000); pointer-events: none; }
@media (max-width: 760px) { .stage .ipad { width: 74%; margin-left: 4%; } .stage .phone { right: 2%; width: 30%; } }

/* Load-in for the hero */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: none; } }
.hero .product, .hero h1, .hero .lead, .hero .ctas, .hero .req { animation: rise 1s var(--ease) both; }
.hero h1 { animation-delay: .08s; }
.hero .lead { animation-delay: .16s; }
.hero .ctas { animation-delay: .24s; }
.hero .req { animation-delay: .3s; }
.stage .ipad { animation: settle 1.4s var(--ease) .25s both; }
.stage .phone { animation: settle 1.4s var(--ease) .45s both; }

/* Sections */
section { padding: 150px 0; position: relative; }
@media (max-width: 760px) { section { padding: 96px 0; } .hero { padding-top: 64px; } .stage { margin-top: 60px; } }
.head { max-width: 820px; margin-bottom: 64px; }
.head.center { text-align: center; margin-inline: auto; }
.head .lead { margin-top: 22px; }
.head.center .lead { margin-inline: auto; max-width: 680px; }
.divider { border-top: 1px solid var(--line); }

/* Highlights gallery */
.highlights { padding-top: 120px; }
.highlights .head { margin-bottom: 40px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(372px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 8px;
  scroll-padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.tile {
  scroll-snap-align: start;
  position: relative; overflow: hidden;
  height: 680px; border-radius: 28px;
  background: radial-gradient(90% 60% at 50% 100%, rgba(255,255,255,.09), transparent 70%), var(--tile);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 36px 32px 0;
  display: flex; flex-direction: column;
}
.tile h3 { font-size: 28px; line-height: 1.14; letter-spacing: -0.03em; }
.tile p { color: var(--muted); margin-top: 10px; font-size: 17px; line-height: 1.4; }
.tile .shot { margin-top: auto; display: flex; justify-content: center; align-items: flex-end; flex: 1; padding-top: 36px; }
.tile .shot:has(.land) { justify-content: flex-start; }
.tile .shot .frame.phone { width: 84%; margin-bottom: -38%; }
/* Upside down: the phone hangs from the top, the caption sits below (shows the bottom of the screen) */
.tile.flip { padding: 0 32px 36px; }
.tile.flip .shot { order: -1; align-items: flex-start; padding: 0 0 28px; margin: 0; min-height: 0; overflow: hidden; }
.tile.flip h3, .tile.flip p { flex: none; }
.tile.flip .shot .frame.phone { margin: -38% 0 0; }
.tile .shot .frame.phone.land { width: 150%; max-width: none; flex: none; margin: 0 0 30% 22%; }
.tile .shot .frame.duo-closed { width: 74%; margin-bottom: -16%; }
.gallery-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 28px; }
.gallery-nav .controls { grid-column: 2; display: flex; align-items: center; gap: 12px; }
.gallery-nav .arrows { grid-column: 3; justify-self: end; display: flex; gap: 14px; }
.gallery-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.1); color: var(--text); display: grid; place-items: center;
  transition: background .2s, opacity .2s;
}
.gallery-nav button:hover { background: rgba(255,255,255,.16); }
.gallery-nav button:disabled { opacity: .35; cursor: default; }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav button:focus-visible, .dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Progress dots, like apple.com: the current one stretches */
.dots { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.1); }
.gallery-nav .dots .dot { width: auto; height: 24px; padding: 0 3px; border-radius: 0; background: none; }
.dot span { display: block; position: relative; overflow: hidden; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.42); transition: width .45s var(--ease), background .3s; }
.dot:hover span { background: rgba(255,255,255,.7); }
.dot.active span { width: 44px; background: #f5f5f7; }
@media (max-width: 600px) { .gallery-nav { grid-template-columns: auto 1fr; } .gallery-nav .controls { grid-column: 1; } .gallery-nav .arrows { grid-column: 2; } }
.no-js .gallery-nav { display: none; }
/* Pinned: the section stays on screen while the page scroll moves the cards (site.js sets its height) */
.highlights.pinned { padding: 0; }
.highlights.pinned .pin { position: sticky; top: 52px; height: calc(100vh - 52px); height: calc(100svh - 52px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.highlights.pinned .gallery { overflow-x: hidden; scroll-snap-type: none; scroll-behavior: auto; }
.highlights.pinned .tile { height: min(680px, calc(100svh - 330px)); min-height: 460px; }
.highlights.pinned .head { margin-bottom: 32px; }

/* Big feature with a full-width device */
.feature-img { margin-top: 72px; }
.feature-img .frame { width: min(1000px, 100%); margin-inline: auto; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 80px; }
.cols > div { border-top: 1px solid var(--line); padding-top: 22px; }
.cols h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.cols p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 56px; } }

/* iPhone Duo */
.duo-row { display: flex; align-items: flex-end; justify-content: center; gap: 4%; margin-top: 72px; }
.duo-row .frame.duo { width: 62%; }
.duo-row .frame.duo-closed { width: 24%; }
.duo-row figure { margin: 0; }
.duo-row figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.duo-row figure:first-child { width: 62%; }
.duo-row figure:last-child { width: 24%; }
.duo-row figure .frame { width: 100% !important; }

/* Speed */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.numbers b {
  display: block; font-variant-numeric: tabular-nums; font-family: var(--display); font-weight: 600;
  font-size: clamp(64px, 9vw, 128px); line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.numbers > div > span { display: block; margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 26ch; margin-inline: auto; }
.numbers .unit { font-size: .42em; letter-spacing: -0.02em; margin-left: .06em; }
@media (max-width: 760px) { .numbers { grid-template-columns: minmax(0, 1fr); gap: 56px; } }

/* Split: text and image side by side */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .lead { margin-top: 22px; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); gap: 56px; } .split.reverse > :first-child { order: 0; } }

.points { list-style: none; margin: 36px 0 0; padding: 0; }
.points li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* Bento tiles */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bento .card { min-height: 640px; }
@media (max-width: 860px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .card { min-height: 0; } }
.card {
  position: relative; overflow: hidden; border-radius: 28px;
  background: radial-gradient(100% 70% at 50% 100%, rgba(255,255,255,.08), transparent 70%), var(--tile);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 44px 40px 0; display: flex; flex-direction: column;
}
.card h3 { font-size: 32px; letter-spacing: -0.032em; }
.card p { color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 40ch; }
.card .shot { margin-top: 40px; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.card .shot { margin-inline: -40px; }
.card .shot .crop { width: 100%; height: 440px; align-items: center; }
.card .shot .crop .frame { width: 150%; flex: none; }
@media (max-width: 600px) { .card .shot .crop { height: 300px; } }
/* The gestures panel sits right of centre, a little below the middle */
.card .shot .crop.panel { justify-content: flex-start; align-items: flex-end; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.card .shot .crop.panel .frame { width: 135%; margin-top: -70%; margin-right: 0; }
.card.text { padding-bottom: 44px; }

/* "And there's more": icons without boxes */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
@media (max-width: 860px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.more svg { width: 34px; height: 34px; stroke: var(--text); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.more h3 { font-size: 19px; letter-spacing: -0.02em; }
.more p { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* Privacy */
.privacy-mark {
  width: 120px; height: 120px; margin: 0 auto 40px; border-radius: 34px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.privacy-mark svg { width: 52px; height: 52px; stroke: #fff; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Mac app */
.mac-art { display: grid; place-items: center; position: relative; isolation: isolate; }
.mac-art::before { content: ""; position: absolute; z-index: -1; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent); }
.mac-art img { width: min(360px, 76%); filter: drop-shadow(0 40px 80px rgba(0,0,0,.9)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps > div { border-top: 1px solid var(--line); padding-top: 24px; }
.steps > div::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.04em; color: var(--muted); line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Download */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .downloads { grid-template-columns: minmax(0, 1fr); } }
.download {
  border-radius: 28px; padding: 64px 40px 56px;
  background: radial-gradient(100% 70% at 50% 0%, rgba(255,255,255,.08), transparent 65%), var(--tile);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.download img { width: 108px; height: 108px; border-radius: 24px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(255,255,255,.07); }
.download .icon-mac { border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 50px rgba(255,255,255,.08)); }
.download h3 { font-size: 28px; }
.download p { color: var(--muted); max-width: 34ch; }
.download .ctas { margin-top: auto; padding-top: 22px; justify-content: center; }

/* Requirements */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 64px; }
.specs > div { border-top: 1px solid var(--line); padding: 20px 0; }
.specs h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.specs p { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .specs { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.024em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 28px; line-height: .8; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--muted); max-width: 68ch; }
.faq a { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 12px; letter-spacing: -0.01em; }
.footnotes { list-style: none; padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--line); counter-reset: note; }
.footnotes li { counter-increment: note; position: relative; padding-left: 14px; margin: 6px 0; line-height: 1.5; }
.footnotes li::before { content: counter(note) "."; position: absolute; left: 0; }
footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* Legal pages */
.doc { max-width: 720px; padding: 110px 0 140px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.doc h2 { font-size: 24px; margin: 56px 0 14px; letter-spacing: -0.025em; background: none; color: var(--text); }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }

/* Reveal on scroll (only with JavaScript, see site.js) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Motion tied to scrolling (Safari 26, Chrome, Edge). Elsewhere the reveal above is used. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .js .reveal, .js .reveal.in {
      opacity: 1; transform: none; transition: none;
      animation: sd-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 75%;
    }
    /* Devices come closer as they scroll in */
    .duo-row .frame, .split .crop .frame, .card .shot .frame, .mac-art img {
      animation: sd-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 40%;
    }
    .feature-img .frame { animation: sd-zoom-big linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    /* Hero: the copy recedes, the iPhone rises faster than the iPad */
    .hero > .wrap { animation: sd-hero-out linear both; animation-timeline: scroll(root); animation-range: 20vh 90vh; }
    .stage .ipad { animation: settle 1.4s var(--ease) .25s both, sd-par-ipad linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 110vh; }
    .stage .phone { animation: settle 1.4s var(--ease) .45s both, sd-par-phone linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 110vh; }
    /* Big numbers grow into place */
    .numbers b { animation: sd-num linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@keyframes sd-rise { from { opacity: 0; translate: 0 72px; } to { opacity: 1; translate: 0 0; } }
@keyframes sd-zoom { from { opacity: .2; scale: .84; } to { opacity: 1; scale: 1; } }
@keyframes sd-zoom-big { from { opacity: .25; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes sd-hero-out { to { opacity: .3; translate: 0 -40px; scale: .97; } }
@keyframes sd-par-ipad { to { translate: 0 -40px; } }
@keyframes sd-par-phone { to { translate: 0 -170px; } }
@keyframes sd-num { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  html, .gallery { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.mt { margin-top: 36px; }
@media (max-width: 600px) { .tile { height: 560px; padding: 30px 26px 0; } .tile h3 { font-size: 24px; } }
