/* Pulcro's site, in the app's own design: the night canvas, a colour world per
   module (design/tokens.json), glass panels and pill buttons, and the app itself
   shown large on a landscape of its world. */

:root {
  --night: #070b1e;
  --night-deep: #04060f;
  --night-raised: #0d1330;
  --ink: #ffffff;
  --muted: #c2c8da;
  --faint: #8b93ad;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(255, 255, 255, .12);
  --accent: #2ee6d6;
  --accent-ink: #04211f;

  /* worlds: deep is the module's canvas, from is its saturated light */
  --tuneup: #0a4a5c;      --tuneup-from: #00c2a8;
  --cleanup: #0b4a36;     --cleanup-from: #3ddc97;
  --protection: #1e2a8a;  --protection-from: #5b8cff;
  --speed: #7a2a0a;       --speed-from: #ffb547;
  --automation: #3d1a8c;  --automation-from: #a78bfa;
  --apps: #0d4590;        --apps-from: #38bdf8;
  --clutter: #6b1866;     --clutter-from: #f472b6;
  --spacemap: #075a63;    --spacemap-from: #22d3ee;
  --cloud: #33388f;       --cloud-from: #a5b4fc;
  --tools: #365710;       --tools-from: #a3e635;
  --activity: #323d52;    --activity-from: #cbd5e1;

  --margin: clamp(16px, 4vw, 56px);
  --wide: 1240px;
  --section-gap: clamp(96px, 11vw, 168px);

  --t-display: clamp(52px, 7.4vw, 112px);
  --t-head: clamp(36px, 4.4vw, 64px);
  --t-feature: clamp(34px, 3.3vw, 48px);
  --t-title: 28px;
  --t-lead: 20px;
  --t-body: 17px;
  --t-small: 15px;

  --radius: 28px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* The colored words of a heading take their section's light */
.kw { color: var(--from, var(--accent)); }

.section-title { font-size: var(--t-head); text-align: center; max-width: 18ch; margin: 0 auto; }
.section-lead { max-width: 46ch; margin: 22px auto 0; text-align: center; font-size: var(--t-lead); color: var(--muted); }

/* Buttons: pills, like the app's own */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 var(--t-body)/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: var(--t-body); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: var(--t-small); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(46, 230, 214, .7); }
.btn-accent:hover { background: #7ff2e8; box-shadow: 0 16px 40px -12px rgba(46, 230, 214, .85); }
.btn-glass { background: var(--glass-strong); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

/* A window of the app: the screenshot carries its own title bar */
.window {
  margin: 0; border-radius: 14px; overflow: hidden; background: var(--night-deep);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -20px rgba(0, 0, 0, .65), 0 18px 36px -18px rgba(0, 0, 0, .5);
}
.window img { width: 100%; }

/* Navigation: a floating glass bar */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--margin); pointer-events: none; }
.nav-bar {
  pointer-events: auto; max-width: var(--wide); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(7, 11, 30, .35); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled .nav-bar { background: rgba(7, 11, 30, .78); box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px -12px rgba(0, 0, 0, .6); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--t-lead); letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: var(--t-small); text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Hero: the aurora lake */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--margin) 200px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); animation: drift 24s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 11, 30, .55), rgba(7, 11, 30, .15) 30%, rgba(7, 11, 30, .35) 62%, var(--night) 97%), /* taste-skill-ignore: scrim that keeps the headline readable over the photograph */
    radial-gradient(60% 50% at 50% 42%, rgba(7, 11, 30, .45), transparent 70%); /* taste-skill-ignore: scrim behind the centred copy */
}
@keyframes drift { to { transform: scale(1.16) translate(-1.5%, 1%); } }
.hero-inner { max-width: 900px; text-align: center; display: grid; justify-items: center; }
.hero-icon { width: clamp(120px, 13vw, 176px); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)) drop-shadow(0 0 60px rgba(46, 230, 214, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.hero h1 { margin-top: 28px; font-size: var(--t-display); line-height: .98; letter-spacing: -.04em; text-shadow: 0 4px 40px rgba(7, 11, 30, .5); }
.hero-lead { margin-top: 26px; max-width: 44ch; font-size: var(--t-lead); color: #e3e7f2; text-shadow: 0 2px 20px rgba(7, 11, 30, .6); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: var(--t-small); color: var(--muted); }

/* The app on each system */
.product { position: relative; overflow-x: clip; padding-bottom: 40px; margin-top: -170px; padding: 0 var(--margin); display: grid; justify-items: center; z-index: 2; }
.os-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(13, 19, 48, .7); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.os-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: none; color: var(--muted); font: 600 var(--t-small)/1 var(--font); transition: background-color .25s, color .25s;
}
.os-switch svg { width: 17px; height: 17px; }
.os-switch button:hover { color: var(--ink); }
.os-switch button[aria-selected="true"] { background: var(--ink); color: var(--night); }
.product-stage { position: relative; width: min(var(--wide), 100%); margin-top: 28px; perspective: 1600px; }
.product-window { transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1)); will-change: transform; }
.product-stage { isolation: isolate; }
.product-stage::before { content: ""; position: absolute; inset: -10% -6% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(46, 230, 214, .3), transparent); filter: blur(40px); pointer-events: none; } /* taste-skill-ignore: the app's own glow behind its window */
.product-window img { transition: opacity .35s var(--ease); }
.product-window img.is-entering { animation: shot-in .5s var(--ease); }
@keyframes shot-in { from { opacity: 0; transform: scale(1.015); } }
.product-popup {
  position: absolute; right: -2.5%; top: 18%; width: clamp(150px, 19%, 240px);
  border-radius: 18px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.product-popup.is-hidden { opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; }
.os-caption { margin-top: 30px; max-width: 52ch; text-align: center; font-size: var(--t-lead); color: var(--muted); min-height: 3em; }

/* Three figures */
.stats { margin-top: var(--section-gap); padding: 0 var(--margin); }
.stat-grid { max-width: var(--wide); margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px 32px 36px; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(80% 60% at 50% 18%, color-mix(in srgb, var(--from) 55%, transparent), transparent 70%), /* taste-skill-ignore: the module world's light, as in the app's canvas */
    linear-gradient(to bottom, var(--deep), var(--night-raised)); /* taste-skill-ignore: the module world's canvas */
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat img { position: absolute; left: 50%; top: 10px; width: 70%; translate: -50% 0; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4)); transition: transform .6s var(--ease); }
.stat:hover img { transform: translateY(-8px) rotate(-3deg); }
.stat-num { position: relative; font-size: var(--t-display); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { position: relative; margin-top: 10px; font-size: var(--t-body); color: #dfe4f1; max-width: 26ch; }

/* Feature sections: words beside the app, set on its world's landscape */
.feature {
  max-width: calc(var(--wide) + var(--margin) * 2); margin: var(--section-gap) auto 0; padding: 0 var(--margin);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.feature.is-flipped { grid-template-columns: 7fr 5fr; }
.feature.is-flipped .feature-text { order: 2; }
.feature-icon { width: 84px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }
.feature h2 { margin-top: 20px; font-size: var(--t-feature); }
.feature-text > p { margin-top: 22px; font-size: var(--t-lead); color: var(--muted); max-width: 40ch; }
.checks { margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-body); }
.checks svg { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: var(--night); background: var(--from); }
.feature-visual {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  display: grid; place-items: center; padding: 7%; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.feature-visual:hover .feature-bg { transform: scale(1.1); }
.feature-shot { width: 100%; transform: translateY(var(--shift, 0px)); will-change: transform; }

/* Every module, moving */
.modules { margin-top: var(--section-gap); }
.marquee { margin-top: 56px; overflow: hidden; -webkit-mask: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); } /* taste-skill-ignore: fades the moving row at both edges */
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: grid; justify-items: center; gap: 12px; width: 176px; padding: 22px 12px 20px; border-radius: 24px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-small); font-weight: 600; text-align: center;
}
.marquee-track img { width: 96px; height: 96px; transition: transform .4s var(--ease); }
.marquee-track li:hover img { transform: scale(1.1) rotate(-4deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.modules-cta { margin-top: 48px; display: flex; justify-content: center; }

/* And more: a bento of four */
.more { margin-top: var(--section-gap); padding: 0 var(--margin); }
.bento { max-width: var(--wide); margin: 64px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); grid-column: span 2; min-height: 420px;
  display: flex; flex-direction: column; padding: 32px 32px 0;
  background:
    radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--from) 40%, transparent), transparent 70%), /* taste-skill-ignore: the module world's light */
    linear-gradient(160deg, var(--deep), var(--night-raised)); /* taste-skill-ignore: the module world's canvas */
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile-wide { grid-column: span 3; }
.tile-text img { width: 56px; height: 56px; margin-bottom: 14px; }
.tile h3 { font-size: var(--t-title); }
.tile-text p { margin-top: 10px; color: var(--muted); font-size: var(--t-body); max-width: 36ch; }
.tile-shot { margin-top: auto; translate: 12% 0; width: 100%; border-radius: 12px 12px 0 0; transform: translateY(26px); transition: transform .6s var(--ease); }
.tile-wide .tile-shot { width: 92%; }
.tile:hover .tile-shot { transform: translateY(10px); }

