/* UtilgruX — site styles. Apple-style: system type, generous space, glass, one accent gradient (from the icon's X). */
:root {
  --bg: #fbfbfd;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --card: #ffffff;
  --dark: #000;
  --dark-card: #161617;
  --violet: #a855f7;
  --pink: #ec4899;
  --grad: linear-gradient(90deg, #a855f7 0%, #d946ef 45%, #ec4899 100%);
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Inter, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --theme-a: #9B6BFF;
  --theme-b: #B8325A;
  --theme-c: color-mix(in srgb, var(--theme-a), white 45%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; letter-spacing: -.01em; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: clamp(48px, 9vw, 104px); line-height: 1.02; }
h2 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; text-align: center; }
h3 { font-size: 24px; line-height: 1.2; }
h4 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.eyebrow { text-align: center; font-size: 19px; font-weight: 600; margin: 0 0 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); max-width: 740px; margin: 22px auto 0; text-align: center; font-weight: 500; }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.caption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 52px; background: rgba(251, 251, 253, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.scrolled { border-color: var(--line); }
.nav.on-dark { background: rgba(22, 22, 23, .72); color: #f5f5f7; }
.nav-inner { max-width: 1080px; margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--violet); }

/* Buttons */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 999px; background: var(--fg); color: #fff; font-weight: 600; font-size: 17px; transition: transform .3s var(--ease), box-shadow .3s; position: relative; isolation: isolate; }
.pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad); opacity: 0; transition: opacity .3s; z-index: -1; }
.pill:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(168, 85, 247, .35); }
.pill:hover::before { opacity: 1; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pill.small { padding: 6px 15px; font-size: 13px; margin-left: 8px; }
.pill.large { padding: 18px 36px; font-size: 20px; }
.on-dark .pill.small, .dark .pill { background: #f5f5f7; color: #000; }
.link-arrow { color: var(--violet); font-size: 17px; font-weight: 500; }
.link-arrow::after { content: " ›"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 4px; }
.cta { display: flex; gap: 26px; align-items: center; justify-content: center; margin: 34px 0 14px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; padding: 130px 24px 0; text-align: center; overflow: hidden; }
.hero h1 { margin-top: 4px; }
.hero-glow { position: absolute; top: -200px; left: 50%; width: 1100px; height: 800px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(168, 85, 247, .22), rgba(236, 72, 153, .12) 45%, transparent 75%); pointer-events: none; filter: blur(10px); }
.hero-icon-wrap { width: 148px; height: 148px; margin: 0 auto 26px; perspective: 600px; animation: float 6s ease-in-out infinite; }
.hero-icon { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(88, 28, 135, .35)); transition: transform .25s var(--ease); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Mac mock */
.mac { width: min(980px, 100%); margin: 70px auto 0; position: relative; }
.mac-screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 18px 18px 0 0; overflow: hidden; background: #0b0b0f; border: 10px solid #0d0d0f; border-bottom: 0; box-shadow: 0 0 0 1px #2b2b30, 0 40px 120px rgba(40, 10, 80, .35); }
.mac-base { height: 18px; margin: 0 -6%; background: linear-gradient(#d9d9de, #a7a7ad); border-radius: 0 0 22px 22px; position: relative; }
.mac-base::after { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 7px; transform: translateX(-50%); background: #9a9aa0; border-radius: 0 0 10px 10px; }
.wallpaper { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 20% 30%, rgba(168, 85, 247, .85), transparent 60%),
  radial-gradient(50% 70% at 85% 70%, rgba(236, 72, 153, .75), transparent 60%),
  radial-gradient(70% 90% at 55% 110%, rgba(37, 99, 235, .8), transparent 60%),
  linear-gradient(135deg, #3b2a12, #1e1b4b 50%, #0f172a); z-index: 0; }
.wallpaper.alt { background:
  radial-gradient(60% 90% at 80% 20%, rgba(236, 72, 153, .6), transparent 60%),
  radial-gradient(60% 80% at 15% 80%, rgba(34, 211, 238, .45), transparent 60%),
  linear-gradient(160deg, #111827, #1e1b4b 60%, #3b0764); }
.menubar { position: absolute; inset: 0 0 auto; height: 26px; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; font-size: 12px; color: #fff; background: rgba(20, 16, 40, .35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mb-left, .mb-right { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.mb-left span { opacity: .9; }
.apple { width: 12px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 200'%3E%3Cpath d='M150 170c-8 12-17 24-30 24s-17-8-32-8-20 8-32 8-21-11-30-24C8 145-6 99 12 68c9-15 25-25 42-25 13 0 25 9 32 9s22-10 37-9c6 0 24 2 35 19-1 1-21 12-21 36 0 29 25 39 26 39-1 1-4 13-13 33zM119 28c7-8 11-19 10-28-10 0-21 6-28 14-6 7-12 18-10 28 11 1 21-6 28-14z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 200'%3E%3Cpath d='M150 170c-8 12-17 24-30 24s-17-8-32-8-20 8-32 8-21-11-30-24C8 145-6 99 12 68c9-15 25-25 42-25 13 0 25 9 32 9s22-10 37-9c6 0 24 2 35 19-1 1-21 12-21 36 0 29 25 39 26 39-1 1-4 13-13 33zM119 28c7-8 11-19 10-28-10 0-21 6-28 14-6 7-12 18-10 28 11 1 21-6 28-14z'/%3E%3C/svg%3E") center/contain no-repeat; }
.mb-right .r { display: flex; flex-direction: column; align-items: center; line-height: 1; font-variant-numeric: tabular-nums; }
.mb-right .r small { font-size: 7px; opacity: .75; letter-spacing: .04em; font-weight: 600; }
.mb-right .r b { font-size: 10.5px; font-weight: 600; }
.hint { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .75); font-size: 13px; animation: nudge 2.4s ease-in-out infinite; pointer-events: none; }
.hint::before { content: "↑ "; }
@keyframes nudge { 50% { transform: translate(-50%, -4px); opacity: .5; } }

/* Notch / island (sizes and colors follow App/Notch/NotchViews.swift) */
.notch { position: absolute; z-index: 5; top: 0; left: 50%; transform: translateX(-50%); width: 170px; height: 26px; background: #000; border-radius: 0 0 14px 14px; color: #fff; overflow: hidden; cursor: pointer; transition: width .55s var(--ease), height .55s var(--ease), border-radius .55s var(--ease), box-shadow .6s; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; outline: none; }
.notch.wide { width: 300px; }
.notch.open { width: min(640px, 94%); height: 232px; border-radius: 0 0 32px 32px; padding: 0; align-items: stretch; cursor: default; }
.notch.glow-green { box-shadow: 0 6px 40px 6px rgba(48, 209, 88, .7), 0 0 0 1px rgba(48, 209, 88, .25); }
.notch svg { display: block; flex: none; }
.notch .art { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #f472b6, #8b5cf6); flex: none; }
.notch .bars { display: flex; gap: 2px; align-items: center; height: 16px; }
.notch .bars i { width: 3px; border-radius: 2px; background: #0a84ff; height: 4px; animation: bar 1s ease-in-out infinite; }
.notch .bars i:nth-child(2) { animation-delay: -.3s; } .notch .bars i:nth-child(3) { animation-delay: -.6s; } .notch .bars i:nth-child(4) { animation-delay: -.15s; }
.notch .chg { display: flex; gap: 5px; align-items: center; color: #30d158; font-size: 12px; } .notch .chg b { color: #fff; font-variant-numeric: tabular-nums; }
.notch .bstat { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; gap: 5px; align-items: center; }
.notch .bstat.g { color: #30d158; }
.notch .batt { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; padding: 1px; opacity: .95; }
.notch .batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.notch .batt i { display: block; height: 100%; background: currentColor; border-radius: 1px; animation: fill 2s var(--ease); }
.notch .timer { font-size: 13px; font-weight: 600; color: #ff9f0a; font-variant-numeric: tabular-nums; }
.notch .callt { display: flex; gap: 6px; align-items: center; color: #30d158; font-size: 12px; font-variant-numeric: tabular-nums; }
.notch .lv { display: flex; gap: 2.5px; align-items: center; height: 19px; }
.notch .lv span { display: flex; flex-direction: column; justify-content: center; gap: 1px; height: 19px; }
.notch .lv i { display: block; width: 3px; height: 1.5px; border-radius: 2px; transition: height .08s ease-out; }
.notch .lv i:first-child { background: #30d158; } .notch .lv i:last-child { background: #64d2ff; }
.notch .vol { width: 24px; }
.notch .hud { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.notch .hud b { width: 22px; text-align: right; }
.notch .hbar { width: 92px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.notch .hbar i { display: block; height: 100%; width: 60%; border-radius: 3px; background: #fff; transition: width .12s ease-out; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@keyframes fill { from { width: 0; } }
.island { width: 100%; padding: 0 30px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity .3s .2s; text-align: left; }
.notch.open .island { opacity: 1; }
.island button { color: inherit; }
.itop { height: 30px; display: flex; align-items: center; justify-content: space-between; }
.itabs, .iright { display: flex; gap: 6px; align-items: center; }
.itabs button { width: 40px; height: 24px; border-radius: 99px; display: grid; place-items: center; color: #858585; transition: background .2s, color .2s; }
.itabs button.on { background: rgba(255, 255, 255, .07); color: #fff; } .itabs button:hover { color: #fff; }
.iright { gap: 10px; } .iright .cam-b.on { color: #0a84ff; } .iright .bstat { font-size: 13px; }
.ibody { flex: 1; min-height: 0; }
.ibody.pane-home { display: grid; grid-template-columns: 1fr 228px; gap: 20px; }
.np { display: flex; gap: 16px; }
.np .cover { width: 104px; height: 104px; border-radius: 14px; background: conic-gradient(from 210deg, #8b5cf6, #ec4899, #f59e0b, #8b5cf6); flex: none; position: relative; }
.np .appb { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(#fb5c74, #fa233b); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.np .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.np .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .np .t b { font-size: 15px; white-space: nowrap; }
.np .meta > span { font-size: 13px; color: #858585; }
.np .prog { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin-top: auto; overflow: hidden; } .np .prog i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 3px; animation: prog 30s linear infinite; }
@keyframes prog { to { width: 100%; } }
.np .ctrls { display: flex; gap: 30px; justify-content: center; align-items: center; margin-top: 8px; }
.cal { font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.cal-h { display: flex; gap: 8px; } .cal-h > div:first-child { width: 36px; } .cal-h b { display: block; font-size: 15px; } .cal-h small { color: #858585; font-size: 12px; }
.days { display: flex; gap: 1px; overflow: hidden; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px 2px; border-radius: 8px; color: #858585; font-size: 10px; }
.day b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 12px; }
.day.sel { background: rgba(255, 255, 255, .07); color: #fff; } .day.sel b { background: #0a84ff; }
.cal p { margin: 0; padding-left: 9px; position: relative; display: flex; flex-direction: column; }
.cal p::before { content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 3px; border-radius: 2px; background: var(--c); }
.cal p b { font-size: 12px; } .cal p small { font-size: 10px; color: #858585; }
.shelf-h { display: flex; gap: 6px; align-items: center; font-size: 11px; } .shelf-h b { font-size: 13px; margin-right: auto; }
.shelf-h span { padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.files { display: flex; gap: 14px; margin-top: 14px; }
.files span { width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; text-align: center; }
.files .f { width: 44px; height: 52px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 6px; font-style: normal; font-size: 9px; font-weight: 700; color: #fff; }
.f.pdf { background: linear-gradient(#ff6961, #e0352b); } .f.zip { background: linear-gradient(#9ca3af, #6b7280); } .f.img { background: linear-gradient(160deg, #60a5fa, #34d399); }
.tmr { display: flex; gap: 28px; align-items: center; justify-content: center; height: 100%; }
.ring { --p: 1; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(closest-side, #000 calc(100% - 8px), transparent calc(100% - 7px)), conic-gradient(#ff9f0a calc(var(--p) * 360deg), rgba(255, 255, 255, .12) 0); }
.ring b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.presets { display: grid; grid-template-columns: repeat(3, 78px); gap: 8px; font-size: 12px; font-weight: 600; }
.presets span, .presets em { height: 26px; display: grid; place-items: center; border-radius: 99px; background: rgba(255, 255, 255, .07); font-style: normal; }
.presets em { font-weight: 500; font-size: 11px; } .presets em:first-of-type { grid-column: 2; }
.mirror { display: flex; gap: 20px; height: 100%; }
.mirror .cam { width: 236px; border-radius: 16px; flex: none; background: radial-gradient(ellipse 34% 30% at 50% 100%, #c084fc 98%, transparent 100%), radial-gradient(circle at 50% 46%, #e9d5ff 0 15%, transparent 16%), linear-gradient(160deg, #3b2a5e, #14121c); position: relative; }
.mirror .cam span { position: absolute; left: 10px; bottom: 8px; font-size: 10px; color: rgba(255, 255, 255, .7); }
.atest { display: flex; flex-direction: column; gap: 10px; font-size: 12px; } .atest b { font-size: 14px; } .atest small { color: #858585; font-size: 11px; }
.meter { width: 180px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; } .meter i { display: block; height: 100%; width: 35%; background: #30d158; border-radius: 3px; animation: meter 1.4s ease-in-out infinite; }
@keyframes meter { 50% { width: 70%; } }
.rec { display: inline-flex; gap: 6px; align-items: center; width: fit-content; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-weight: 600; }
.notch-stage { margin-top: 56px; }
.mac.big { margin-top: 0; }
.mac.big .mac-screen { aspect-ratio: 16 / 7; border-radius: 18px; border-bottom: 10px solid #0d0d0f; }
.seg { display: flex; gap: 4px; justify-content: center; margin: 28px auto 0; padding: 4px; background: #1d1d1f; border-radius: 99px; width: fit-content; flex-wrap: wrap; }
.seg button { padding: 9px 18px; border-radius: 99px; font-size: 14px; color: #a1a1a6; transition: background .3s, color .3s; }
.seg button.on { background: #f5f5f7; color: #000; }
.seg button:hover:not(.on) { color: #fff; }

/* Sections */
.section { padding: 150px 0; position: relative; }
.section.dark { background: var(--dark); color: #f5f5f7; }
.section.dark .lede { color: #a1a1a6; }
.tiles { display: grid; gap: 18px; margin-top: 60px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.tile p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 15px; }
.dark .tile { background: var(--dark-card); border-color: #2a2a2d; }
.dark .tile p { color: #a1a1a6; }

/* Monitor */
.monitor-demo { margin: 60px auto 0; max-width: 760px; position: relative; }
.strip { display: flex; justify-content: center; gap: 4px; padding: 6px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 14px; width: fit-content; margin: 0 auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.ro { display: flex; flex-direction: column; align-items: center; padding: 5px 12px; border-radius: 9px; line-height: 1.05; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; min-width: 64px; }
.ro.grp { flex-direction: row; gap: 10px; } .ro.grp > span { display: flex; flex-direction: column; align-items: center; min-width: 34px; }
.ro small { font-size: 9px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.ro b { font-size: 15px; }
.ro:hover { background: rgba(0, 0, 0, .05); }
.ro.on { background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); color: #fff; } .ro.on small { color: rgba(255, 255, 255, .8); }
/* Panel: Apple design (glass, a quiet title per section) by default; Cards is the app's dark design. */
.glass-panel { --label: #1d1d1f; --dim: #6e6e73; --track: rgba(0, 0, 0, .1); margin: 14px auto 0; width: min(400px, 100%); border-radius: 22px; padding: 6px; color: var(--label); background: rgba(255, 255, 255, .75); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 30px 80px rgba(60, 20, 100, .18), 0 0 0 1px var(--line); transition: transform .45s var(--ease), opacity .45s, background .4s; transform-origin: top center; }
.glass-panel.swap { transform: scale(.97); opacity: .5; }
.glass-panel.cards { --label: rgba(255, 255, 255, .93); --dim: rgba(255, 255, 255, .55); --track: rgba(255, 255, 255, .13); padding: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--theme-a) 16%, transparent), color-mix(in srgb, var(--theme-b) 10%, transparent) 55%, transparent), #140B22; border-color: rgba(255, 255, 255, .08); }
.mcard { padding: 9px 14px; display: flex; flex-direction: column; gap: 7px; }
.mcard header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mcard header b { font-size: 12px; font-weight: 600; color: var(--theme-a); } .mcard header span { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.cards .mcard { padding: 12px; margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, .055); border: .6px solid rgba(255, 255, 255, .1); } .cards .mcard:last-child { margin-bottom: 0; }
.cards .mcard:first-child { border: 1.2px solid color-mix(in srgb, var(--theme-a) 75%, transparent); }
.cards .mcard header b { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .06em; } .cards .mcard header span { color: var(--label); }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mrow span { display: flex; gap: 7px; align-items: center; color: var(--label); } .mrow b { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.mrow i { width: 7px; height: 7px; border-radius: 50%; flex: none; } .mrow.strong b, .mrow.strong span { font-weight: 600; }
.mring { width: var(--s); height: var(--s); position: relative; display: grid; place-items: center; flex: none; }
.mring > i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--f) * 360deg), var(--track) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--w)), #000 calc(100% - var(--w) + .5px)); mask: radial-gradient(farthest-side, transparent calc(100% - var(--w)), #000 calc(100% - var(--w) + .5px)); }
.mrow .mring > i { width: auto; height: auto; }
.mring > div { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mring small { font-size: 9px; font-weight: 600; color: var(--dim); } .mring b { font-size: 19px; font-weight: 600; } .mring b.lg { font-size: 22px; } .mring b.xl { font-size: 24px; } .mring .bolt { font-size: 12px; }
.gauges, .rings2 { display: flex; justify-content: space-between; padding: 0 4px; } .rings2 { padding: 0 8px; }
.cores { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; justify-items: center; }
.split { display: flex; gap: 16px; align-items: center; } .split > div { flex: 1; display: grid; gap: 6px; }
.mcard canvas { width: 100%; height: 80px; display: block; } .mcard canvas[data-mirror] { height: 90px; } .mcard canvas[data-stack] { height: 56px; }
.maxis { display: flex; justify-content: space-between; font-size: 9px; font-weight: 500; color: var(--dim); margin-top: -3px; }
.fbar { display: flex; gap: 1.5px; height: 9px; border-radius: 99px; overflow: hidden; } .fbar i { min-width: 2px; transition: flex .45s var(--ease); }
.speeds { display: flex; justify-content: space-between; } .speeds div { display: flex; flex-direction: column; } .speeds div:last-child { align-items: flex-end; }
.speeds small { font-size: 10px; color: var(--dim); font-weight: 600; } .speeds b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.themes { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 26px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.themes span { min-width: 130px; text-align: right; }
.themes button { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px transparent; transition: box-shadow .3s, transform .3s; }
.themes button.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--a); }
.themes button:hover { transform: scale(1.12); }
.designs { display: flex; gap: 4px; padding: 4px; margin: 16px auto 0; width: fit-content; border-radius: 99px; background: rgba(0, 0, 0, .05); }
.designs button { padding: 6px 16px; border-radius: 99px; font-size: 13px; color: var(--muted); transition: background .3s, color .3s; }
.designs button.on { background: #fff; color: var(--fg); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }

/* Switchers */
.switch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 64px; }
.card { background: var(--dark-card); border: 1px solid #2a2a2d; border-radius: var(--radius); padding: 34px; transition: transform .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-4px); border-color: #3f3f46; }
.card.interactive { cursor: pointer; }
.card p { color: #a1a1a6; line-height: 1.5; margin: 10px 0 0; font-size: 16px; } .card p b { color: #f5f5f7; }
.keys { display: flex; gap: 8px; align-items: center; margin-bottom: 26px; }
kbd { font-family: var(--font); min-width: 46px; height: 46px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; background: linear-gradient(#3a3a3e, #2a2a2d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 #111, 0 4px 10px rgba(0, 0, 0, .4); font-size: 16px; font-weight: 600; color: #f5f5f7; transition: transform .1s, box-shadow .1s; }
kbd.down { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 #111; background: var(--grad); }
.then { color: #6e6e73; font-size: 20px; margin: 0 4px; }
.wheel-demo { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; height: 92px; }
.mouse { width: 46px; height: 70px; border: 2px solid #52525b; border-radius: 23px; position: relative; flex: none; }
.mouse i { position: absolute; top: 12px; left: 50%; width: 6px; height: 14px; margin-left: -3px; border-radius: 3px; background: var(--grad); transition: transform .15s; }
.page { flex: 1; height: 92px; border-radius: 12px; background: #0b0b0c; border: 1px solid #2a2a2d; overflow: hidden; position: relative; }
.lines { position: absolute; inset: 0 14px; transition: transform .25s var(--ease); }
.lines i { display: block; height: 7px; border-radius: 4px; background: #2f2f33; margin: 10px 0; } .lines i:nth-child(3n) { width: 70%; } .lines i:nth-child(4n) { background: linear-gradient(90deg, var(--violet), transparent); }

.dock-stage { margin-top: 110px; position: relative; }
.dock-stage h3 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 200px; }
.dock { display: flex; align-items: flex-end; gap: 10px; padding: 10px 14px; margin: 0 auto; width: fit-content; border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(20px); height: 82px; }
.dock button { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(160deg, var(--c1), var(--c2)); color: #fff; font-weight: 700; font-size: 22px; transition: width .2s var(--ease), height .2s var(--ease), margin .2s; position: relative; flex: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.dock button.ux { background: none; box-shadow: none; } .dock button.ux img { width: 100%; height: 100%; }
.dock button::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #d4d4d8; }
.dock-preview { position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%) translateY(10px); display: flex; gap: 12px; padding: 12px; border-radius: 20px; background: rgba(40, 40, 44, .75); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease), left .3s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.dock-preview.show { opacity: 1; transform: translateX(-50%); }
.win { width: 150px; }
.win .shot { height: 92px; border-radius: 10px; background: linear-gradient(160deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.win .shot::before { content: ""; position: absolute; inset: 18px 12px auto; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); box-shadow: 0 14px 0 rgba(255, 255, 255, .3), 0 28px 0 rgba(255, 255, 255, .3), 0 42px 0 rgba(255, 255, 255, .2); width: 60%; }
.win .shot::after { content: "● ● ●"; position: absolute; top: 3px; left: 8px; font-size: 7px; letter-spacing: 1px; color: rgba(255, 255, 255, .8); }
.win span { display: block; font-size: 11px; color: #d4d4d8; margin-top: 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Alt-Tab switcher overlay */
.switcher { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.switcher.show { opacity: 1; pointer-events: auto; }
.switcher-row { display: flex; gap: 14px; padding: 18px; border-radius: 26px; background: rgba(36, 36, 40, .82); backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); transform: scale(.94); transition: transform .3s var(--ease); max-width: 94vw; overflow-x: auto; }
.switcher.show .switcher-row { transform: none; }
.switcher .win { width: 170px; padding: 8px; border-radius: 16px; transition: background .15s; }
.switcher .win.sel { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(168, 85, 247, .8); }
.switcher .win .shot { height: 104px; }

/* Media */
.player { margin: 64px auto 0; max-width: 860px; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(30, 10, 60, .3); position: relative; }
.player-video { aspect-ratio: 16 / 8.2; position: relative; overflow: hidden; background: linear-gradient(#f9a8d4 0%, #c084fc 45%, #312e81 100%); transition: transform .6s var(--ease); cursor: zoom-in; }
.player-video .sun { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; left: 39%; top: 30%; background: radial-gradient(#fff7ed, #fdba74 60%, #fb7185); box-shadow: 0 0 120px 30px rgba(253, 186, 116, .6); transition: transform .6s var(--ease); }
.player-video .hills { position: absolute; inset: auto -10% 0; height: 55%; background: radial-gradient(60% 100% at 25% 100%, #1e1b4b 60%, transparent 61%), radial-gradient(70% 100% at 75% 100%, #2e1065 60%, transparent 61%), linear-gradient(transparent 55%, #0f0a24 56%); }
.player.zoomed .player-video .sun, .player.zoomed .player-video .hills { transform: scale(1.6); }
.zoom-hint { position: absolute; right: 14px; top: 12px; font-size: 12px; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .35); padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(10px); }
.player-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(92%, 640px); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 18px; background: rgba(30, 30, 34, .55); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255, 255, 255, .15); color: #fff; }
.pbtn { font-size: 15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; } .pbtn:hover { background: rgba(255, 255, 255, .15); }
.pbtn.play { width: 38px; height: 38px; background: #fff; color: #000; font-size: 14px; }
.time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; }
.count { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .15); white-space: nowrap; }
.scrub { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); cursor: pointer; position: relative; }
.scrub i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: #fff; }
.marquee { margin-top: 44px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.marquee-track span:nth-child(3n) { color: var(--violet); } .marquee-track span:nth-child(5n) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; margin-top: 64px; }
.b { background: var(--dark-card); border: 1px solid #2a2a2d; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; transition: transform .4s var(--ease), border-color .4s; overflow: hidden; position: relative; }
.b:hover { transform: translateY(-4px); border-color: #3f3f46; }
.b.big { grid-column: span 2; grid-row: span 2; }
.b.wide { grid-column: span 2; }
.b p { color: #a1a1a6; margin: 0; font-size: 15px; line-height: 1.45; }
.b p b { color: #f5f5f7; font-family: var(--mono); font-size: 14px; padding: 2px 8px; border-radius: 6px; background: #27272a; margin-left: 4px; }
.glyph { font-size: 44px; margin-bottom: auto; padding-bottom: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.glyph.code { font-family: var(--mono); font-size: 24px; }
.picker { flex: 1; min-height: 220px; border-radius: 16px; margin-bottom: 22px; position: relative; cursor: crosshair; background: linear-gradient(to top, #000, transparent), linear-gradient(90deg, #ff0040, #ff8a00, #ffe600, #22e36b, #00c2ff, #6a5cff, #d946ef, #ff0040); }
.loupe { position: absolute; width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transform: translate(-50%, -50%); left: 70%; top: 40%; pointer-events: none; background: #a855f7; transition: background .05s; }
.ocr { margin-bottom: auto; padding: 14px; border-radius: 12px; background: #fefce8; color: #1c1917; font-family: "Marker Felt", "Comic Sans MS", cursive; font-size: 17px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; transform: rotate(-2deg); margin-bottom: 22px; }
.ocr .scan { position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .45), transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.iso { display: flex; gap: 8px; align-items: center; justify-content: center; margin-bottom: auto; padding-bottom: 22px; height: 100px; }
.iso i { width: 54px; height: 64px; border-radius: 8px; background: linear-gradient(160deg, #60a5fa, #6366f1); transition: opacity .5s, filter .5s, transform .5s var(--ease); }
.iso i.front { width: 70px; height: 84px; background: linear-gradient(160deg, #f472b6, #a855f7); z-index: 1; }
#isolateTile:hover .iso i:not(.front) { opacity: .25; filter: grayscale(1) blur(1px); }
#isolateTile:hover .iso i.front { transform: scale(1.08); box-shadow: 0 10px 30px rgba(168, 85, 247, .6); }
.folder-peek { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: auto; padding-bottom: 22px; }
.folder-peek span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(160deg, #334155, #1e293b); transition: transform .4s var(--ease); }
.folder-peek span:nth-child(1) { background: linear-gradient(160deg, #f9a8d4, #a855f7); } .folder-peek span:nth-child(3) { background: linear-gradient(160deg, #67e8f9, #2563eb); } .folder-peek span:nth-child(5) { background: linear-gradient(160deg, #fde68a, #f97316); }
.b.wide:hover .folder-peek span { transform: translateY(-6px); } .b.wide:hover .folder-peek span:nth-child(2n) { transition-delay: .06s; }

/* Privacy */
.privacy { background: linear-gradient(#fbfbfd, #f2eefb); }
.lock { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 20px; background: var(--grad); position: relative; box-shadow: 0 20px 40px rgba(168, 85, 247, .35); }
.lock::before { content: ""; position: absolute; left: 50%; top: 14px; width: 24px; height: 22px; margin-left: -12px; border: 4px solid #fff; border-bottom: 0; border-radius: 14px 14px 0 0; }
.lock::after { content: ""; position: absolute; left: 50%; top: 34px; width: 36px; height: 24px; margin-left: -18px; background: #fff; border-radius: 6px; }

/* Download */
.download { padding-bottom: 130px; }
.dl-icon { width: 128px; height: 128px; margin: 0 auto 26px; filter: drop-shadow(0 20px 40px rgba(88, 28, 135, .35)); }
.steps { text-align: left; max-width: 560px; margin: 50px auto 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--muted); line-height: 1.5; font-size: 15px; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.steps b { color: var(--fg); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 50px; background: #f5f5f7; }
.foot { display: grid; gap: 18px; }
.foot-brand { display: flex; flex-direction: column; gap: 4px; } .foot-brand b { font-size: 20px; letter-spacing: -.02em; } .foot-brand span { color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; } .foot-links a:hover { color: var(--violet); }
.foot .fine { text-align: left; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .pill.small { margin-left: auto; }
  .tiles.three, .switch-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b.big { grid-column: span 2; grid-row: auto; }
  .mb-left span, .mb-right .r:nth-child(n+4) { display: none; }
  .notch { width: 110px; } .notch.wide { width: 230px; } .notch.open { width: 96%; height: 200px; }
  .island { padding: 0 16px 12px; } .ibody.pane-home { grid-template-columns: 1fr; } .island .cal, .mirror .atest small, .files span:nth-child(3) { display: none; }
  .np .cover { width: 80px; height: 80px; } .tmr { gap: 14px; } .ring { width: 92px; height: 92px; } .presets { grid-template-columns: repeat(3, 56px); } .mirror .cam { width: 140px; }
  .notch .hbar { width: 60px; } .shelf-h span:nth-child(n+4) { display: none; }
  .section { padding: 110px 0; }
  .dock button { width: 42px; height: 42px; font-size: 16px; } .dock { height: 64px; gap: 6px; }
  .dock-stage h3 { margin-bottom: 180px; }
  .win { width: 110px; }
  .count, .player-bar .time:last-of-type { display: none; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .b.big, .b.wide { grid-column: auto; }
  .strip { flex-wrap: wrap; }
  .mac-screen { border-width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Legal pages (privacy.html, terms.html) */
.legal { padding: 130px 0 90px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.08; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal .summary { margin: 30px 0 10px; padding: 22px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 18px; line-height: 1.5; font-weight: 500; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #3a3a3c; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; display: grid; gap: 6px; }
.legal a { color: var(--violet); }
.legal code { font-family: var(--mono); font-size: .9em; background: rgba(0, 0, 0, .05); padding: 1px 6px; border-radius: 6px; }
.notch-hint { text-align: center; margin-top: 14px; }
