/* WhereIs: File Organizer — site styles. Light, Apple-style, no external requests. */

:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .12);
  --brand: #0a74f0;
  --link: #0066cc;
  --pro-1: #2180ff;
  --pro-2: #8c54f5;
  --pro: linear-gradient(90deg, var(--pro-1), var(--pro-2));
  --grad: linear-gradient(92deg, #1689ff 0%, #4a6bff 45%, #9b55f2 100%);
  --green: #1f9d55;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 52px;
  --gutter: max(16px, env(safe-area-inset-left));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(10, 116, 240, .45); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 10px; text-decoration: none; }

html[lang="zh-Hans"] body { letter-spacing: 0; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2 { letter-spacing: -.01em; }
html[lang="zh-Hans"] .for-en, html:not([lang="zh-Hans"]) .for-zh { display: none !important; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons & bits ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px;
  border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 32px; padding: 0 15px; font-size: 13.5px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #0a68d8; }
.btn-ghost { background: rgba(0, 0, 0, .05); color: var(--text); }
.btn-ghost:hover { background: rgba(0, 0, 0, .08); }
.btn-pro { background: var(--pro); color: #fff; box-shadow: 0 10px 26px -8px rgba(110, 80, 245, .55); position: relative; overflow: hidden; }
.btn-pro::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: shine 3.6s 1s infinite;
}
@keyframes shine { 0% { transform: translateX(-120%) skewX(-18deg); } 35%, 100% { transform: translateX(220%) skewX(-18deg); } }

.pro, .free {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--pro); line-height: 1; vertical-align: middle;
}
.free { background: #e7f5ec; color: var(--green); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.eyebrow { font-size: 17px; font-weight: 600; color: var(--brand); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-pro { color: #6b47d9; }
h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--text-2); margin-top: 18px; max-width: 640px; letter-spacing: -.012em; }
.note { color: var(--text-3); font-size: 14px; margin-top: 30px; }
.link-arrow { font-size: 17px; font-weight: 500; }
.link-arrow::after { content: " ›"; font-weight: 600; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  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: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text); font-size: 13.5px; opacity: .82; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: rgba(0, 0, 0, .05); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: transparent; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; cursor: pointer; color: var(--text-2); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.nav-menu { display: none; width: 36px; height: 36px; border: 0; background: transparent; position: relative; cursor: pointer; }
.nav-menu span { position: absolute; left: 10px; width: 16px; height: 1.6px; background: var(--text); border-radius: 1px; transition: transform .3s var(--ease); }
.nav-menu span:first-child { top: 14px; } .nav-menu span:last-child { top: 20px; }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 96px)); overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow i:nth-child(1) { width: 620px; height: 420px; left: 50%; top: 380px; margin-left: -720px; background: #b8dcff; }
.hero-glow i:nth-child(2) { width: 560px; height: 440px; left: 50%; top: 300px; margin-left: 160px; background: #dccfff; animation-delay: -6s; }
.hero-glow i:nth-child(3) { width: 680px; height: 380px; left: 50%; top: 760px; margin-left: -340px; background: #c9f1ff; animation-delay: -11s; }
@keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.hero-copy { position: relative; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--line), 0 6px 20px -10px rgba(0, 40, 120, .25); font-size: 14px; font-weight: 600; }
.hero-kicker img { border-radius: 6px; }
.hero-kicker em { font-style: normal; font-weight: 500; color: var(--text-2); }
h1 { font-size: clamp(46px, 8.4vw, 104px); line-height: 1.02; letter-spacing: -.045em; margin-top: 26px; }
html[lang="zh-Hans"] h1 { letter-spacing: -.02em; line-height: 1.12; font-size: clamp(34px, 8.6vw, 92px); }
html[lang="zh-Hans"] h2 { font-size: clamp(30px, 5.2vw, 60px); }
html[lang="zh-Hans"] .split-copy h2 { font-size: clamp(28px, 3.5vw, 44px); }
.hero .lead { margin: 24px auto 0; max-width: 690px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.appstore { display: inline-block; border-radius: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.appstore img { height: 48px; width: auto; }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.appstore-lg img { height: 56px; }
.fine { font-size: 13px; color: var(--text-3); margin-top: 18px; }
.hero-stage { position: relative; margin: clamp(34px, 6vh, 64px) auto 0; width: min(1480px, 100%); perspective: 1800px; }
.hero-stage .stage { transform-origin: 50% 0; will-change: transform; }

/* ---------- works-with strip ---------- */
.works { padding: 28px 0 10px; }
.works-inner { display: flex; align-items: center; justify-content: center; gap: 12px 26px; flex-wrap: wrap; color: var(--text-3); font-size: 14px; }
.works ul { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.works li { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.ico { width: 22px; height: 22px; border-radius: 6px; display: inline-block; background-size: 70% auto; background-position: center; background-repeat: no-repeat; }
.ico-finder { background: linear-gradient(90deg, #4fb4ff 50%, #e9f4ff 50%); position: relative; }
.ico-finder::after { content: ""; position: absolute; left: 6px; top: 6px; width: 3px; height: 4px; border-radius: 2px; background: #1d1d1f; box-shadow: 7px 0 0 #1d1d1f; }
.ico-icloud { background-color: #eaf3ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='%23338cff' d='M6 15h12.5a4.5 4.5 0 0 0 .6-8.96A6.5 6.5 0 0 0 6.6 5.2 5 5 0 0 0 6 15z'/%3E%3C/svg%3E"); }
.ico-ql { background-color: #f1f1f4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231d1d1f' stroke-width='2' d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%231d1d1f'/%3E%3C/svg%3E"); }
.ico-claude { background-color: #d97757; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z'/%3E%3C/svg%3E"); background-size: 62%; }
.ico-openai { background-color: #0b0b0c; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z'/%3E%3C/svg%3E"); background-size: 62%; }
.ico-mcp { background-color: #f0ecff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4cf0' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='5' cy='12' r='2.4'/%3E%3Ccircle cx='19' cy='5' r='2.4'/%3E%3Ccircle cx='19' cy='19' r='2.4'/%3E%3Cpath d='M7.2 11 16.8 6M7.2 13l9.6 5'/%3E%3C/svg%3E"); }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 13vw, 168px) 0 0; position: relative; }
.section-tight { padding-top: clamp(84px, 10vw, 128px); }
.section .container + .container { margin-top: clamp(40px, 5vw, 64px); }
.stage-card {
  position: relative; border-radius: 32px; background: linear-gradient(180deg, #f5f5f7, #f0f1f5);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); overflow: hidden;
}
.stage-card-dark { background: radial-gradient(120% 90% at 50% 0%, #1b2140 0%, #0d1024 55%, #090b18 100%); box-shadow: 0 40px 80px -40px rgba(20, 30, 90, .55); }
.split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(34px, 4vw, 48px); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #e6f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a74f0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* scaled design canvas */
.stage { position: relative; width: 100%; height: calc(var(--dh) * var(--k, 1) * 1px); overflow: hidden; touch-action: pan-y; }
.stage > .canvas { position: absolute; left: 50%; top: 0; width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px); transform-origin: 0 0; transform: translateX(calc(var(--dw) * var(--k, 1) * -.5px)) scale(var(--k, 1)); }
.hero-stage .stage { overflow: visible; }

/* playground */
.play-reset { position: absolute; right: 18px; top: 16px; border: 0; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px rgba(0, 0, 0, .2); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.play-reset.show { opacity: 1; pointer-events: auto; }
.play-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 13px; color: var(--text-3); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.play-hint.hide { opacity: 0; }

/* search input */
.try-search { margin-top: 30px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px -18px rgba(0, 40, 120, .4); max-width: 420px; transition: box-shadow .25s; }
.try-search:focus-within { box-shadow: 0 0 0 3px rgba(10, 116, 240, .35), 0 10px 30px -18px rgba(0, 40, 120, .4); }
.try-ico { width: 15px; height: 15px; border: 2px solid var(--text-3); border-radius: 50%; position: relative; flex: none; }
.try-ico::after { content: ""; position: absolute; left: 11px; top: 11px; width: 6px; height: 2px; background: var(--text-3); transform: rotate(45deg); transform-origin: 0 0; border-radius: 1px; }
.try-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); min-width: 0; }
.try-search input::-webkit-search-cancel-button { cursor: pointer; }

/* AI band */
.band { padding-bottom: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, var(--bg) 0%, #f3f1ff 30%, #eef4ff 70%, var(--bg) 100%); }
.band-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 20% 35%, rgba(217, 119, 87, .10), transparent 70%), radial-gradient(40% 30% at 80% 40%, rgba(120, 90, 255, .12), transparent 70%); }
.band .container { position: relative; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; }
.trio h3 { font-size: 21px; margin-bottom: 8px; }
.trio p { color: var(--text-2); font-size: 16px; }

/* export list */
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.feature-list li { display: grid; gap: 3px; padding-left: 16px; border-left: 2px solid var(--line-2); }
.feature-list b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.feature-list li > span { color: var(--text-2); font-size: 15.5px; }

/* appearance */
.seg { position: relative; display: inline-flex; margin-top: 30px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .055); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--text-2); border-radius: 999px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.seg button[aria-selected="true"] { color: var(--text); }
.seg-knob { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .45s var(--ease), width .45s var(--ease); }
.look-wrap { position: relative; }
.look-wrap .mw { box-shadow: 0 40px 70px -40px rgba(20, 40, 100, .45), 0 0 0 1px var(--mw-border); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.tile { background: var(--surface); border-radius: 28px; padding: 30px 28px 30px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 40px -32px rgba(0, 30, 90, .35); position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { font-size: 21px; line-height: 1.2; }
.tile p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.tile-wide, .tile-privacy, .tile-keys, .tile-native { grid-column: span 2; }
.tile > div:first-child { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 140px; margin-bottom: 18px; }
/* sync art */
.sync-art { gap: 18px; }
.mac { width: 120px; height: 82px; border-radius: 10px; background: linear-gradient(180deg, #2e3446, #1d2130); position: relative; box-shadow: 0 14px 30px -14px rgba(0, 20, 70, .5); }
.mac::after { content: ""; position: absolute; left: 36px; right: 36px; bottom: -10px; height: 10px; background: #c9ccd6; border-radius: 0 0 4px 4px; }
.mac i { position: absolute; inset: 6px; border-radius: 5px; background: linear-gradient(180deg, #f5f7fb, #e8ecf4); }
.mac b { position: absolute; left: 14px; right: 14px; height: 10px; border-radius: 3px; top: 16px; background: #abb8d1; box-shadow: 0 17px 0 #9ebaad, 0 34px 0 #cfb099; animation: shelfPulse 4s ease-in-out infinite; }
.mac:last-child b { animation-delay: .6s; }
@keyframes shelfPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.sync-orbit { position: relative; width: 70px; height: 70px; border-radius: 50%; border: 2px dashed rgba(10, 116, 240, .35); animation: spin 8s linear infinite; }
.sync-orbit span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); left: 50%; top: -6px; margin-left: -5px; }
.sync-orbit span:nth-child(2) { top: auto; bottom: -6px; background: #8c54f5; }
.sync-orbit span:nth-child(3) { left: -6px; top: 50%; margin: -5px 0 0; background: #2fc0ff; }
@keyframes spin { to { transform: rotate(360deg); } }
/* sort art */
.sort-art { position: relative; }
.sort-art span { position: absolute; width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; font: 800 28px/1 var(--mono); color: #fff; opacity: 0; animation: sortCycle 8s infinite; }
.sort-art span:nth-child(1) { background: #4a597d; }
.sort-art span:nth-child(2) { background: #3b6154; animation-delay: 2s; }
.sort-art span:nth-child(3) { background: #78523d; animation-delay: 4s; }
.sort-art span:nth-child(4) { background: var(--pro); animation-delay: 6s; font-size: 24px; }
@keyframes sortCycle { 0% { opacity: 0; transform: translateY(18px) scale(.8); } 5%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-18px) scale(.9); } }
/* pin art */
.pin-art { position: relative; flex-direction: column; gap: 9px; }
.pin-art i { width: 150px; height: 26px; border-radius: 8px; background: #e9edf5; display: block; }
.pin-art i:first-child { background: #abb8d1; animation: pinUp 5s var(--ease) infinite; }
.pin-art b { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #ff9f0a; right: calc(50% - 88px); top: calc(50% - 50px); box-shadow: 0 6px 14px -4px rgba(255, 140, 0, .6); animation: pinDrop 5s var(--ease) infinite; }
.pin-art b::after { content: ""; position: absolute; left: 11px; top: 22px; width: 3px; height: 9px; background: #c97a00; border-radius: 2px; }
@keyframes pinUp { 0%, 20% { transform: translateY(70px); } 40%, 100% { transform: none; } }
@keyframes pinDrop { 0%, 38% { transform: translateY(-30px) scale(.4); opacity: 0; } 50%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
/* zip art */
.zip-art { position: relative; }
.zip-art i { position: absolute; width: 46px; height: 58px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 6px 14px -8px rgba(0, 0, 0, .3); animation: zipIn 4.5s var(--ease) infinite; }
.zip-art i:nth-child(1) { --x: -70px; } .zip-art i:nth-child(2) { --x: 0px; animation-delay: .12s; } .zip-art i:nth-child(3) { --x: 70px; animation-delay: .24s; }
.zip-art b { position: relative; width: 70px; height: 86px; border-radius: 10px; display: grid; place-items: end center; padding-bottom: 12px; font: 800 13px var(--font); color: #fff; letter-spacing: .06em;
  background: linear-gradient(180deg, #9aa3b5, #7b8498); box-shadow: 0 14px 26px -12px rgba(30, 40, 70, .6); animation: zipPop 4.5s var(--ease) infinite; }
.zip-art b::before { content: ""; position: absolute; top: 0; left: 31px; width: 8px; height: 46px; background: repeating-linear-gradient(180deg, #fff 0 4px, transparent 4px 8px); opacity: .8; }
@keyframes zipIn { 0%, 10% { transform: translateX(var(--x)) translateY(-10px); opacity: 1; } 40% { transform: translateX(0) translateY(10px) scale(.5); opacity: 0; } 100% { opacity: 0; } }
@keyframes zipPop { 0%, 30% { transform: scale(.6); opacity: 0; } 45%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
/* archive art */
.archive-art { position: relative; }
.archive-art b { width: 110px; height: 66px; border-radius: 10px; background: linear-gradient(180deg, #d9dde6, #c3c8d4); position: relative; margin-top: 30px; box-shadow: 0 12px 24px -12px rgba(30, 40, 70, .45); }
.archive-art b::before { content: ""; position: absolute; left: -6px; right: -6px; top: -14px; height: 18px; border-radius: 6px; background: #e8ebf1; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.archive-art b::after { content: ""; position: absolute; left: 40px; right: 40px; top: 18px; height: 6px; border-radius: 3px; background: #9aa1b0; }
.archive-art i { position: absolute; width: 74px; height: 22px; border-radius: 7px; background: #cfb099; top: 18px; left: calc(50% - 37px); animation: archiveIn 5s var(--ease) infinite; }
@keyframes archiveIn { 0%, 15% { transform: translateY(-26px); opacity: 1; } 45% { transform: translateY(40px) scale(.85); opacity: 0; } 70% { transform: translateY(40px) scale(.85); opacity: 0; } 90%, 100% { transform: translateY(-26px); opacity: 1; } }
/* privacy art */
.privacy-art i { width: 86px; height: 100px; position: relative; display: block; background: linear-gradient(180deg, #34c27a, #1f9d55); border-radius: 46px 46px 50px 50px / 30px 30px 70px 70px; box-shadow: 0 16px 30px -14px rgba(31, 157, 85, .7); }
.privacy-art i::after { content: ""; position: absolute; left: 28px; top: 34px; width: 30px; height: 16px; border-left: 5px solid #fff; border-bottom: 5px solid #fff; transform: rotate(-45deg); border-radius: 2px; }
/* keys art */
.keys-art { flex-wrap: wrap; gap: 8px; max-width: 200px; margin-inline: auto; }
.keys-art kbd { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font: 600 20px var(--font); color: var(--text); background: linear-gradient(180deg, #fff, #f1f2f5); box-shadow: 0 0 0 1px var(--line-2), 0 3px 0 #d6d8de, 0 8px 14px -8px rgba(0, 0, 0, .3); animation: keyTap 6s infinite; }
.keys-art kbd:nth-child(2) { animation-delay: .15s; } .keys-art kbd:nth-child(3) { animation-delay: 2s; } .keys-art kbd:nth-child(4) { animation-delay: 2.15s; } .keys-art kbd:nth-child(5) { animation-delay: 4s; } .keys-art kbd:nth-child(6) { animation-delay: 4.15s; }
@keyframes keyTap { 0%, 4% { transform: none; box-shadow: 0 0 0 1px var(--line-2), 0 3px 0 #d6d8de, 0 8px 14px -8px rgba(0, 0, 0, .3); } 6%, 14% { transform: translateY(3px); box-shadow: 0 0 0 1px rgba(10, 116, 240, .5), 0 0 0 #d6d8de, 0 2px 6px -4px rgba(0, 0, 0, .3); color: var(--brand); } 18%, 100% { transform: none; } }
.native-art img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 18px 30px -14px rgba(0, 60, 160, .45); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 30px; padding: 34px 32px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -44px rgba(0, 30, 90, .45); display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.plan .price { margin-top: 18px; }
.plan .price b { font-size: 48px; letter-spacing: -.03em; }
.plan-sub { color: var(--text-2); margin-top: 4px; font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; font-size: 15.5px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #eef0f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%236e6e73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-pro { position: relative; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(33, 128, 255, .65), rgba(140, 84, 245, .65)) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 80px -46px rgba(90, 70, 230, .55); }
.plan-pro h3 img { border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.plan-pro h3 .pro { height: 20px; font-size: 11px; }
.plan-pro-head p { color: var(--text-2); margin-top: 6px; font-size: 15px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.tier { position: relative; text-align: left; border: 0; cursor: pointer; border-radius: 18px; padding: 34px 16px 16px; background: #f6f7fa; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.tier:hover { transform: translateY(-2px); }
.tier[aria-checked="true"] { background: linear-gradient(180deg, rgba(33, 128, 255, .07), rgba(140, 84, 245, .07)); box-shadow: inset 0 0 0 2px #6a6af7, 0 16px 30px -22px rgba(90, 70, 230, .6); }
.tier-badge { position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 700; color: #fff; background: var(--pro); padding: 3px 8px; border-radius: 999px; }
.tier-badge-save { background: var(--green); }
.tier-badge-life { background: #1d1d1f; }
.tier-name { font-weight: 600; font-size: 15px; margin-top: 6px; }
.tier-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.tier-price b { font-size: 30px; letter-spacing: -.03em; }
.tier-price em { font-style: normal; color: var(--text-2); font-size: 14px; }
.tier-sub { color: var(--text-3); font-size: 13px; }
.tier-note { min-height: 22px; font-size: 13.5px; color: var(--text-2); margin-top: 14px; }
.plus { margin-top: 10px; font-weight: 600; font-size: 15px; }
.checks-pro { grid-template-columns: 1fr 1fr; margin-top: 14px; column-gap: 24px; }
.checks-pro li::before { background-color: #ece7ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237a4cf0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare-wrap { margin-top: 64px; }
.compare-title { font-size: 24px; text-align: center; margin-bottom: 22px; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); font-size: 15.5px; }
.compare th, .compare td { padding: 15px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { white-space: nowrap; font-size: 14px; color: var(--text-2); font-weight: 600; background: #fafafc; }
.compare thead th:last-child { color: #6b47d9; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare td { width: 18%; font-weight: 600; }
.compare td.y { color: #6b47d9; }
.compare td:nth-child(2).y { color: var(--text); }
.compare td.n { color: var(--text-3); }
.fineprint { color: var(--text-3); font-size: 12.5px; line-height: 1.6; margin-top: 22px; max-width: 900px; margin-inline: auto; text-align: center; }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 40px; }
.qa-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; position: relative; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-75%) rotate(45deg); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 40px 24px 0; color: var(--text-2); font-size: 16.5px; }

/* ---------- final ---------- */
.final { position: relative; padding: clamp(110px, 14vw, 180px) 0 clamp(110px, 12vw, 160px); overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(70, 150, 255, .25), transparent), radial-gradient(closest-side at 70% 60%, rgba(150, 100, 255, .18), transparent); filter: blur(10px); pointer-events: none; }
.final-icon { width: 148px; height: 148px; border-radius: 34px; margin: 0 auto 30px; box-shadow: 0 30px 60px -24px rgba(0, 70, 190, .5), 0 0 0 1px rgba(0, 0, 0, .04); }
.final h2 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.04em; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 13px; color: var(--text-2); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 9px; }
.footer-brand div { display: grid; }
.footer-brand b { color: var(--text); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-self: end; }
.footer-links a { color: var(--text-2); }
.legal { grid-column: 1 / -1; }
.legal.small { font-size: 11.5px; color: var(--text-3); line-height: 1.6; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: rgba(29, 29, 31, .92); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 500; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); transition: opacity .35s var(--ease), transform .35s var(--ease); backdrop-filter: blur(10px); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Mock WhereIs window (scenes). Sizes are in design pixels inside .canvas.
   ========================================================================== */
.mw {
  --mw-main: #ffffff; --mw-side: #f3f3f6; --mw-text: #1d1d1f; --mw-text2: #8a8a8e; --mw-line: rgba(0, 0, 0, .07);
  --mw-sel: rgba(0, 0, 0, .06); --mw-search: rgba(0, 0, 0, .05); --mw-count: rgba(0, 0, 0, .18); --mw-tile: rgba(0, 0, 0, .78);
  --mw-brand: #1773ed; --mw-border: rgba(0, 0, 0, .1); --mw-ind: rgba(0, 0, 0, .1); --label-text: #fff;
  position: absolute; display: flex; border-radius: 18px; overflow: hidden; background: var(--mw-main); color: var(--mw-text);
  font-family: var(--font); letter-spacing: -.01em; text-align: left;
  box-shadow: 0 60px 110px -40px rgba(20, 40, 100, .45), 0 24px 50px -30px rgba(0, 0, 0, .35), 0 0 0 1px var(--mw-border);
}
.mw .c0 { --wash: rgb(171, 184, 209); --label: rgb(74, 89, 125); --soft: rgba(171, 184, 209, .5); }
.mw .c1 { --wash: rgb(158, 186, 173); --label: rgb(59, 97, 84); --soft: rgba(158, 186, 173, .5); }
.mw .c2 { --wash: rgb(207, 176, 153); --label: rgb(120, 82, 61); --soft: rgba(207, 176, 153, .5); }
.mw .c3 { --wash: rgb(158, 184, 199); --label: rgb(64, 94, 112); --soft: rgba(158, 184, 199, .5); }
.mw .c4 { --wash: rgb(194, 168, 186); --label: rgb(107, 74, 94); --soft: rgba(194, 168, 186, .5); }
.mw .c5 { --wash: rgb(196, 189, 153); --label: rgb(107, 99, 61); --soft: rgba(196, 189, 153, .5); }
.mw.dark {
  --mw-main: #1e1e20; --mw-side: #2a2a2d; --mw-text: #f2f2f4; --mw-text2: #8e8e93; --mw-line: rgba(255, 255, 255, .07);
  --mw-sel: rgba(255, 255, 255, .08); --mw-search: rgba(255, 255, 255, .08); --mw-count: rgba(255, 255, 255, .22); --mw-tile: rgba(255, 255, 255, .86);
  --mw-brand: #5a9eff; --mw-border: rgba(255, 255, 255, .12); --mw-ind: rgba(255, 255, 255, .14);
}
.mw.dark .c0 { --wash: rgb(54, 64, 87); --label: rgb(80, 96, 133); --soft: rgba(74, 89, 125, .55); }
.mw.dark .c1 { --wash: rgb(43, 69, 61); --label: rgb(63, 104, 90); --soft: rgba(59, 97, 84, .55); }
.mw.dark .c2 { --wash: rgb(84, 59, 46); --label: rgb(128, 88, 66); --soft: rgba(120, 82, 61, .55); }
.mw.dark .c3 { --wash: rgb(46, 69, 82); --label: rgb(69, 101, 120); --soft: rgba(64, 94, 112, .55); }
.mw.dark .c4 { --wash: rgb(77, 54, 69); --label: rgb(115, 80, 101); --soft: rgba(107, 74, 94, .55); }
.mw.dark .c5 { --wash: rgb(77, 71, 46); --label: rgb(115, 106, 66); --soft: rgba(107, 99, 61, .55); }
.mw.graphite { --mw-main: #1c1c1e; --mw-side: #262628; --mw-text: #f2f2f4; --mw-text2: #8e8e93; --mw-line: rgba(255, 255, 255, .07);
  --mw-sel: rgba(255, 255, 255, .08); --mw-search: rgba(255, 255, 255, .08); --mw-count: rgba(255, 255, 255, .22); --mw-tile: rgba(255, 255, 255, .86);
  --mw-brand: #8a8f99; --mw-border: rgba(255, 255, 255, .12); --mw-ind: rgba(255, 255, 255, .14); }
.mw.graphite .c0, .mw.graphite .c2, .mw.graphite .c4 { --wash: #2b2b2b; --label: #1a1a1a; --soft: rgba(255, 255, 255, .07); --label-text: #c7c7c7; }
.mw.graphite .c1, .mw.graphite .c3, .mw.graphite .c5 { --wash: #4d4d4d; --label: #363636; --soft: rgba(255, 255, 255, .12); --label-text: #e6e6e6; }
.mw.graphite .mw-ctl, .mw.graphite .mw-srow { color: var(--label-text); }

.mw-side { width: 214px; flex: none; position: relative; background: var(--mw-side); border-right: 1px solid var(--mw-line); padding: 54px 10px 0; }
.mw-lights { position: absolute; left: 17px; top: 17px; display: flex; gap: 8px; }
.mw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.mw-lights i:nth-child(2) { background: #febc2e; } .mw-lights i:nth-child(3) { background: #28c840; }
.mw-side h4 { margin: 4px 8px 16px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mw-nav { position: relative; height: 36px; border-radius: 9px; display: flex; align-items: center; gap: 9px; padding: 0 10px; font-size: 12.5px; font-weight: 500; margin-bottom: 4px; }
.mw-nav.sel { background: var(--mw-sel); }
.mw-nav svg { width: 15px; height: 15px; flex: none; }
.mw-count { position: absolute; right: 8px; bottom: 2px; font-weight: 800; font-size: 21px; line-height: 1; color: var(--mw-count); font-variant-numeric: tabular-nums; }
.mw-sec { display: flex; justify-content: space-between; margin: 20px 10px 8px; font-size: 10.5px; font-weight: 600; color: var(--mw-text2); }
.mw-srow { position: relative; height: 38px; border-radius: 9px; display: flex; align-items: center; padding: 0 10px 0 26px; margin-bottom: 5px; font-size: 12.5px; font-weight: 500; background: var(--soft); color: var(--label); transition: background .3s; }
.mw.dark .mw-srow { color: #f2f2f4; }
.mw-srow::before { content: ""; position: absolute; left: 11px; top: 15px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .6; }
.mw-srow .mw-count { color: currentColor; opacity: .55; }
.mw-foot { position: absolute; left: 14px; right: 14px; bottom: 0; height: 58px; border-top: 1px solid var(--mw-line); display: flex; align-items: center; gap: 9px; font-size: 11px; }
.mw-foot div { display: grid; line-height: 1.3; }
.mw-foot span { color: var(--mw-text2); font-size: 10px; }
.mw-foot svg { width: 18px; height: 12px; color: var(--mw-text2); flex: none; }
.mw-main { flex: 1; min-width: 0; position: relative; }
.mw-bar { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 20px; }
.mw-bar .t { font-weight: 700; font-size: 14px; width: 140px; }
.mw-search { position: relative; flex: 0 1 360px; margin: 0 auto; height: 31px; border-radius: 16px; background: var(--mw-search); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: var(--mw-text2); white-space: nowrap; overflow: hidden; }
.mw-search .ph { position: absolute; left: 31px; top: 0; line-height: 31px; }
.mw-search .q { color: var(--mw-text); }
.mw-search .caret { opacity: 0; display: inline-block; width: 1.5px; height: 14px; background: var(--mw-brand); margin-left: -6px; vertical-align: middle; }
.mw-search .ring { position: absolute; inset: 0; border-radius: 16px; box-shadow: 0 0 0 3px var(--mw-brand); opacity: 0; }
.mw-mag { width: 11px; height: 11px; border: 1.6px solid var(--mw-text2); border-radius: 50%; position: relative; flex: none; }
.mw-mag::after { content: ""; position: absolute; left: 8px; top: 8px; width: 4px; height: 1.6px; background: var(--mw-text2); transform: rotate(45deg); transform-origin: 0 0; }
.mw-plus { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--mw-brand); position: relative; }
.mw-plus::before, .mw-plus::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; background: #fff; border-radius: 1px; }
.mw-plus::after { transform: rotate(90deg); }
.mw-head { display: flex; align-items: center; gap: 14px; padding: 4px 22px 8px; }
.mw-head h5 { margin: 0; font-size: 16px; font-weight: 700; }
.mw-head h5 span { font-size: 11px; font-weight: 500; color: var(--mw-text2); margin-left: 6px; }
.mw-sort { margin-left: auto; display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--mw-brand); }
.mw-seg { width: 50px; height: 22px; border-radius: 6px; background: var(--mw-search); position: relative; }
.mw-seg::before { content: ""; position: absolute; left: 1px; top: 1px; width: 24px; height: 20px; border-radius: 5px; background: var(--mw-brand); }
.mw-shelves { padding: 0 22px; }
.mw-shelf { display: grid; grid-template-rows: 1fr; margin-bottom: 18px; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease), opacity .35s; }
.mw-shelf-in { position: relative; min-height: 0; overflow: hidden; padding-top: 13px; }
.mw-shelf.gone { grid-template-rows: 0fr; margin-bottom: 0; opacity: 0; }
.mw-label { position: absolute; left: 13px; top: 0; z-index: 3; height: 27px; padding: 0 12px; border-radius: 7px; background: var(--label); color: var(--label-text); font-size: 12.5px; font-weight: 600; line-height: 27px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mw-panel { position: relative; height: 150px; border-radius: 14px; background: var(--wash); overflow: hidden; padding: 28px 8px 0; transition: box-shadow .3s; }
.mw-panel.hot { box-shadow: inset 0 0 0 3px var(--mw-brand); }
.mw-ctl { position: absolute; right: 12px; top: 8px; display: flex; gap: 10px; align-items: center; font: 600 10px var(--mono); color: var(--label); }
.mw-ctl .dots { display: flex; gap: 2.5px; } .mw-ctl .dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.mw-strip { display: flex; height: 112px; }
.mw-tile { position: relative; flex: none; width: 116px; display: flex; flex-direction: column; align-items: center; transition: opacity .35s; }
.mw-thumb { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; }
.mw-thumb img { max-width: 70px; max-height: 70px; width: auto; height: auto; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); background: #fff; }
.mw-name { margin-top: 6px; max-width: 104px; font-size: 10.5px; line-height: 1.25; text-align: center; color: var(--mw-tile); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-tile.match .mw-thumb img { box-shadow: 0 0 0 3px var(--mw-brand), 0 4px 10px rgba(0, 0, 0, .25); }
.mw-add .mw-thumb::before { content: ""; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 255, 255, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.mw.dark .mw-add .mw-thumb::before, .mw.graphite .mw-add .mw-thumb::before { background: rgba(255, 255, 255, .08); }
.mw-add .mw-thumb { position: relative; }
.mw-add .mw-thumb::after { content: "+"; position: absolute; font-size: 22px; font-weight: 300; color: var(--label); }
.mw.graphite .mw-add .mw-thumb::after { color: var(--label-text); }
.mw-add .mw-name { opacity: .7; }
.mw-ind { position: absolute; right: 14px; bottom: 9px; width: 70px; height: 3px; border-radius: 2px; background: var(--mw-ind); overflow: hidden; }
.mw-ind i { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; border-radius: 2px; background: var(--label); }
.mw.graphite .mw-ind i { background: var(--label-text); }
.mw-marker { position: absolute; top: 6px; width: 4px; height: 92px; border-radius: 2px; background: var(--mw-brand); opacity: 0; }
.agent-badge { position: absolute; left: 22px; top: -4px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 1px 3px rgba(0, 0, 0, .25); }
.agent-badge svg { width: 12px; height: 12px; }
.agent-badge.claude { background: #faf9f5; } .agent-badge.codex { background: #000; }
.agent-badge .arc { position: absolute; left: -4px; top: -4px; width: 28px; height: 28px; }

/* window variants */
.mw.nosb .mw-bar { padding-left: 86px; }
.mw.nosb .mw-bar .t { width: 80px; }
.mw.bare { display: block; background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
.mw.bare .mw-shelf-in { overflow: visible; }
.mw.compact .mw-shelf { margin-bottom: 12px; }
.mw.compact .mw-panel { height: 122px; padding-top: 26px; }
.mw.compact .mw-strip { height: 92px; }
.mw.compact .mw-tile { width: 100px; }
.mw.compact .mw-thumb { width: 60px; height: 60px; }
.mw.compact .mw-thumb img { max-width: 56px; max-height: 56px; }
.mw.compact .mw-name { max-width: 92px; font-size: 10px; }
.mw.compact .mw-add .mw-thumb::before { width: 38px; height: 38px; }
.sc-search .mw-tile { transition: width .45s var(--ease), opacity .3s, margin .45s; }
.sc-search .mw-tile.gone { width: 0; opacity: 0; overflow: hidden; }
.mw-strip.scroll { overflow-x: auto; scrollbar-width: none; }
.mw-strip.scroll::-webkit-scrollbar { display: none; }
.mw-tile.pg-new { animation: tileIn .5s var(--ease) both; overflow: hidden; }
.mw-tile.pg-new .mw-thumb { animation: thumbPop .6s var(--ease) both; }
@keyframes tileIn { from { width: 0; opacity: 0; } to { width: 116px; opacity: 1; } }
@keyframes thumbPop { 0% { transform: scale(.3); } 60% { transform: scale(1.08); } 100% { transform: none; } }

/* shared scene bits */
.sc-cursor, .drag-ghost, .sc-chip, .count-pill, .float-card, .sc-file, .shelf-chip, .sc-tip, .look-sheen { left: 0; top: 0; }
.sc-cursor svg { width: 100%; height: 100%; }
.sc-chip svg { width: 16px; height: 16px; flex: none; }
.sc-loc { transition: box-shadow .4s; }
.sc-loc.lit { box-shadow: 0 0 0 2px rgba(10, 116, 240, .4), 0 16px 36px -24px rgba(20, 40, 100, .45); }
.sc-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 32px; z-index: 40; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.sc-card { position: absolute; border-radius: 18px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 40px -24px rgba(20, 40, 100, .4); }
.sc-chip { position: absolute; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px; border-radius: 18px; background: rgba(29, 29, 31, .9); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); }
.sc-chip.light { background: #fff; color: var(--text); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 12px 26px -12px rgba(0, 30, 90, .35); }
.sc-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c27a; }
.sc-file { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text); }
.sc-file img { box-shadow: 0 2px 6px rgba(0, 0, 0, .2); border-radius: 3px; background: #fff; }
.sc-file span { white-space: nowrap; padding: 1px 6px; border-radius: 5px; }
.sc-loc { position: absolute; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 36px -24px rgba(20, 40, 100, .45); }
.sc-loc h6 { margin: 0; position: absolute; left: 16px; top: 13px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.sc-loc h6 svg { width: 15px; height: 15px; }
.sc-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.float-card { position: absolute; border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 26px 50px -24px rgba(20, 40, 110, .45); }
.float-card img { border-radius: 8px; display: block; }
.float-card span { display: block; font-size: 12px; font-weight: 600; margin-top: 8px; text-align: center; color: var(--text); }
.drag-ghost { position: absolute; z-index: 30; pointer-events: none; }
.drag-ghost img { box-shadow: 0 10px 24px rgba(0, 0, 0, .35); border-radius: 3px; background: #fff; }
.count-pill { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(29, 29, 31, .88); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.count-pill i { width: 8px; height: 8px; border-radius: 50%; background: #5a9eff; }

/* menu used by the export scene */
.sc-menu { position: absolute; z-index: 20; width: 300px; padding: 6px; border-radius: 12px; background: rgba(246, 246, 248, .96); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 24px 50px -16px rgba(0, 0, 0, .4); font-size: 13px; transform-origin: 90% 0; }
.sc-menu div { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 10px; border-radius: 6px; color: var(--text); }
.sc-menu div.on { background: #1773ed; color: #fff; }
.sc-menu div em { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .08); color: var(--text-2); }
.sc-menu div.on em { background: rgba(255, 255, 255, .25); color: #fff; }
.sc-menu svg { width: 15px; height: 15px; flex: none; }
.sc-menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, .08); margin: 5px 8px; }

/* playground */
.pg-file { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 6px; border-radius: 14px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: background .2s, opacity .2s; }
.pg-file:hover { background: rgba(10, 116, 240, .07); }
.pg-file:active { cursor: grabbing; }
.pg-file.lifted { opacity: .5; }
.pg-thumb { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.pg-thumb img { box-shadow: 0 2px 8px rgba(0, 0, 0, .22); border-radius: 3px; background: #fff; pointer-events: none; }
.pg-file span { font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.pg-dots { display: flex; gap: 4px; height: 8px; }
.pg-dots i { width: 8px; height: 8px; border-radius: 50%; animation: thumbPop .5s var(--ease) both; }
.pg-dots .c0 { background: rgb(74, 89, 125); } .pg-dots .c1 { background: rgb(59, 97, 84); } .pg-dots .c3 { background: rgb(64, 94, 112); }

/* export alert */
.sc-alert { display: flex; flex-direction: column; align-items: center; padding: 22px 22px 18px; gap: 8px; z-index: 25; background: rgba(246, 246, 248, .97); text-align: center; }
.sc-alert .al-icon img { width: 48px; height: 48px; border-radius: 11px; }
.sc-alert b { font-size: 14px; margin: 4px 0 6px; }
.sc-alert button { width: 100%; height: 30px; border: 0; border-radius: 8px; background: rgba(0, 0, 0, .07); font-size: 13px; font-weight: 500; color: var(--text); }
.sc-alert button.on { background: #1773ed; color: #fff; }

/* appearance wipe */
.look-sheen { position: absolute; width: 80px; height: 690px; pointer-events: none; z-index: 5; }
.look-sheen i { position: absolute; inset: 0; transform-origin: 50% 0; transform: skewX(-23.5deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 45%, rgba(160, 200, 255, .5) 55%, transparent); filter: blur(2px); }

/* AI scene */
.sc-dock { position: absolute; height: 74px; padding: 9px 12px; border-radius: 22px; display: flex; gap: 12px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 14px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(20px); }
.sc-dock > div { position: relative; width: 56px; height: 56px; border-radius: 13px; transform-origin: 50% 100%; }
.sc-dock > div img, .sc-dock > div > svg { width: 56px; height: 56px; border-radius: 13px; }
.sc-dock .run::after { content: ""; position: absolute; left: 26px; bottom: -7px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.sc-tip { position: absolute; padding: 4px 10px; border-radius: 7px; background: rgba(30, 30, 32, .92); color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .15); }
.sc-term { position: absolute; border-radius: 14px; overflow: hidden; background: #151517; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sc-term .head { height: 36px; display: flex; align-items: center; justify-content: center; gap: 7px; color: rgba(255, 255, 255, .62); font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sc-term .head svg { width: 13px; height: 13px; }
.sc-term .mw-lights { left: 14px; top: 12px; } .sc-term .mw-lights i { width: 11px; height: 11px; }
.sc-term .body { padding: 14px 18px; font: 13.5px/22px var(--mono); color: #e8e8e8; white-space: pre; }
.sc-term .body div { opacity: 0; }
.sc-term .dim { color: rgba(255, 255, 255, .45); } .sc-term .clay { color: #d97757; } .sc-term .ok { color: #5fd38d; } .sc-term .blue { color: #7aa7ff; }
.sc-term .cur { display: inline-block; width: 8px; height: 15px; background: rgba(255, 255, 255, .7); vertical-align: -2px; }
.shelf-chip { position: absolute; z-index: 30; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 10px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 26px rgba(0, 0, 0, .45); }
.shelf-chip i { width: 18px; height: 14px; border-radius: 3px; background: #6db7ff; position: relative; }
.shelf-chip i::before { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 4px; border-radius: 2px 2px 0 0; background: #6db7ff; }

/* ==========================================================================
   Privacy policy
   ========================================================================== */
.legal-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) 0 clamp(34px, 5vw, 56px); text-align: center; background: radial-gradient(60% 100% at 50% 0%, rgba(120, 170, 255, .16), transparent 70%); }
.legal-hero h1 { margin-top: 0; font-size: clamp(42px, 6vw, 72px); }
.legal-date { margin-top: 16px; color: var(--text-3); font-size: 15px; }
#contact { scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-wrap { width: min(1012px, 100% - 2 * var(--gutter)); padding-bottom: clamp(80px, 10vw, 140px); }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; display: grid; gap: 2px; font-size: 14px; }
.toc p { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 8px; }
.toc a { color: var(--text-2); padding: 6px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: background .2s, color .2s; }
.toc a:hover { text-decoration: none; background: rgba(0, 0, 0, .04); color: var(--text); }
.toc a.on { color: var(--brand); background: rgba(10, 116, 240, .07); }
.policy { max-width: 720px; font-size: 17px; line-height: 1.65; color: #333336; }
.policy-intro { font-size: 20px; line-height: 1.55; color: var(--text); letter-spacing: -.012em; }
.policy section { padding-top: 44px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.policy h2, .contact-card h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; color: var(--text); margin-bottom: 14px; }
html[lang="zh-Hans"] .policy h2, html[lang="zh-Hans"] .contact-card h2 { font-size: 26px; }
.policy p + p, .policy ul + p { margin-top: 14px; }
.policy ul { margin: 14px 0 0; padding-left: 22px; }
.policy li + li { margin-top: 8px; }
.policy li b { color: var(--text); font-weight: 600; }
.policy code { font: 14.5px var(--mono); background: rgba(0, 0, 0, .05); padding: 1px 6px; border-radius: 5px; }
.policy a, .contact-card a { color: var(--link); }
html[lang="zh-Hans"] .policy { line-height: 1.8; }
.glance { list-style: none; padding: 0 !important; margin: 6px 0 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.glance li { margin: 0 !important; background: var(--surface); border-radius: 18px; padding: 20px 18px 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 30px -26px rgba(0, 30, 90, .4); display: grid; gap: 4px; line-height: 1.45; }
.glance b { font-size: 16px; color: var(--text); }
.glance span { font-size: 14.5px; color: var(--text-2); }
.glance i { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 10px; background: #eaf2ff center / 20px no-repeat; }
.g-account { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a74f0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6M3 3l18 18'/%3E%3C/svg%3E") !important; }
.g-collect { background-color: #e9f7ef !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.2-8 9-4.6-.8-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E") !important; }
.g-files { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a74f0' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 2h8l5 5v15H6z'/%3E%3Cpath d='M14 2v5h5'/%3E%3C/svg%3E") !important; }
.g-icloud { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='%23338cff' d='M6 15h12.5a4.5 4.5 0 0 0 .6-8.96A6.5 6.5 0 0 0 6.6 5.2 5 5 0 0 0 6 15z'/%3E%3C/svg%3E") !important; }
.g-ai { background-color: #f0ecff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237a4cf0'%3E%3Cpath d='M12 2l1.8 5.2L19 9l-5.2 1.8L12 16l-1.8-5.2L5 9l5.2-1.8zM19 14l.9 2.1L22 17l-2.1.9L19 20l-.9-2.1L16 17l2.1-.9z'/%3E%3C/svg%3E") !important; }
.contact-card { max-width: 720px; margin-top: 52px; padding: 30px 30px 26px; border-radius: 24px; background: linear-gradient(180deg, #f6f8ff, #f2f4fb); box-shadow: inset 0 0 0 1px rgba(10, 116, 240, .12); scroll-margin-top: calc(var(--nav-h) + 20px); }
.contact-card p { color: var(--text-2); }
.contact-card p + p { margin-top: 16px; }
.contact-email { font-size: 19px; font-weight: 600; }
.contact-email.todo { display: inline-block; padding: 6px 14px; border-radius: 10px; border: 1.5px dashed #ff9f0a; background: #fff8eb; color: #a15c00; font-size: 15px; }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-grid > div:empty { display: none; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
  .toc p { grid-column: 1 / -1; }
  .toc a { padding: 5px 8px; font-size: 13.5px; }
  .contact-card { margin-top: 36px; padding: 24px 22px; }
  .policy-intro { font-size: 18px; }
  .policy h2, .contact-card h2, html[lang="zh-Hans"] .policy h2, html[lang="zh-Hans"] .contact-card h2 { font-size: 22px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan-free { order: 2; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; background: rgba(251, 251, 253, .97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-menu { display: block; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .split-copy { text-align: left; }
  .trio { grid-template-columns: 1fr; gap: 20px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { padding-top: 38px; }
  .checks-pro { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 13px 12px; font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .btn-sm { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-privacy, .tile-keys, .tile-native { grid-column: auto; }
  .tile { min-height: 0; }
  .stage-card { border-radius: 22px; }
  .plan { padding: 28px 22px; border-radius: 24px; }
  .seg { display: flex; flex-wrap: nowrap; max-width: 100%; }
  .seg button { padding: 9px 10px; font-size: 13px; }
  .cta-row { gap: 18px; }
  .qa summary { font-size: 17px; }
  .play-hint { display: none; }
  .play-reset { top: 10px; right: 10px; padding: 4px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
