/* Technology Information — site styles. No external fonts, scripts or trackers. */

:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --fg: #1d1d1f;
  --fg-2: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --card: #ffffff;
  --accent-a: #2ecbc0;
  --accent-b: #2b6bea;
  --accent: #1f7ae0;
  --grad: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  --nav-bg: rgba(251, 251, 253, .72);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000; --bg-2: #0d0d0f; --fg: #f5f5f7; --fg-2: #a1a1a6;
    --line: rgba(255, 255, 255, .14); --card: #141416; --accent: #49a6ff; --nav-bg: rgba(0, 0, 0, .66);
  }
}
:root[data-theme="dark"] {
  --bg: #000; --bg-2: #0d0d0f; --fg: #f5f5f7; --fg-2: #a1a1a6;
  --line: rgba(255, 255, 255, .14); --card: #141416; --accent: #49a6ff; --nav-bg: rgba(0, 0, 0, .66);
}
:lang(zh-TW) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; }
:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans CJK JP", sans-serif; }
:lang(ko) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--fg-2); }

/* Always-dark sections (hero scenes look like a product launch in both themes) */
.dark { --bg: #000; --fg: #f5f5f7; --fg-2: #a1a1a6; --line: rgba(255,255,255,.14); --card: #141416; --accent: #49a6ff;
  background: #000; color: #f5f5f7; }

/* ---------- beta banner + nav ---------- */
.banner {
  display: block; text-align: center; padding: 10px 16px; font-size: 14px; background: #000; color: #f5f5f7;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.banner:hover { text-decoration: none; }
.banner b { font-weight: 600; }
.banner .go { margin-left: 6px; color: #49a6ff; }
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 52px; }
.brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--fg); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.nav .links { display: flex; gap: 18px; font-size: 14px; margin-right: auto; }
.nav .links a { color: var(--fg-2); }
.nav .links a:hover { color: var(--fg); text-decoration: none; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fg-2); cursor: pointer; }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.lang select {
  font: inherit; color: var(--fg); background: transparent; border: 0; padding: 4px 2px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.lang select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.lang option { color: #1d1d1f; background: #fff; }
@media (max-width: 560px) { .nav .links { display: none; } .nav .wrap { gap: 8px; } .brand { margin-right: auto; } }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; font-size: 17px;
  background: var(--accent); color: #fff; font-weight: 500;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.link-more::after { content: " ›"; }

/* ---------- headings ---------- */
.eyebrow { font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; margin: 0 0 8px; }
.h-hero { font-size: clamp(44px, 9vw, 104px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.h-1 { font-size: clamp(36px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.h-2 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.38; color: var(--fg-2); max-width: 760px; margin: 18px auto 0; }
:lang(zh-CN) .h-hero, :lang(zh-TW) .h-hero, :lang(ja) .h-hero, :lang(ko) .h-hero,
:lang(zh-CN) .h-1, :lang(zh-TW) .h-1, :lang(ja) .h-1, :lang(ko) .h-1,
:lang(zh-CN) .h-story, :lang(zh-TW) .h-story, :lang(ja) .h-story, :lang(ko) .h-story { letter-spacing: -.01em; line-height: 1.16; }
.center { text-align: center; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: calc(100svh - 92px); display: grid; place-items: center; overflow: hidden; padding: 80px 0 120px; }
.hero .glow {
  position: absolute; inset: -30%; pointer-events: none; opacity: .55;
  background:
    radial-gradient(32% 28% at 30% 40%, rgba(46, 203, 192, .45), transparent 70%),
    radial-gradient(30% 30% at 70% 55%, rgba(43, 107, 234, .5), transparent 70%),
    radial-gradient(24% 22% at 50% 80%, rgba(120, 80, 255, .25), transparent 70%);
  filter: blur(40px); animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-4%, -2%, 0) rotate(0deg); } to { transform: translate3d(4%, 3%, 0) rotate(12deg); } }
.hero .inner { position: relative; text-align: center; }
.hero .sub { margin-top: 26px; font-size: clamp(17px, 2.2vw, 22px); color: var(--fg-2); letter-spacing: .01em; }
.cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 40px; border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: rgba(255,255,255,.7); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- device frames (drawn here, not product photos) ---------- */
.laptop { position: relative; width: 100%; }
.laptop .lid {
  position: relative; border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 2.6%;
  background: linear-gradient(#2a2a2d, #18181a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.45);
}
.laptop .lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #0b0b0c; }
.laptop .screen { position: relative; overflow: hidden; border-radius: 6px; background: #000; aspect-ratio: 1000 / 760; }
.laptop .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop .base {
  height: 0; padding-bottom: 3.2%; margin: 0 -6%; border-radius: 0 0 14px 14px;
  background: linear-gradient(#cfd0d4, #8e8f94); box-shadow: 0 30px 50px rgba(0,0,0,.35);
}
.laptop .base::after { content: ""; display: block; width: 16%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: rgba(0,0,0,.18); }

.phone {
  position: relative; width: 100%; border-radius: 15% / 7.6%; padding: 3.2%;
  background: linear-gradient(145deg, #3a3a3d, #121214); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px rgba(0,0,0,.5);
}
.phone .screen { position: relative; overflow: hidden; border-radius: 12% / 6%; aspect-ratio: 9 / 16; background: #111; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* tap ripple and highlight ring, placed in % of the screen */
.ring {
  position: absolute; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 3px rgba(73, 166, 255, .95), 0 0 30px 6px rgba(73, 166, 255, .55);
  opacity: 0; transition: opacity .35s;
}
.tap { position: absolute; width: 14%; aspect-ratio: 1; margin: -7% 0 0 -7%; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.55); opacity: 0; }
.tap.on { animation: tap 1.4s ease-out infinite; }
@keyframes tap { 0% { transform: scale(.4); opacity: .9; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }

/* ---------- scroll scenes: JS sets --p (0..1) on [data-scene] ---------- */
.scene { position: relative; --p: 0; }
.scene .stick { position: sticky; top: 52px; height: calc(100svh - 52px); overflow: hidden; display: grid; place-items: center; }

/* Home: the UnitCtrl showcase rises in */
.showcase { padding: 120px 0 40px; }
.showcase .head { text-align: center; }
.app-id { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.app-id img { width: 56px; height: 56px; border-radius: 13px; }
.app-id span { font-size: 21px; font-weight: 600; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px;
  color: #fff; background: var(--grad); text-transform: uppercase; vertical-align: middle; }
:lang(zh-CN) .badge, :lang(zh-TW) .badge, :lang(ja) .badge { text-transform: none; letter-spacing: .02em; }
.combo { position: relative; width: min(920px, 92%); margin: 56px auto 0; }
.combo .laptop { width: 78%; margin: 0 auto; }
.combo .phone { position: absolute; width: 21%; bottom: 3%; }
.combo .phone.l { left: 0; }
.combo .phone.r { right: 0; }
.rise { transform: translateY(calc((1 - var(--in, 0)) * 60px)) scale(calc(.92 + var(--in, 0) * .08)); opacity: calc(.2 + var(--in, 0) * .8);
  transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s; }
.rise.in { --in: 1; }
.combo .phone.l { transform: translateX(calc((1 - var(--in, 0)) * 60%)) rotate(-4deg); transition: transform 1.1s .15s cubic-bezier(.2,.7,.2,1); }
.combo .phone.r { transform: translateX(calc((1 - var(--in, 0)) * -60%)) rotate(4deg); transition: transform 1.1s .15s cubic-bezier(.2,.7,.2,1); }
.combo.in .phone { --in: 1; }

.more { padding: 120px 0 140px; text-align: center; }

/* ---------- home: the story, one sentence per screen (site.js sets .now / .past from data-steps) ---------- */
.story { height: 700svh; }
.story .glow { position: absolute; inset: -30%; pointer-events: none; opacity: 0; transition: opacity 1.6s;
  background:
    radial-gradient(32% 28% at 30% 40%, rgba(46, 203, 192, .42), transparent 70%),
    radial-gradient(30% 30% at 70% 55%, rgba(43, 107, 234, .48), transparent 70%),
    radial-gradient(24% 22% at 50% 80%, rgba(120, 80, 255, .22), transparent 70%);
  filter: blur(40px); animation: drift 18s ease-in-out infinite alternate; }
.story:not([data-step="0"]) .glow { opacity: .55; }
.story .beat { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 24px;
  opacity: 0; transform: translateY(56px) scale(.98); pointer-events: none;
  transition: opacity .8s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.story .beat.now { opacity: 1; transform: none; }
.story .beat.past { transform: translateY(-56px) scale(.98); }
.h-story { font-size: clamp(34px, 6.4vw, 80px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 0 auto; max-width: 15em; }
.story .sub { margin: 28px auto 0; max-width: 32em; font-size: clamp(17px, 2.1vw, 23px); line-height: 1.45; color: var(--fg-2); }
.warn { background: linear-gradient(100deg, #ffb340, #ff375f); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Beat 0: the noise of “free” apps — ads, trackers, upsells — that clears when the story turns. */
.noise { position: absolute; inset: 0; pointer-events: none; transition: opacity 1s, transform 1.6s cubic-bezier(.2,.7,.2,1), filter 1s; }
.story:not([data-step="0"]) .noise { opacity: 0; transform: scale(1.3); filter: blur(8px); }
.noise i { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 10px;
  font: 700 12px/1 var(--font); font-style: normal; letter-spacing: .06em; color: rgba(255,255,255,.6);
  border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  animation: bob 5s ease-in-out var(--d, 0s) infinite alternate; }
.noise i.ad { color: #ffd60a; background: rgba(255,214,10,.10); box-shadow: inset 0 0 0 1px rgba(255,214,10,.4); }
.noise i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { from { transform: translate(-50%, -50%) translateY(-7px) scale(var(--s, 1)); } to { transform: translate(-50%, -50%) translateY(7px) scale(var(--s, 1)); } }
.rail { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rail li { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .4s, transform .4s; }
.rail li.past { background: rgba(255,255,255,.45); }
.rail li.now { background: #fff; transform: scale(1.5); }
.story .cue { transition: opacity .6s; }
.story:not([data-step="0"]) .cue { opacity: 0; }
.start { padding: 130px 0 0; }
.promise { position: relative; overflow: hidden; padding: 150px 0 160px; }
.promise .glow { position: absolute; inset: -40% -10%; pointer-events: none; opacity: .35; filter: blur(50px);
  background: radial-gradient(40% 40% at 50% 50%, rgba(43, 107, 234, .55), transparent 70%); }
.promise .wrap { position: relative; }
.promise .lead { margin-top: 24px; }
@media (max-width: 760px) {
  .story { height: 600svh; }
  .rail { display: none; }
  .noise i.mid, .noise i:nth-child(n+11) { display: none; }
}

/* ---------- “Buy the Developer a Coffee…”: one quiet line, the codes one click away ---------- */
.coffee-link { font: inherit; font-size: 13px; color: var(--fg-2); background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; }
.coffee-link:hover { color: var(--fg); }
.coffee-link img { width: 18px; height: 18px; }
.coffee { border: 0; border-radius: 26px; padding: 34px 30px 28px; width: min(760px, 94vw); max-height: 92svh; overflow: auto;
  background: var(--card); color: var(--fg); text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.coffee::backdrop { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.coffee .cup { width: 64px; height: 64px; margin: 0 auto 8px; }
.coffee h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.01em; }
.coffee p { margin: 2px 0; color: var(--fg-2); font-size: 15px; }
.coffee .codes { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 22px; }
.coffee figure { margin: 0; }
.coffee figure img { height: 220px; width: auto; border-radius: 12px; }
.coffee figcaption { margin-top: 6px; font-size: 13px; color: var(--fg-2); }
.coffee .x { position: absolute; top: 8px; right: 10px; margin: 0; }
.coffee .x button { font: inherit; font-size: 24px; line-height: 1; border: 0; background: none; color: var(--fg-2); cursor: pointer; padding: 6px 10px; border-radius: 10px; }
.coffee .x button:hover { color: var(--fg); background: var(--line); }
.foot .site-note { margin: 16px auto 0; font-size: 12px; color: var(--fg-2); }

/* ---------- UnitCtrl hero scene: Mac lights up, phones slide in, links draw ---------- */
.uc-hero { height: 260svh; }
.uc-hero .copy { position: absolute; top: 7svh; left: 0; right: 0; text-align: center; padding: 0 16px; z-index: 2;
  opacity: clamp(0, calc(1 - (var(--p) - .6) * 5), 1); transform: translateY(calc(var(--p) * -40px)); }
.uc-hero .copy .lead { opacity: clamp(0, calc(var(--p) * 6 - .2), 1); }
.uc-hero .copy .h-1 { font-size: clamp(32px, 5vw, 64px); }
.uc-hero .copy .lead { font-size: clamp(16px, 1.8vw, 20px); margin-top: 12px; max-width: 820px; }
.uc-hero .copy .app-id { margin-bottom: 4px; }
.uc-hero .stick { place-items: end center; padding-bottom: 5svh; }
.uc-hero .stage { position: relative; width: min(940px, 92vw, calc((100svh - 360px) * 1.5)); }
.uc-hero .laptop { width: 74%; margin: 0 auto;
  filter: brightness(calc(.3 + clamp(0, var(--p) * 2.6, 1) * .7));
  transform: scale(calc(.9 + clamp(0, var(--p) * 2.6, 1) * .1)); }
.uc-hero .laptop .screen img { opacity: clamp(0, calc((var(--p) - .12) * 4), 1); }
.uc-hero .halo { position: absolute; inset: 10% 18% 0; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(43,107,234,.55), rgba(46,203,192,.25) 55%, transparent);
  filter: blur(30px); opacity: clamp(0, calc((var(--p) - .1) * 3), 1); }
.uc-hero .phone { position: absolute; width: 19%; bottom: 0; }
.uc-hero .phone.a { left: 0;  transform: translateX(calc((1 - clamp(0, (var(--p) - .3) * 3.3, 1)) * -140%)) rotate(-5deg); opacity: clamp(0, calc((var(--p) - .3) * 5), 1); }
.uc-hero .phone.b { right: 0; transform: translateX(calc((1 - clamp(0, (var(--p) - .4) * 3.3, 1)) * 140%)) rotate(5deg);  opacity: clamp(0, calc((var(--p) - .4) * 5), 1); }
.uc-hero svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.uc-hero svg.links path { fill: none; stroke: url(#lg); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, (var(--p) - .62) * 4, 1)); opacity: clamp(0, calc((var(--p) - .62) * 30), 1); filter: drop-shadow(0 0 6px rgba(73,166,255,.8)); }
.uc-hero .after { position: absolute; top: 9svh; left: 0; right: 0; text-align: center; padding: 0 16px; z-index: 2;
  opacity: clamp(0, calc((var(--p) - .8) * 7), 1); transform: translateY(calc((1 - clamp(0, (var(--p) - .8) * 7, 1)) * 30px)); }
.uc-hero .after .h-2 { font-size: clamp(24px, 3.6vw, 40px); }

/* ---------- "Nothing gets in without Allow" scene ---------- */
.uc-ask { height: 320svh; }
.uc-ask .stick { align-content: center; }
.ask-grid { display: grid; grid-template-columns: .9fr 1.5fr; gap: 4vw; align-items: center; width: min(1200px, 94vw); }
.ask-copy .h-1 { margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; color: var(--fg-2); opacity: .35; transition: opacity .4s, color .4s; }
.steps li .n { display: inline-block; width: 1.6em; color: inherit; }
.steps li.on { opacity: 1; color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { font-size: 15px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #e8e8ed;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.uc-ask[data-step="3"] .chip { opacity: 1; transform: none; }
.uc-ask[data-step="3"] .chip:nth-child(2) { transition-delay: .08s; }
.uc-ask[data-step="3"] .chip:nth-child(3) { transition-delay: .16s; }
.uc-ask[data-step="3"] .chip:nth-child(4) { transition-delay: .24s; }
.ask-stage { position: relative; display: grid; grid-template-columns: 1.9fr 1fr; gap: 6%; align-items: end; }
.ask-stage .phone .screen img { transition: opacity .45s; }
.ask-stage .phone .asking { opacity: 0; }
.uc-ask[data-step="2"] .phone .asking, .uc-ask[data-step="3"] .phone .asking { opacity: 1; }
.ask-stage .r-mac { left: 1%; top: 10%; width: 22%; height: 6%; border-radius: 8px; }
.uc-ask[data-step="1"] .r-mac { opacity: 1; }
.ask-stage .r-card { left: 5%; top: 16.5%; width: 90%; height: 25.2%; border-radius: 10px; }
.uc-ask[data-step="2"] .r-card { opacity: 1; }
.ask-stage .tap-allow { left: 19%; top: 36.2%; }
.uc-ask[data-step="3"] .tap-allow { animation: tap 1.4s ease-out infinite; }
.ask-stage .beam { position: absolute; left: 50%; right: 18%; bottom: 46%; height: 3px; border-radius: 2px; background: var(--grad);
  transform-origin: left; transform: scaleX(0); transition: transform .6s; box-shadow: 0 0 14px rgba(73,166,255,.8); }
.uc-ask[data-step="1"] .beam, .uc-ask[data-step="2"] .beam { transform: scaleX(.55); opacity: .5; }
.uc-ask[data-step="3"] .beam { transform: scaleX(1); }
@media (max-width: 760px) {
  .ask-grid { grid-template-columns: 1fr; gap: 26px; }
  .ask-copy .h-1 { margin-bottom: 16px; }
  .steps { gap: 8px; }
  .chips { margin-top: 16px; }
  .ask-stage { width: 92%; margin: 0 auto; }
}

/* ---------- Android controls Android ---------- */
.uc-android { padding: 140px 0; }
.and-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 7vw; align-items: center; }
.and-phone { width: min(300px, 70vw); margin: 0 auto; }
.and-copy .lead { margin: 18px 0 0; }
@media (max-width: 760px) { .and-grid { grid-template-columns: 1fr; text-align: center; } .and-copy .lead { margin-inline: auto; } }

/* ---------- Mac gallery ---------- */
.uc-gallery { padding: 130px 0 120px; background: var(--bg-2); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 30px; border-radius: 999px; background: var(--line); }
.tabs button { font: inherit; font-size: 15px; border: 0; background: none; color: var(--fg-2); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.gal-stage { width: min(900px, 92vw); margin: 50px auto 0; }
.gal-stage .screen .g { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.gal-stage .screen .g.on { opacity: 1; }
.gal-cap { position: relative; min-height: 3em; margin-top: 34px; text-align: center; font-size: 19px; }
.gal-cap .c { position: absolute; left: 0; right: 0; opacity: 0; transition: opacity .4s; }
.gal-cap .c.on { opacity: 1; }

/* ---------- features ---------- */
.uc-feat { padding: 130px 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.tile { background: var(--bg-2); border-radius: var(--radius); padding: 30px 28px; }
.tile svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 16px 0 6px; font-size: 21px; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--fg-2); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.uc-faq { padding: 40px 0 130px; }
.narrow { width: min(820px, 100% - 32px); }
.uc-faq .h-1 { margin-bottom: 36px; }
details { border-top: 1px solid var(--line); padding: 20px 4px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--fg-2); font-weight: 400; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--fg-2); }

/* ---------- beta ---------- */
.beta { padding: 130px 0 120px; background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 0 var(--line); }
.card .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.card h3 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--fg-2); flex: 1; }
.card .btn { align-self: flex-start; font-size: 15px; padding: 9px 16px; margin-top: 8px; }
.note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--fg-2); font-size: 15px; }
.mac-card { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.mac-card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 26px; }
.mac-card h3 { margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .mac-card { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding: 34px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.foot a { color: var(--fg-2); }
.foot a:hover { color: var(--fg); }
.foot .copy { margin-left: auto; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- small screens: lighter scenes ---------- */
@media (max-width: 760px) {
  .uc-hero { height: 200svh; }
  .uc-ask { height: 260svh; }
  .uc-hero .stage { width: 94vw; }
  .uc-hero .phone { width: 24%; }
}

/* ---------- reduced motion: everything shown, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .glow, .cue::after, .tap.on { animation: none; }
  .reveal, .rise, .combo .phone { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scene { height: auto !important; --p: 1 !important; }
  .scene .stick { position: relative; height: auto; padding: 60px 0; }
  .uc-hero .copy { position: relative; top: 0; }
  .uc-hero .stage { margin-top: 30px; }
  .uc-hero .after { position: relative; top: 0; margin-top: 30px; }
  .steps li { opacity: 1; color: var(--fg); }
  .chip { opacity: 1; transform: none; }
  .story .stick { display: block; }
  .story .beat { position: relative; inset: auto; opacity: 1; transform: none; padding: 90px 24px; }
  .story .glow { opacity: .4; animation: none; }
  .noise, .rail, .story .cue { display: none; }
}
