/* Perch — site styles */
:root {
  --bg: #030304;
  --bg-2: #0a0a0d;
  --surface: #0e0e12;
  --surface-2: #15151b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f4f6;
  --muted: #a4a4ae;
  --dim: #85858f;
  --coral: #ff8a6b;
  --peach: #ffc09a;
  --violet: #b58cff;
  --green: #4ade80;
  --grad: linear-gradient(100deg, #ffc49e 0%, #ff8a6b 38%, #e879a8 66%, #b58cff 100%);
  --radius: 22px;
  --gutter: 24px;
  --max: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wall:
    radial-gradient(55% 80% at 12% 100%, rgba(214, 102, 116, .75), transparent 70%),
    radial-gradient(50% 70% at 50% 40%, rgba(95, 54, 160, .9), transparent 75%),
    radial-gradient(55% 80% at 92% 70%, rgba(52, 104, 168, .85), transparent 70%),
    linear-gradient(120deg, #4a2340 0%, #3a2463 45%, #24426e 100%);
  --spring: cubic-bezier(.32, 1.28, .5, 1);
  --spring-dur: .62s;
  --ns: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}
img, video { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; }
a { color: inherit; }
b, strong { font-weight: 600; }
pre code { white-space: pre !important; background: none !important; border: 0 !important; padding: 0 !important; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; white-space: nowrap; }
::selection { background: rgba(255, 138, 107, .35); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 8px; }

.ic { width: 18px; height: 18px; flex: none; }
.ic-xs { width: 14px; height: 14px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.muted { color: var(--dim); }
.muted-sm { color: var(--dim); font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  color: #120a07;
  background: linear-gradient(180deg, #fff 0%, #ffe6d8 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset;
}
.btn-primary:hover { background: linear-gradient(180deg, #fff 0%, #fff0e8 100%); transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn-link { color: var(--muted); padding: 0 6px; }
.btn-link:hover { color: var(--text); }
.star-count { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; margin-right: -8px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text); }
.star-count[hidden] { display: none; }
.btn-sm .star-count { padding: 2px 7px; margin-right: -6px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3,3,4,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-inner { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--display); letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 148px 0 40px; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 66%, rgba(181, 140, 255, .20), transparent 70%),
    radial-gradient(40% 36% at 35% 70%, rgba(255, 138, 107, .16), transparent 70%),
    radial-gradient(40% 36% at 68% 62%, rgba(96, 140, 255, .12), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,.18), 0 0 12px rgba(74,222,128,.7); }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--text); }
h1 { font-size: clamp(52px, 9.2vw, 124px); font-weight: 600; line-height: .96; letter-spacing: -.048em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lede { max-width: 600px; margin: 26px auto 0; color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; letter-spacing: -.008em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* ---------- Device ---------- */
.device-wrap { position: relative; margin: 72px auto 0; max-width: calc(1160px + var(--gutter) * 2); padding: 0 var(--gutter); }
.device {
  position: relative;
  padding: 11px 11px 0;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, #1a1a1f, #0b0b0e 40%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 1px 0 0 rgba(255,255,255,.22) inset,
    0 0 0 1px #000,
    0 -30px 120px -40px rgba(181,140,255,.35);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
.device::before { /* aluminium rim */
  content: ""; position: absolute; inset: -1.5px -1.5px 0; border-radius: 31.5px 31.5px 0 0; z-index: -1;
  background: linear-gradient(180deg, #6d6d76, #2b2b31 20%, #1a1a1e 60%);
}
.screen { position: relative; border-radius: 19px 19px 0 0; overflow: hidden; background: #000; height: calc(400px * var(--ns)); }
.screen-inner { position: absolute; top: 0; left: 0; width: calc(100% / var(--ns)); height: 400px; transform: scale(var(--ns)); transform-origin: 0 0; }
.wallpaper { position: absolute; inset: 0; background: var(--wall); }
.wallpaper::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 0%, rgba(0,0,0,.0), rgba(0,0,0,.25)); }
.menubar { position: absolute; inset: 0 0 auto; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; font: 500 13.5px/1 var(--font); letter-spacing: -.005em; background: rgba(20, 10, 30, .28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mb-left, .mb-right { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.mb-left b { font-weight: 700; }
.mb-right { gap: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mb-glyph { display: grid; grid-template-columns: 6px 6px; gap: 2px; transform: rotate(45deg); }
.mb-glyph i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mb-ic { width: 17px; height: 17px; }
.mb-batt { position: relative; width: 25px; height: 12px; border: 1.3px solid rgba(255,255,255,.75); border-radius: 4px; display: inline-block; }
.mb-batt::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255,255,255,.75); }
.mb-batt i { position: absolute; inset: 1.5px; right: 6px; background: #fff; border-radius: 1.5px; }

/* ---------- Notch ---------- */
.notch {
  --w: 186px; --h: 32px; --r: 11px;
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: var(--w); height: var(--h);
  transform: translateX(-50%);
  background: #000; color: #fff;
  border-radius: 0 0 var(--r) var(--r);
  cursor: pointer;
  transition:
    width var(--spring-dur) var(--spring),
    height var(--spring-dur) var(--spring),
    border-radius var(--spring-dur) var(--spring),
    box-shadow .4s ease;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
}
.notch::before, .notch::after { content: ""; position: absolute; top: 0; width: 10px; height: 10px; pointer-events: none; }
.notch::before { left: -10px; background: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px); }
.notch::after { right: -10px; background: radial-gradient(circle at 100% 100%, transparent 9.5px, #000 10px); }
.notch:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; border-radius: 0 0 var(--r) var(--r); }
.notch[data-state="music"]    { --w: 300px; --h: 32px; --r: 12px; }
.notch[data-state="volume"]   { --w: 430px; --h: 32px; --r: 12px; }
.notch[data-state="charging"] { --w: 380px; --h: 32px; --r: 12px; }
.notch[data-state="airpods"]  { --w: 420px; --h: 64px; --r: 20px; }
.notch[data-state="notif"]    { --w: 450px; --h: 116px; --r: 24px; }
.notch[data-state="player"]   { --w: 640px; --h: 196px; --r: 30px; }
.notch[data-state="airpods"], .notch[data-state="notif"], .notch[data-state="player"] { box-shadow: 0 18px 50px -12px rgba(0,0,0,.7); }

.n-layer {
  position: absolute; inset: 0; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; filter: blur(6px); transform: scale(.94);
  transition: opacity .22s ease, filter .22s ease, transform .3s ease;
  pointer-events: none; overflow: hidden;
  white-space: nowrap;
}
.notch[data-state="music"] .n-music,
.notch[data-state="volume"] .n-volume,
.notch[data-state="charging"] .n-charging,
.notch[data-state="airpods"] .n-airpods,
.notch[data-state="notif"] .n-notif,
.notch[data-state="player"] .n-player {
  opacity: 1; filter: none; transform: none; pointer-events: auto;
  transition: opacity .35s ease .14s, filter .35s ease .14s, transform .5s var(--spring) .1s;
}
.n-ic { width: 20px; height: 20px; }
.n-right { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dim { color: #8b8b93; font-weight: 500; }
.green { color: #5be37d; }

.art { display: inline-block; flex: none; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, #fbe0a4 0 22%, transparent 23%),
    linear-gradient(180deg, #7d4fa8 0%, #d47a86 45%, #f0a073 60%, #6b3e8a 61%);
}
.art::before, .art::after { content: ""; position: absolute; left: -10%; right: -10%; border-radius: 50% 50% 0 0; }
.art::before { bottom: 18%; height: 38%; background: #8a5aa8; border-radius: 60% 40% 0 0; }
.art::after { bottom: -8%; height: 40%; background: #4a2c6e; border-radius: 40% 60% 0 0; }
.art-sm { width: 22px; height: 22px; border-radius: 6px; }
.art-lg { width: 96px; height: 96px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(212, 122, 134, .45); }
.art-xs { width: 30px; height: 30px; border-radius: 7px; }

.viz { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.viz i { width: 3.5px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #ffb48f, #ff7d6b); transform-origin: center; animation: viz 1s ease-in-out infinite alternate; }
.viz i:nth-child(1) { animation-duration: .74s; }
.viz i:nth-child(2) { animation-duration: .52s; animation-delay: -.2s; }
.viz i:nth-child(3) { animation-duration: .86s; animation-delay: -.4s; }
.viz i:nth-child(4) { animation-duration: .6s; animation-delay: -.1s; }
.viz i:nth-child(5) { animation-duration: .7s; animation-delay: -.33s; }
@keyframes viz { 0% { transform: scaleY(.25); } 100% { transform: scaleY(1); } }

.track { position: relative; width: 120px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); overflow: hidden; }
.fill { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, #8ea0c2, #5f8ee6); transition: width .9s cubic-bezier(.2,.8,.2,1) .2s; }
.notch[data-state="volume"] .fill { width: 62%; }
.n-num { width: 22px; text-align: right; color: #a6a6ae; }

.batt { position: relative; width: 34px; height: 16px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.batt::after { content: ""; position: absolute; right: -4.5px; top: 4.5px; width: 2.5px; height: 4.5px; border-radius: 0 2px 2px 0; background: rgba(255,255,255,.55); }
.batt i { position: absolute; inset: 1.5px; right: 30%; background: #4fd168; border-radius: 2px; }
.batt svg { position: relative; width: 12px; height: 12px; color: #fff; filter: drop-shadow(0 0 1px #1a5a2a); }

.n-airpods { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 0 22px; }
.n-airpods .row1 { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.n-airpods .row2 { display: flex; justify-content: center; gap: 22px; font-size: 13px; font-weight: 600; color: #d8d8de; font-variant-numeric: tabular-nums; }
.n-airpods .row2 span { display: inline-flex; align-items: center; gap: 5px; }
.n-airpods .row2 small { font-size: 10px; color: #8b8b93; font-weight: 700; }
.n-airpods .row2 svg { width: 15px; height: 15px; color: #a6a6ae; }

.n-notif { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 7px 18px 0; gap: 0; font-size: 13px; }
.nf-top { display: flex; justify-content: space-between; align-items: center; height: 22px; margin-bottom: 8px; }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; letter-spacing: .02em; background: linear-gradient(180deg, #a48ae0, #6f58b8); }
.key { width: 16px; height: 16px; }
.nf-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.code-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font: 600 12.5px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, border-color .2s; }
.code-chip:hover { background: rgba(255,255,255,.14); }
.code-chip svg { width: 13px; height: 13px; }
.code-chip.copied { border-color: rgba(91,227,125,.6); color: #8ff0a8; }
.nf-title { margin-top: 3px; font-size: 13.5px; }
.nf-body { color: #9b9ba4; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }

.n-player { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 8px 26px 0; }
.pl-top { display: flex; justify-content: space-between; align-items: center; height: 24px; }
.tabs { display: flex; gap: 6px; }
.tab { width: 30px; height: 22px; border-radius: 999px; display: grid; place-items: center; color: #9b9ba4; }
.tab.on { background: rgba(255,255,255,.12); color: #fff; }
.tab svg { width: 14px; height: 14px; }
.pl-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-batt.sm { width: 22px; height: 11px; }
.pl-body { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.pl-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-title { font-size: 15px; letter-spacing: -.01em; }
.pl-artist { font-size: 13px; color: #a6a6ae; margin-top: 2px; }
.pl-bar { position: relative; height: 4px; border-radius: 2px; background: rgba(255,255,255,.16); margin-top: 12px; overflow: hidden; }
.pl-bar i { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, #ffa98c, #f0806e); }
.notch[data-state="player"] .pl-bar i { animation: prog 12s linear infinite; }
@keyframes prog { from { width: 40%; } to { width: 78%; } }
.pl-times { display: flex; justify-content: space-between; font-size: 10.5px; color: #8b8b93; margin-top: 5px; font-variant-numeric: tabular-nums; }
.pl-ctrl { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 2px; }
.pl-ctrl svg { width: 18px; height: 18px; }
.pl-ctrl svg.big { width: 20px; height: 20px; }
.pl-clock { display: flex; flex-direction: column; padding-left: 20px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.12); height: 100px; justify-content: center; min-width: 128px; }
.pl-clock span { font-size: 12px; color: #a6a6ae; font-weight: 500; }
.pl-clock b { font: 600 38px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* state chips */
.states { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -96px auto 0; max-width: 760px; }
.states button {
  position: relative; overflow: hidden;
  height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 500 13px/1 var(--font); color: var(--muted);
  background: rgba(14,14,18,.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color .2s, border-color .2s, background-color .2s;
}
.states button:hover { color: var(--text); border-color: var(--line-2); }
.states button[aria-pressed="true"] { color: var(--text); border-color: rgba(255,170,140,.45); background: rgba(255,138,107,.10); }
.states button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); opacity: .9; }
.states button.ticking::after { animation: tick var(--dur, 3s) linear forwards; }
@keyframes tick { to { width: 100%; } }
.hint { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 140px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 88px; }
.sec-head-sm { margin: 140px auto 48px; }
.eyebrow { margin: 0 0 16px; font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }
.h2-sm { font-size: clamp(30px, 4vw, 44px); }
.sec-sub { margin: 22px auto 0; max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.55; }

/* feature rows */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat-flip .feat-copy { order: 2; }
.feat-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--peach); }
.feat-tag .ic { width: 17px; height: 17px; }
.feat h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.feat-copy > p:not(.feat-tag) { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #d4d4da; font-size: 15px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,138,107,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffb08f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

.feat-media { position: relative; display: grid; gap: 16px; }
.feat-media::before { content: ""; position: absolute; inset: -12% 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(181,140,255,.12), transparent 70%); }

/* mini screen with a notch clip hanging from the top edge */
.scr {
  --fwx: var(--fw);
  --k: calc(var(--fwx) * 1cqw / var(--cw)); /* css px per video px, resolved in children */
  container-type: inline-size;
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  background: var(--wall);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 30px 60px -30px rgba(0,0,0,.9);
}
.scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 32%), radial-gradient(60% 70% at 50% 0%, rgba(255,190,160,.16), transparent 70%); }
.scr-bar { position: absolute; inset: 0 0 auto; height: calc(64 * var(--k)); background: rgba(20, 10, 30, .3); }
.nclip {
  position: relative; z-index: 1;
  width: calc(var(--cw) * var(--k));
  aspect-ratio: var(--cw) / var(--ch);
  margin: 0 auto max(calc(28 * var(--k) + 6cqw), calc(var(--minh, 26cqw) - var(--ch) * var(--k)));
  background: #000;
  border-radius: 0 0 calc(var(--rr) * var(--k)) calc(var(--rr) * var(--k));
  box-shadow: 0 calc(20 * var(--k)) calc(50 * var(--k)) calc(-10 * var(--k)) rgba(0,0,0,.6);
}
.nclip::before, .nclip::after { content: ""; position: absolute; top: 0; width: calc(14 * var(--k)); height: calc(14 * var(--k)); }
.nclip::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent 70%, #000 72%); }
.nclip::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent 70%, #000 72%); }
.nclip-in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.nclip-in video { position: absolute; top: 0; left: 50%; width: calc(100% * var(--vw) / var(--cw)); max-width: none; height: auto; transform: translateX(-50%); }

/* CSS-built brightness HUD (matches the volume clip geometry) */
.bhud { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(27 * var(--k)); color: #fff; }
.bh-ic { width: calc(30 * var(--k)); height: calc(30 * var(--k)); }
.bh-right { display: flex; align-items: center; gap: calc(40 * var(--k)); }
.bh-seg { display: flex; gap: calc(3.5 * var(--k)); }
.bh-seg i { width: calc(8 * var(--k)); height: calc(14 * var(--k)); border-radius: calc(2 * var(--k)); background: rgba(255,255,255,.22); }
.bh-seg i:nth-child(-n+7) { background: #fff; animation: seg 3.2s ease-in-out infinite; }
.bh-seg i:nth-child(6) { animation-delay: .15s; } .bh-seg i:nth-child(7) { animation-delay: .3s; }
.bh-seg i:nth-child(-n+5) { animation: none; }
@keyframes seg { 0%, 30% { background: rgba(255,255,255,.22); } 45%, 100% { background: #fff; } }
.bh-num { font: 700 calc(22 * var(--k))/1 var(--font); color: #a6a6ae; font-variant-numeric: tabular-nums; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #09090c); display: flex; flex-direction: column; min-height: 320px; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, -20%), rgba(255,170,140,.08), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card-copy { padding: 28px 28px 30px; position: relative; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.card-copy > p:not(.feat-tag) { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card .feat-tag { margin-bottom: 12px; font-size: 13px; }
.card-shot { margin: 0; }
.card-cal { grid-column: span 4; }
.card-cal .card-shot { margin: auto 28px 28px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.card-lock { grid-column: span 2; }
.card-gest { grid-column: span 2; }
.card-shelf { grid-column: span 2; }
.card-url { grid-column: span 2; }
.card-settings { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: 0; }
.card-settings .card-copy { padding: 48px; }
.card-settings h3 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.03em; }
.card-settings .muted-sm { margin-top: 14px; }
.settings-shot { align-self: end; margin: 36px 0 0; height: 100%; max-height: 440px; overflow: hidden; border-top-left-radius: 14px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.settings-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* lock art */
.lock-art { position: relative; margin: 18px 18px 0; height: 200px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: 18px;
  background: radial-gradient(70% 80% at 20% 100%, rgba(214,102,116,.55), transparent 70%), radial-gradient(70% 80% at 90% 60%, rgba(52,104,168,.6), transparent 70%), linear-gradient(140deg, #3d1f3b, #2c1f55 50%, #1d3557);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.lk-date { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); }
.lk-time { font: 600 52px/1 var(--display); letter-spacing: -.03em; color: rgba(255,255,255,.92); margin-top: 2px; font-variant-numeric: tabular-nums; }
.lk-widgets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; padding: 0 12px; }
.lk-w { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(0,0,0,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.lk-w svg { width: 12px; height: 12px; color: #ffd28a; }
.lk-w:nth-child(2) svg { color: #5be37d; }
.lk-music { height: 40px; padding: 0 14px 0 5px; border-radius: 12px; gap: 9px; }
.lk-music b { display: block; font-size: 11.5px; line-height: 1.2; }
.lk-music small { display: block; font-size: 10.5px; color: rgba(255,255,255,.65); font-weight: 500; }
.lk-ev i { width: 3px; height: 12px; border-radius: 2px; background: #6aa0ff; }

/* gestures art */
.gest-art { position: relative; margin: 18px 18px 0; height: 200px; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 90% at 50% 0%, rgba(181,140,255,.14), transparent 70%), #0b0b0f; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.g-notch { position: absolute; top: 0; left: 50%; width: 110px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 0 0 12px 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); animation: gnotch 4.8s var(--spring) infinite; }
.g-finger { position: absolute; left: 50%; top: 40px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,190,.9) 0 30%, rgba(255,160,130,.35) 32%, transparent 70%); animation: gfinger 4.8s ease-in-out infinite; }
@keyframes gnotch {
  0%, 18% { width: 110px; height: 26px; border-radius: 0 0 12px 12px; }
  30%, 48% { width: 220px; height: 110px; border-radius: 0 0 26px 26px; }
  60%, 100% { width: 110px; height: 26px; border-radius: 0 0 12px 12px; }
}
@keyframes gfinger {
  0% { transform: translate(0, 0); opacity: 0; }
  6% { opacity: 1; }
  20% { transform: translate(0, 70px); opacity: 1; }
  26% { opacity: 0; transform: translate(0, 76px); }
  40% { transform: translate(0, 140px); opacity: 0; }
  44% { transform: translate(0, 140px); opacity: 1; }
  56% { transform: translate(0, 60px); opacity: 1; }
  60% { opacity: 0; }
  66% { transform: translate(-60px, 10px); opacity: 0; }
  70% { transform: translate(-60px, 10px); opacity: 1; }
  86% { transform: translate(60px, 10px); opacity: 1; }
  92%, 100% { transform: translate(60px, 10px); opacity: 0; }
}
.gest-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.gest-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--text); font: 600 13px/1 var(--font); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }

/* shelf art */
.shelf-art { position: relative; margin: 18px 18px 0; height: 200px; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 90% at 50% 0%, rgba(255,138,107,.12), transparent 70%), #0b0b0f; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.sh-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 82%; height: 118px; border-radius: 0 0 24px 24px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08); display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding-bottom: 16px; }
.sh-file { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: #a6a6ae; }
.sh-file i { position: relative; width: 40px; height: 50px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 6px; font: 700 9px/1 var(--font); font-style: normal; color: #fff; letter-spacing: .04em; background: linear-gradient(180deg, #f2f2f5, #cfcfd6); color: #333; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.sh-file.f1 i { background: linear-gradient(180deg, #ff9b84, #e5604c); color: #fff; }
.sh-file.f2 i { background: linear-gradient(180deg, #a6b9ff, #6b7fe0); color: #fff; }
.sh-file.f3 i { background: linear-gradient(180deg, #e3e3ea, #b9b9c4); }
.sh-file.f3 { animation: drop 4s cubic-bezier(.3,1.4,.5,1) infinite; }
@keyframes drop { 0% { transform: translateY(120px); opacity: 0; } 18% { opacity: 1; } 35%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }

/* url card */
.card-url { justify-content: space-between; }
.mini-code { margin: 0 18px 18px; padding: 18px; border-radius: 14px; background: #050507; border: 1px solid var(--line); font: 400 13px/1.8 var(--mono); color: #e6e6ea; overflow-x: auto; }
.c-dim { color: var(--dim); user-select: none; }

/* ---------- Open source ---------- */
.os { background: radial-gradient(60% 50% at 80% 30%, rgba(181,140,255,.08), transparent 70%); border-top: 1px solid var(--line); }
.os-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.os-copy .sec-sub { margin-left: 0; }
.os-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.os-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #09090c); display: flex; flex-direction: column; gap: 4px; }
.tile .ic { width: 24px; height: 24px; color: var(--peach); margin-bottom: 14px; }
.tile b { font: 600 17px/1.3 var(--display); letter-spacing: -.01em; }
.tile span { color: var(--muted); font-size: 14px; }
.contrib { margin-top: 96px; padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.contrib h3 { font-size: 22px; letter-spacing: -.02em; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { display: flex; gap: 16px; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--display); color: #120a07; background: var(--grad); }
.steps b { font-size: 16px; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.steps a, .note a, .faq a { color: var(--peach); text-decoration: underline; text-decoration-color: rgba(255,192,154,.35); text-underline-offset: 3px; }
.steps a:hover, .note a:hover { text-decoration-color: currentColor; }

/* ---------- Install ---------- */
.install { border-top: 1px solid var(--line); }
.cta-note { margin: 16px 0 0; font-size: 13px; color: var(--dim); }
.cta-note a { color: var(--muted); text-underline-offset: 3px; }
.cta-note a:hover { color: var(--text); }
.dl-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; margin-bottom: 56px; padding: 32px; border-radius: 20px; border: 1px solid var(--line-2); background: #070709; }
.dl-card h3, .build-title { font-size: 20px; letter-spacing: -.01em; }
.dl-main .muted { margin: 8px 0 20px; }
.dl-main .muted-sm { margin: 14px 0 0; }
.dl-main a:not(.btn), .dl-steps a { color: var(--peach); }
.dl-steps .muted { margin: 8px 0 12px; }
.dl-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.dl-steps b { color: var(--text); }
.build-title { margin: 0 0 20px; }
.install-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.codecard { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #070709; box-shadow: 0 40px 80px -40px rgba(181,140,255,.25), 0 0 0 1px #000; }
.codecard-bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a31; }
.codecard-title { font-size: 13px; color: var(--dim); font-weight: 500; }
.copy-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); font: 500 13px/1 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.copy-btn:hover { background: rgba(255,255,255,.1); }
.copy-btn.copied { color: #8ff0a8; border-color: rgba(91,227,125,.5); }
.code { margin: 0; padding: 26px 24px; font: 400 15px/1.85 var(--mono); color: #ececf0; overflow-x: auto; }
.code code { background: none; border: 0; padding: 0; font-size: inherit; white-space: pre; }
.code code::before { content: ""; }
.codecard-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.codecard-foot p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.req { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #09090c); }
.req h3 { font-size: 20px; letter-spacing: -.02em; }
.req-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.req-list li { position: relative; padding-left: 20px; color: #d4d4da; font-size: 15px; line-height: 1.55; }
.req-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.note { margin: 24px 0 18px; padding: 16px 18px; border-radius: 14px; background: rgba(255,138,107,.06); border: 1px solid rgba(255,138,107,.18); font-size: 14px; }
.note p { margin: 4px 0 0; color: var(--muted); line-height: 1.6; }
.note code { white-space: normal; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font: 500 18px/1.4 var(--display); letter-spacing: -.01em; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23f4f4f6' stroke-width='2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s ease, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255,255,255,.06); }
.faq summary:hover::after { background-color: rgba(255,255,255,.08); }
.faq details p { margin: 0; padding: 0 56px 26px 4px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------- Final CTA ---------- */
.final { position: relative; padding: 120px 0 140px; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(181,140,255,.18), rgba(255,138,107,.08) 50%, transparent); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final img { border-radius: 22px; filter: drop-shadow(0 20px 40px rgba(255,138,107,.25)); }
.final h2 { margin-top: 28px; max-width: 760px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--dim); font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.foot-brand img { border-radius: 6px; }
.foot-brand b { color: var(--text); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; justify-content: flex-end; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-legal { grid-column: 1 / -1; margin: 8px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-cal, .card-settings { grid-column: span 2; }
  .card-lock, .card-gest, .card-shelf, .card-url { grid-column: span 1; }
  .card-settings { grid-template-columns: 1fr; }
  .card-settings .card-copy { padding: 32px 28px 0; }
  .settings-shot { margin: 28px 0 0 28px; max-height: 360px; }
}
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feat-flip .feat-copy { order: 0; }
  .os-grid, .install-grid, .dl-card { grid-template-columns: 1fr; gap: 40px; }
  .dl-card { padding: 24px; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .nav-links li:not(.nav-install) { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding: 116px 0 24px; }
  .pill { margin-bottom: 22px; font-size: 12.5px; }
  h1 { font-size: clamp(46px, 13.5vw, 64px); }
  .lede { font-size: 17px; margin-top: 20px; }
  .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-top: 30px; }
  .cta-row .btn { width: 100%; }
  .device-wrap { margin-top: 48px; }
  .device { padding: 7px 7px 0; border-radius: 20px 20px 0 0; }
  .device::before { border-radius: 21.5px 21.5px 0 0; }
  .screen { border-radius: 14px 14px 0 0; }
  .states { margin-top: -48px; gap: 6px; }
  .states button { height: 32px; padding: 0 12px; font-size: 12.5px; }
  .section { padding: 96px 0; }
  .sec-head { margin-bottom: 48px; }
  .sec-head-sm { margin: 88px auto 32px; }
  .sec-sub { font-size: 16.5px; }
  .br-lg { display: none; }
  .feat-media { gap: 12px; }
  .scr { --fwx: min(98, calc(var(--fw) * 1.22)); border-radius: 14px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card-cal, .card-settings, .card-lock, .card-gest, .card-shelf, .card-url { grid-column: auto; }
  .card { min-height: 0; }
  .card-copy { padding: 22px 22px 24px; }
  .card-cal .card-shot { margin: 0 14px 14px; }
  .card-cal .card-shot img { aspect-ratio: 1.5 / 1; object-fit: cover; object-position: 30% top; }
  .card-settings .card-copy { padding: 24px 22px 0; }
  .settings-shot { margin: 22px 0 0 22px; max-height: 260px; }
  .lock-art, .gest-art, .shelf-art { margin: 12px 12px 0; }
  .gest-art, .shelf-art { height: 160px; }
  .sh-notch { height: 112px; }
  .os-tiles { gap: 10px; }
  .tile { padding: 18px; }
  .tile .ic { margin-bottom: 10px; }
  .contrib { margin-top: 64px; padding: 26px 22px; }
  .code { padding: 18px 16px; font-size: 11.6px; }
  .codecard-foot { padding: 14px 18px 18px; }
  .req { padding: 24px 22px; }
  .faq summary { font-size: 16.5px; padding: 20px 2px; }
  .faq details p { padding-right: 8px; font-size: 15.5px; }
  .final { padding: 88px 0 100px; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .gh-label { display: none; }
  .nav-inner { gap: 12px; }
}
@media (max-width: 380px) {
  .os-tiles { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .viz i { transform: scaleY(.7); }
  .sh-file.f3 { animation: none; }
}
