/* New Inklings: loosely apple.com, minimalist, bright and airy. A slim translucent bar, big tight
   headlines, a lot of white space, rounded tiles on the lightest gray, blue "Learn more ›" links.
   The home page opens on a stage: one app at a time, its graphic in the middle, a big soft-white
   Buy button, rotating every ten seconds. The site stays light in Dark Mode, as apple.com does. */

@property --glow { syntax: '<color>'; inherits: true; initial-value: #eef3fb; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --link: #0066cc;
  --blue: #0071e3;
  --nav: rgba(255, 255, 255, 0.78);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pencil: "Noteworthy", "Bradley Hand", "Segoe Print", "Comic Neue", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- the global bar */
.globalnav { position: sticky; top: 0; z-index: 20; height: 44px; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.globalnav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.links { display: flex; margin: 0; padding: 0; list-style: none; }
.links a { display: block; padding: 0 11px; line-height: 44px; font-size: 12px; color: var(--text); opacity: 0.8; letter-spacing: -0.01em; }
.links a:hover, .links a.current { opacity: 1; text-decoration: none; }
.menu { display: none; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.menu span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: var(--text); transition: transform .25s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 833px) {
  .menu { display: block; }
  .links { display: none; position: absolute; top: 44px; left: 0; right: 0; flex-direction: column; padding: 12px 34px 28px; background: #fff; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { font-size: 24px; font-weight: 600; line-height: 1.6; padding: 0; opacity: 1; }
}

/* ---------------------------------------------------------------- an app's own bar */
.subnav { position: sticky; top: 44px; z-index: 19; height: 52px; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.subnav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav-title { color: var(--text); font-size: 21px; font-weight: 600; white-space: nowrap; }
.subnav-title:hover { text-decoration: none; }
.subnav-links { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.subnav-links a:not(.pill) { color: var(--text); opacity: 0.8; }
.subnav-links a.current { opacity: 1; font-weight: 600; }
@media (max-width: 600px) { .subnav-title { font-size: 17px; } .subnav-title .pre, .subnav-links .ov { display: none; } .subnav-links { gap: 16px; } }
@media (max-width: 360px) { .subnav-inner { padding: 0 14px; } .subnav-title { font-size: 16px; } .subnav-links { gap: 12px; } }

/* ---------------------------------------------------------------- buttons and links */
.more { white-space: nowrap; }
.more::after { content: " ›"; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.pill:hover { background: #0077ed; text-decoration: none; }
/* The big soft-white Buy button: white, lit from above, floating on a soft shadow. */
.buy {
  display: inline-flex; align-items: center; justify-content: center; min-width: 176px; height: 58px; padding: 0 40px;
  border-radius: 999px; color: var(--text); font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #fafafb 60%, #f3f3f5 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(28, 32, 48, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.buy:hover { text-decoration: none; transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,.06), 0 16px 36px rgba(28, 32, 48, 0.16); }
.buy:active { transform: translateY(1px); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.08), 0 6px 16px rgba(28, 32, 48, 0.12); }
/* Who looks at a screen: the paper apps' students never do; the others' work in the app. */
.screentime { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px 8px; margin: 16px auto 0; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.screentime .st-icon { width: 18px; height: 18px; flex: none; }
.screentime strong { font-weight: 600; }
.screentime .st-detail { opacity: .8; }
.screentime .st-detail::before { content: "·"; margin-right: 8px; opacity: .55; }
.screentime.paper { color: #1d6b45; background: #e8f6ee; box-shadow: inset 0 0 0 1px rgba(29, 107, 69, .14); }
.screentime.screen { color: #0a58c2; background: #e9f1ff; box-shadow: inset 0 0 0 1px rgba(10, 88, 194, .13); }
.screentime.small { margin: 14px 0 0; padding: 5px 12px 5px 9px; font-size: 13px; gap: 6px; }
.screentime.small .st-icon { width: 15px; height: 15px; }
.twin .screentime.small { display: flex; width: max-content; margin: 4px 0 14px; }
@media (max-width: 600px) { .twin .screentime.small { margin: 4px auto 14px; } }
@media (max-width: 480px) { .screentime .st-detail { display: none; } .screentime { padding-right: 14px; } }
@media (max-width: 420px) and (max-height: 700px) { .art { aspect-ratio: auto; height: 180px; } }
@media (max-width: 420px) { .stage { padding-top: 20px; } .slide-title { font-size: 34px; } .slide-sub { font-size: 17px; margin-top: 8px; } .slide .screentime { margin-top: 12px; } }
.eyebrow { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: var(--muted); letter-spacing: 0.005em; }

/* App icons, rounded as on a home screen */
.icon { display: block; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.10); }

/* ---------------------------------------------------------------- the stage */
.stage {
  position: relative; overflow: hidden; text-align: center; padding: 34px 22px 28px;
  background: radial-gradient(1100px 620px at 50% 58%, var(--glow), rgba(255,255,255,0) 70%), #fbfbfd;
  transition: --glow 1.2s ease;
}
.slides { display: grid; max-width: 1100px; margin: 0 auto; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s linear .7s; }
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s ease .15s, transform 1s cubic-bezier(.2,.7,.2,1) .15s, visibility 0s; }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 600; color: var(--muted); }
.slide-eyebrow .icon { width: 30px; height: 30px; border-radius: 22.5%; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.slide-title { margin-top: 8px; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.05; }
.slide-sub { max-width: 700px; margin: 12px auto 0; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.3; color: var(--muted); text-wrap: balance; }
.slide-actions { margin-top: 6px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; font-size: 19px; }

/* The graphic in the middle */
.art { position: relative; width: min(880px, 100%); height: clamp(250px, calc(100vh - 530px), 560px); margin: 18px auto 20px; }
/* Short screens (an iPad on its side, a small laptop): tighter type so the graphic keeps its room. */
@media (max-height: 820px) and (min-width: 601px) {
  .stage { padding-top: 22px; }
  .slide-title { font-size: clamp(34px, 4.2vw, 52px); }
  .slide-sub { margin-top: 8px; font-size: clamp(17px, 1.8vw, 21px); }
  .slide .screentime { margin-top: 12px; }
  .art { height: clamp(260px, calc(100vh - 445px), 560px); margin: 12px auto 14px; }
}
@media (max-width: 600px) { .art { height: auto; aspect-ratio: 680 / 440; } }
/* Depth, as apple.com stages its products: each graphic sits on a "lift" that floats, tilts towards
   the pointer (cards and paper) or slides a little against it (planets, the molecule, diagrams,
   whose angles must stay true), over a soft shadow on the floor that answers its height. --tx and
   --ty (-1..1) come from stage.js: the pointer, or a slow sway when there is none. */
.lift { position: absolute; inset: 0; will-change: transform; }
.lift > svg, .lift > .still, .lift > .art-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lift > .still { object-fit: contain; transition: opacity .5s ease; }
.art.live .still { opacity: 0; }
.art-paper .lift { transform-style: preserve-3d; }
.art-planet .lift { animation: bob 7s ease-in-out infinite; }
.slide:not(.active) .lift, .slide:not(.active) .floor { animation-play-state: paused; }
.art-card .lift { animation: bob-small 6s ease-in-out infinite; }
.floor {
  position: absolute; left: 50%; bottom: 0; width: 58%; height: 34px; pointer-events: none;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(22, 30, 54, 0.26), rgba(22, 30, 54, 0.10) 55%, rgba(22, 30, 54, 0));
  filter: blur(5px);
}
.art-earth .floor { width: 44%; bottom: -4%; animation: floor 7s ease-in-out infinite; }
.art-saturn .floor { width: 46%; bottom: 4%; animation: floor 7s ease-in-out infinite; opacity: .8; }
.art-card .floor { width: 72%; bottom: -3%; animation: floor 6s ease-in-out infinite; }
.art-diagram .floor { width: 82%; height: 26px; bottom: 7%; left: 47%; }
.art-planet .still, .art-planet .art-canvas { filter: drop-shadow(0 18px 26px rgba(20, 40, 90, 0.14)); }
@keyframes bob { 0%, 100% { translate: 0 -7px; } 50% { translate: 0 7px; } }
@keyframes bob-small { 0%, 100% { translate: 0 -4px; } 50% { translate: 0 4px; } }
@keyframes floor { 0%, 100% { scale: .88 1; opacity: .7; } 50% { scale: 1.05 1; opacity: 1; } }
.art-molecule .caption { position: absolute; left: 0; right: 0; bottom: 4px; font-size: 13px; color: var(--faint); letter-spacing: 0; }
.art-molecule .caption sub { font-size: 9px; }
.art-card .lift > svg, .art-diagram .lift > svg { overflow: visible; }
/* A printed page on a little stack of sheets, tipped back on the desk, its lower edge fading into
   the light, and a pencil lying beside it. */
.art-paper { perspective: 1600px; }
.art-paper .paper {
  position: absolute; left: 50%; top: 2%; width: 74%; height: 100%; overflow: hidden;
  transform: translateX(-50%) rotateX(14deg) rotateZ(-2.5deg); transform-origin: 50% 0;
  border-radius: 3px; background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 2px 6px rgba(40,36,30,.08), 0 24px 54px rgba(40, 36, 30, 0.18);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 94%); mask-image: linear-gradient(to bottom, #000 60%, transparent 94%);
}
.art-paper .paper.under1 { transform: translateX(-50%) rotateX(14deg) rotateZ(0.8deg) translate(10px, 7px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 14px 34px rgba(40,36,30,.12); }
.art-paper .paper.under2 { transform: translateX(-50%) rotateX(14deg) rotateZ(-6deg) translate(-16px, 14px); background: #fbfbfa; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 26px rgba(40,36,30,.10); }
.art-paper .paper svg { display: block; width: 100%; height: auto; }
.lift > .pencil-prop {
  position: absolute; inset: auto; width: 36%; right: -13%; top: 46%; height: auto;
  transform: translateZ(70px) rotate(-64deg); transform-origin: 50% 50%;
  filter: drop-shadow(2px 7px 5px rgba(40, 32, 20, 0.28)) drop-shadow(1px 2px 1px rgba(40, 32, 20, 0.18));
}
@media (max-width: 600px) { .lift > .pencil-prop { width: 34%; right: -12%; top: 50%; } }

/* The picker: every app's icon, the current one with its ten-second bar */
.stage-controls { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 4px; }
.picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06); }
.pick { position: relative; width: 34px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .78; filter: saturate(.85); transition: opacity .3s, transform .3s, filter .3s; }
.pick:hover { opacity: 1; filter: none; }
.pick.on { opacity: 1; filter: none; transform: translateY(-1px) scale(1.08); }
.pick img { width: 30px; height: 30px; border-radius: 22.5%; display: block; margin: 0 auto; box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.pick .bar { position: absolute; left: 4px; right: 4px; bottom: 0; height: 3px; border-radius: 2px; background: rgba(0,0,0,.08); overflow: hidden; opacity: 0; transition: opacity .3s; }
.pick.on .bar { opacity: 1; }
.pick .bar i { display: block; width: 100%; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }
.pick.on .bar i { animation: fill 10s linear forwards; }
.stage.paused .pick.on .bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.pause { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.72); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06); display: grid; place-items: center; }
.pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid var(--text); border-right: 3px solid var(--text); box-sizing: border-box; }
.pause.is-paused::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--text); margin-left: 3px; }
@media (max-width: 600px) {
  .stage { padding-top: 28px; }
  .art { margin: 18px auto; }
  .stage-controls { gap: 8px; }
  .picker { flex-wrap: nowrap; gap: 2px; padding: 5px 8px; }
  .pick { width: 27px; height: 34px; }
  .pick img { width: 23px; height: 23px; }
  .pick .bar { left: 3px; right: 3px; }
  .pause { width: 36px; height: 36px; }
  .art-paper .paper { width: 92%; }
}

/* ---------------------------------------------------------------- the graphics' own ink */
.sheet text, .card text, .diagram text { font-family: var(--font); letter-spacing: 0; }
.sheet text.pencil, .card text.pencil { font-family: var(--pencil); }
.sh-app { font-size: 10px; fill: var(--faint); letter-spacing: .02em; }
.sh-title { font-size: 21px; font-weight: 700; fill: var(--text); }
.sh-label { font-size: 12px; fill: var(--muted); }
.sh-line { stroke: #b8b8bf; stroke-width: 1; fill: none; }
.sh-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; fill: #3a3a3f; }
.sh-rule { stroke: #e2e2e6; stroke-width: 1; }
.sh-num { font-size: 13px; font-weight: 600; fill: var(--muted); }
.sh-q { font-size: 13.5px; fill: var(--text); }
.sh-big { font-size: 21px; fill: var(--text); font-variant-numeric: tabular-nums; }
.sh-small { font-size: 11.5px; fill: #3a3a3f; }
.sh-axis { font-size: 10px; fill: var(--muted); }
.sh-clock { font-size: 10.5px; fill: var(--text); }
.sh-vec { font-size: 14px; font-style: italic; fill: var(--text); }
.sh-badge { font-size: 11px; font-weight: 700; fill: var(--text); }
.sh-ink { stroke: var(--text); stroke-width: 1.3; }
.sh-ink.thin { stroke-width: .8; }
.sh-ink.thick { stroke-width: 2.6; }
.sh-tick { stroke: var(--text); stroke-width: .7; }
.sh-tick5 { stroke: var(--text); stroke-width: 1.2; }
.sh-hand-h { stroke: var(--text); stroke-width: 3.2; stroke-linecap: round; }
.sh-hand-m { stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.sh-grid { stroke: #ececf0; stroke-width: 1; }
.sh-dash { stroke: #8e8e93; stroke-width: 1; stroke-dasharray: 4 3; fill: none; }
.traj { stroke: #0a84ff; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.sh-wire { stroke: var(--text); stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.sh-glass { stroke: #7d8794; stroke-width: 1.4; fill: none; }
.sh-meniscus { stroke: #2b6cb0; stroke-width: 1.6; fill: none; }
.sh-particle { fill: #b9cde6; stroke: #4a6c96; stroke-width: 1; }
.sh-country { stroke: #3a3a3f; stroke-width: .7; stroke-linejoin: round; }
.pencil { font-family: var(--pencil); font-size: 17px; fill: #4a4a54; }
.pencil.big { font-size: 21px; }
.pencil.small { font-size: 12px; }
.ui-title { font-size: 22px; font-weight: 700; fill: var(--text); }
.ui-sub { font-size: 13px; fill: var(--faint); }
.ui-num { font-size: 13px; font-weight: 600; fill: var(--faint); }
.ui-q { font-size: 22px; fill: var(--text); font-variant-numeric: tabular-nums; }
.ui-ans { font-size: 22px; font-weight: 600; fill: #0a6cff; font-variant-numeric: tabular-nums; }
.ui-blank { stroke: #c7c7cc; stroke-width: 1.4; }
.ui-bar { stroke: var(--text); stroke-width: 1.6; }
.ui-bar-ans { stroke: #0a6cff; stroke-width: 1.8; }
.ui-score { font-size: 17px; font-weight: 700; fill: #1f9d55; }
.fbd-label { font-size: 13px; fill: var(--text); }
.fbd-mass { font-size: 13px; font-weight: 600; fill: var(--text); }
.fbd-vec { font-size: 16px; font-style: italic; font-weight: 600; }
.fbd-comp { fill: none; stroke: #b0b0b6; stroke-width: 1; stroke-dasharray: 4 4; }
.fbd-given { font-size: 14px; fill: var(--muted); }
.fbd-q { font-size: 17px; fill: var(--text); }
.fbd-ans { font-size: 17px; font-weight: 600; fill: #0a6cff; font-variant-numeric: tabular-nums; }

/* Drawn in when the graphic starts (.play), each part after its delay --d */
.d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play .d { animation: draw 1s cubic-bezier(.4,0,.2,1) var(--d, 0s) forwards; }
.w { -webkit-clip-path: inset(-20% 100% -20% 0); clip-path: inset(-20% 100% -20% 0); }
.play .w { animation: write .55s ease-out var(--d, 0s) forwards; }
.pop { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.play .pop { animation: pop .5s cubic-bezier(.3,1.6,.5,1) var(--d, 0s) forwards; }
.fade { opacity: 0; }
.play .fade { animation: fade .6s ease var(--d, 0s) forwards; }
.type { opacity: 0; }
.play .type { animation: fade .08s linear var(--d, 0s) forwards; }
.caret { opacity: 0; }
.play .caret { animation: blink .5s steps(1) var(--d, 0s) var(--n, 1); }
/* These rest at their finished state and animate from where they start, so with no animation
   (reduced motion, or before .play) the picture is complete. */
.hand { transform: rotate(var(--to)); transform-box: view-box; }
.play .hand { animation: hand 1.9s cubic-bezier(.25,.6,.2,1) var(--d, 0s) both; }
.play .rise { animation: rise 1.7s cubic-bezier(.35,.55,.25,1) var(--d, 0s) both; }
.play .slidein { animation: slidein 1.4s cubic-bezier(.55,0,1,.45) var(--d, 0s) both; }
.spin-in { transform-box: fill-box; transform-origin: center; }
.play .spin-in { animation: spin-in 1.3s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
.press { transform-box: fill-box; transform-origin: center; }
.play .press { animation: press .4s ease var(--d, 0s) both, gone .2s linear calc(var(--d, 0s) + .4s) forwards; }
.spark { opacity: 0; transform-box: view-box; }
.play .spark { animation: spark .8s ease-out var(--d, 0s) forwards; }
.pulse { opacity: 0; }
.play .pulse { animation: pulse 1.6s ease var(--d, 0s); }
.geo-fill { fill-opacity: 0; }
.play .d.geo-fill { animation: draw 1.6s cubic-bezier(.4,0,.2,1) var(--d, 0s) forwards, fillin .9s ease calc(var(--d, 0s) + 1.2s) forwards; }
.ui-btn { font-size: 17px; font-weight: 600; fill: #fff; }
.ui-btn.done { fill: #1f9d55; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hand { from { transform: rotate(var(--from)); } }
@keyframes rise { from { transform: translateY(var(--dy)); } }
@keyframes slidein { from { transform: translate(var(--sx), var(--sy)); } }
@keyframes spin-in { from { transform: rotate(-220deg) scale(.6); opacity: 0; } }
@keyframes press { 40% { transform: scale(.9); } }
@keyframes gone { to { opacity: 0; } }
@keyframes spark { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes pulse { 0% { opacity: 0; } 35% { opacity: .55; } 100% { opacity: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes write { to { -webkit-clip-path: inset(-20% -5% -20% 0); clip-path: inset(-20% -5% -20% 0); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d { stroke-dashoffset: 0; } .w { -webkit-clip-path: none; clip-path: none; } .pop { transform: none; } .fade, .type { opacity: 1; }
  .geo-fill { fill-opacity: 1; } .motion, .caret, .spark, .pulse { display: none; }
  .play .d, .play .w, .play .pop, .play .fade, .play .type, .play .hand, .play .rise, .play .slidein, .play .spin-in, .play .press, .play .d.geo-fill { animation: none; }
  .play .press { opacity: 0; }
  .lift, .floor { animation: none !important; }
  .slide, .slide.active { transition: opacity .3s ease; transform: none; }
  .pick.on .bar i { animation: none; transform: scaleX(0); }
}

/* ---------------------------------------------------------------- home: the families and the facts */
.band { padding: 96px 22px; }
.band.alt { background: var(--bg-alt); }
.band.alt .tile { background: #fff; }
.band-head { max-width: 980px; margin: 0 auto 48px; text-align: center; }
.band-head h2 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.06; }
.band-head p { max-width: 640px; margin: 12px auto 0; font-size: clamp(19px, 2vw, 24px); color: var(--muted); line-height: 1.3; text-wrap: balance; }
.hl { font-weight: 600; }
.hl.screen { color: #0a58c2; }
.hl.paper { color: #1d6b45; }
.tiles { max-width: 1024px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tile { flex: 0 1 330px; background: var(--bg-alt); border-radius: var(--radius); padding: 48px 28px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s ease, box-shadow .3s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.tile .icon { width: 120px; height: 120px; margin-bottom: 24px; }
.tile h3 { font-size: 32px; line-height: 1.1; }
.tile-brand { display: block; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.tile p { margin: 10px 0 0; font-size: 19px; color: var(--muted); line-height: 1.3; }
.tile > p:not(.screentime) { min-height: 2.6em; text-wrap: balance; }
@media (max-width: 700px) { .tile > p:not(.screentime) { min-height: 0; } }
.tile-links { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; font-size: 17px; }
.facts { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 999px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.fact h3 { font-size: 21px; line-height: 1.2; }
.fact p { margin: 8px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- an app's page */
.product-hero { overflow: hidden; text-align: center; padding: 64px 22px 24px; background: radial-gradient(900px 520px at 50% 72%, var(--glow), rgba(255,255,255,0) 70%), #fbfbfd; }
.product-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.product-hero .eyebrow .icon { width: 34px; height: 34px; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.product-hero h1 { font-size: clamp(44px, 6.5vw, 76px); line-height: 1.05; max-width: 900px; margin: 8px auto 0; }
.product-hero .hero-sub { max-width: 720px; margin: 14px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--muted); }
.product-hero .actions { margin-top: 30px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; font-size: 19px; }
.product-art .art { margin-top: 30px; }
.highlights { max-width: 1024px; margin: 0 auto; padding: 64px 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.highlight { background: var(--bg-alt); border-radius: var(--radius); padding: 40px 32px; }
.highlight h3 { font-size: 28px; line-height: 1.12; }
.highlight p { margin: 12px 0 0; color: var(--muted); }
.highlight.paper { background: #eaf7ef; }
.highlight.paper h3 { color: #1d6b45; }
.screens { display: flex; justify-content: center; gap: 24px; padding: 72px 22px 8px; overflow-x: auto; }
.screens img { width: 260px; flex: none; border-radius: 34px; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 18px 48px rgba(0,0,0,.14); }
.detail { max-width: 820px; margin: 0 auto; padding: 72px 22px 0; }
.detail h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin-bottom: 24px; }
.detail.intro p { font-size: 21px; line-height: 1.43; color: var(--muted); }
.detail.intro p:first-child { margin-top: 0; }
.detail ul { margin: 0; padding: 0; list-style: none; }
.detail.list ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 40px; }
.detail.list li { position: relative; padding-left: 30px; }
.detail.list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 600; }
.detail.steps ul { counter-reset: step; display: grid; gap: 12px; }
.detail.steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 76px; background: var(--bg-alt); border-radius: 18px; }
.detail.steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; display: grid; place-items: center; }
.detail.credits { padding-bottom: 8px; }
.detail.credits h2 { font-size: 21px; margin-bottom: 10px; }
.detail.credits li { font-size: 14px; color: var(--muted); margin: 6px 0; }
.cards { max-width: 1024px; margin: 0 auto; padding: 72px 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card-box { background: var(--bg-alt); border-radius: var(--radius); padding: 40px 36px; }
.card-box h2 { font-size: 28px; margin-bottom: 14px; }
.card-box ul { margin: 0; padding-left: 20px; }
.card-box li { margin: 8px 0; color: var(--muted); }
.twin { max-width: 980px; margin: 96px auto 0; padding: 40px; display: flex; align-items: center; gap: 32px; background: var(--bg-alt); border-radius: var(--radius); }
.twin .icon { width: 96px; height: 96px; flex: none; }
.twin .eyebrow { font-size: 17px; margin: 0; }
.twin h2 { font-size: 32px; line-height: 1.1; }
.twin p { margin: 6px 0 10px; color: var(--muted); }
@media (max-width: 600px) { .twin { flex-direction: column; text-align: center; margin: 64px 16px 0; padding: 32px 24px; } }
main { padding-bottom: 96px; }

/* ---------------------------------------------------------------- support, privacy, the hubs */
.text-page { max-width: 692px; margin: 0 auto; padding: 64px 22px 0; }
.text-page h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.07; margin-bottom: 24px; }
.text-page h2 { font-size: 24px; margin: 40px 0 8px; }
.text-page .lede { font-size: 21px; line-height: 1.38; color: var(--muted); }
.text-page ul { padding-left: 22px; }
.text-page li { margin: 6px 0; }
.hub { max-width: 820px; margin: 0 auto; padding: 80px 22px 0; text-align: center; }
.hub h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.05; }
.hub .hero-sub { max-width: 680px; margin: 16px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--muted); }
.hub-group { margin: 52px 0 14px; text-align: left; font-size: 21px; }
.hub-group span { font-weight: 400; color: var(--muted); }
.hub-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
@media (max-width: 760px) { .hub-rows { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hub-rows { grid-template-columns: 1fr; } }
.hub-name small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.hub-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--bg-alt); color: var(--text); font-size: 17px; font-weight: 600; }
.hub-row:hover { text-decoration: none; background: #ececf0; }
.hub-row .icon { width: 56px; height: 56px; box-shadow: none; }

/* ---------------------------------------------------------------- the footer */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.33; }
.footer-inner { max-width: 1024px; margin: 0 auto; padding: 22px 22px 28px; }
.footer-note { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin: 0 0 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; }
.footer h3 { font-size: 12px; color: var(--text); margin-bottom: 8px; }
.footer h3 .foot-note { font-weight: 400; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.credits-line { margin: 18px 0 0; }
.legal { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .menu span { transition: none; } .tile, .buy { transition: none; } }