/* How it works */
.how {
  max-width: calc(var(--wide) + var(--margin) * 2); margin: var(--section-gap) auto 0; padding: 0 var(--margin);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.how .section-title { text-align: left; margin: 0; }
.steps { margin-top: 40px; display: grid; gap: 8px; }
.step button {
  position: relative; width: 100%; display: flex; gap: 18px; align-items: flex-start; text-align: left; overflow: hidden;
  padding: 18px 20px; border: 0; border-radius: 20px; background: none; color: var(--ink); cursor: pointer; font-family: var(--font);
  transition: background-color .3s var(--ease);
}
.step button:hover { background: var(--glass); }
.step.is-current button { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.step-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--glass-strong); font-weight: 700; font-size: var(--t-small); transition: background-color .3s, color .3s; }
.step.is-current .step-n { background: var(--accent); color: var(--accent-ink); }
.step-body { display: grid; gap: 4px; }
.step-name { font-size: var(--t-lead); font-weight: 700; }
.step-desc { font-size: var(--t-body); color: var(--muted); display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s; }
.step.is-current .step-desc { max-height: 5em; opacity: 1; }
.step-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.step.is-current.is-playing .step-bar { animation: step-run var(--step-ms, 5000ms) linear forwards; }
@keyframes step-run { to { transform: scaleX(1); } }
.how-visual { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 7%; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.how-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.how-window { width: 100%; }
.how-window img.is-entering { animation: shot-in .5s var(--ease); }

/* What Pulcro never does */
.never { margin-top: var(--section-gap); padding: 0 var(--margin); }
.never-grid { max-width: var(--wide); margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.never-item { border-radius: var(--radius); padding: 32px 28px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), background-color .3s; }
.never-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.never-item svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; color: var(--accent); background: rgba(46, 230, 214, .12); }
.never-item h3 { margin-top: 22px; font-size: var(--t-title); }
.never-item p { margin-top: 10px; font-size: var(--t-body); color: var(--muted); }

/* Questions */
.faq { margin-top: var(--section-gap); padding: 0 var(--margin); }
.faq-list { max-width: 860px; margin: 56px auto 0; display: grid; gap: 10px; }
.qa { border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s; }
.qa[open] { background: rgba(255, 255, 255, .1); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px;
  font-size: var(--t-lead); font-weight: 600; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform .35s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.qa p { padding: 0 26px 24px; max-width: 64ch; color: var(--muted); font-size: var(--t-body); }

/* Download */
.download { margin-top: var(--section-gap); padding: 0 var(--margin); }
.download-panel {
  position: relative; max-width: var(--wide); margin: 0 auto; border-radius: 36px; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.download-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.download-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 11, 30, .82), rgba(7, 11, 30, .35)); } /* taste-skill-ignore: scrim that keeps the download copy readable over the photograph */
.download h2 { font-size: var(--t-head); }
.download-lead { margin-top: 18px; font-size: var(--t-lead); color: #dfe4f1; }
.dl-list { margin-top: 30px; display: grid; gap: 10px; }
.dl {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  padding: 16px 20px; border-radius: 18px; text-decoration: none;
  background: rgba(7, 11, 30, .55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .25s var(--ease), background-color .25s;
}
.dl:hover { transform: translateX(4px); background: rgba(13, 19, 48, .8); }
.dl svg { grid-row: span 2; width: 28px; height: 28px; }
.dl-os { font-size: var(--t-body); font-weight: 700; }
.dl-meta { grid-column: 2; font-size: var(--t-small); color: var(--muted); }
.dl-size { grid-column: 3; grid-row: 1 / span 2; font-size: var(--t-small); color: var(--accent); }
.dl.is-yours { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -12px rgba(46, 230, 214, .8); }
.dl.is-yours .dl-meta, .dl.is-yours .dl-size { color: var(--accent-ink); }
.download-check { margin-top: 16px; font-size: var(--t-small); color: var(--muted); }
.download-check a { color: var(--ink); }
.laptop { justify-self: center; width: 100%; max-width: 560px; }
.laptop-screen { padding: 2.2% 2.2% 3%; border-radius: 18px 18px 6px 6px; background: #0b0d14; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -24px rgba(0, 0, 0, .7); }
.laptop-screen img { border-radius: 4px; }
.laptop-base { height: 14px; margin: 0 -7%; border-radius: 0 0 16px 16px; background: linear-gradient(to bottom, #c9ced8, #8a909c); box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .6); } /* taste-skill-ignore: the aluminium edge of the laptop */
.facts { max-width: var(--wide); margin: 20px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { font-size: var(--t-small); color: var(--faint); }
.facts dd { margin: 6px 0 0; font-size: var(--t-body); font-weight: 600; }

/* Footer */
.footer { margin-top: var(--section-gap); padding: 64px var(--margin) 40px; background: var(--night-deep); box-shadow: inset 0 1px 0 var(--line); }
.footer-top, .footer-last { max-width: var(--wide); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand-lg { font-size: var(--t-title); gap: 14px; }
.brand-lg img { width: 56px; height: 56px; }
.footer-links { display: flex; gap: 80px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-head { font-size: var(--t-small); font-weight: 700; }
.footer-links a { font-size: var(--t-small); color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-last { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; font-size: var(--t-small); color: var(--faint); }

/* Entrances: parts of each section rise in turn; content is visible without script */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
/* The first screen plays its entrance in CSS, so it never waits on the script */
.js .hero [data-rise] { opacity: 1; transform: none; transition: none; animation: rise-in .9s var(--ease) both; animation-delay: var(--delay, 0ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } }
.js .hero .hero-icon { animation: rise-in .9s var(--ease) both, float 6s ease-in-out 1s infinite; }

@media (max-width: 1020px) {
  .product-popup { display: none; }
  .stat-grid { grid-template-columns: 1fr; max-width: 560px; }
  .stat { min-height: 380px; }
  .stat img { width: 52%; }
  .feature, .feature.is-flipped, .how { grid-template-columns: 1fr; }
  .feature.is-flipped .feature-text { order: 0; }
  .feature-text, .how-text { max-width: 640px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-wide { grid-column: auto; min-height: 0; }
  .tile-shot, .tile-wide .tile-shot { width: 100%; translate: 0 0; margin-top: 28px; }
  .never-grid { grid-template-columns: 1fr 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --t-head: clamp(32px, 9vw, 44px); --t-feature: clamp(30px, 8.4vw, 40px); --t-lead: 18px; --t-title: 24px; --radius: 22px; }
  .nav { inset: 10px 0 auto; }
  .nav-links { display: none; }
  .nav-bar { justify-content: space-between; padding: 8px 8px 8px 14px; }
  .hero { padding: 110px var(--margin) 150px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .product { margin-top: -110px; }
  .os-switch button { padding: 0 13px; }
  .stat { padding: 24px; min-height: 340px; }
  .feature-visual, .how-visual { aspect-ratio: auto; padding: 18px; }
  .feature-icon { width: 64px; }
  .marquee-track li { width: 140px; }
  .marquee-track img { width: 76px; height: 76px; }
  .tile { padding: 24px 24px 0; }
  .never-grid { grid-template-columns: 1fr; }
  .qa summary { padding: 18px 20px; font-size: var(--t-body); }
  .qa p { padding: 0 20px 20px; }
  .download-panel { padding: 28px 18px; border-radius: 26px; }
  .laptop { display: none; }
  .facts { grid-template-columns: 1fr; padding: 22px; }
  .footer-links { gap: 48px; }
  .footer-last { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .product-window, .feature-shot { transform: none !important; }
  .marquee { overflow-x: auto; }
}
