/* YumoTab — homepage */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbfbfd; --bg-2: #f2f2f6; --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #a1a1a6; --line: rgba(0, 0, 0, .08);
  --card: #fff; --accent: #2f6bff; --accent-2: #0a52f0; --grad: linear-gradient(100deg, #2f6bff 0%, #7b5cff 52%, #ff6a88 100%);
  --radius: 28px; --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:lang(zh) body, html:lang(zh) { --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Inter", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.028em; font-weight: 700; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.038em; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: -.005em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 680px; letter-spacing: -.012em; }
.note { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; transition: transform .3s var(--ease), background .2s, box-shadow .3s; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-small { height: 34px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn-quiet { background: rgba(0, 0, 0, .06); color: var(--ink); box-shadow: none; height: 44px; font-size: 15px; }
.btn-quiet:hover { background: rgba(0, 0, 0, .1); }
.link { color: var(--accent); font-weight: 550; font-size: 15px; }
.link:hover { text-decoration: underline; }

/* Navigation — liquid glass */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 251, 253, .72); border-bottom: .5px solid transparent;
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1120px; margin: 0 auto; height: 56px; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo img { width: 28px; height: 28px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .15)); }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang-toggle { height: 30px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 550; color: var(--ink-2); background: rgba(0, 0, 0, .05); }
.lang-toggle:hover { color: var(--ink); background: rgba(0, 0, 0, .08); }

/* Hero */
.hero { position: relative; text-align: center; padding: clamp(64px, 10vw, 120px) 22px 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 820px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 30%, rgba(47, 107, 255, .14), transparent 70%), radial-gradient(35% 45% at 72% 26%, rgba(255, 106, 136, .12), transparent 70%),
    radial-gradient(30% 40% at 50% 60%, rgba(123, 92, 255, .1), transparent 70%); }
.hero .lede { margin: 26px auto 0; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.soon { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 199, 89, .06); } }

.hero-shot { position: relative; max-width: 1120px; margin: clamp(48px, 7vw, 84px) auto 0; padding: 0; }
.glow { position: absolute; inset: 8% 6% -6%; z-index: -1; filter: blur(60px); opacity: .55; border-radius: 40px;
  background: linear-gradient(120deg, #6aa6ff, #a78bfa 45%, #ffb199); }
.window { border-radius: 18px; overflow: hidden; background: #1b1c1f; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 50px 100px -30px rgba(18, 35, 80, .45), 0 30px 60px -40px rgba(0, 0, 0, .5); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: linear-gradient(#2a2b2f, #232427); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar .tab { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: 16px; height: 28px; padding: 0 14px; border-radius: 9px 9px 0 0; align-self: flex-end;
  background: #35363a; color: #e8e8ed; font-size: 12.5px; }
.window-bar .tab img { width: 14px; height: 14px; }
.shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: clamp(96px, 13vw, 168px) 22px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .lede { margin: 22px auto 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--card);
  box-shadow: 0 0 0 .5px var(--line), 0 20px 40px -30px rgba(0, 0, 0, .25); min-height: 440px; }
.card-wide { grid-column: span 2; }
.card-text { padding: 32px 32px 0; position: relative; z-index: 1; }
.card-text p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 46ch; }
.card-img { margin-top: auto; width: calc(100% - 32px); margin-inline-start: 32px; border-radius: 16px 0 0 0; box-shadow: 0 0 0 .5px var(--line); }
.card:nth-child(2) .card-img { width: 160%; max-width: none; border-radius: 16px 0 0 0; }
.card-dark { background: #0d0d10; color: #f5f5f7; }
.card-dark .card-text p { color: rgba(245, 245, 247, .62); }
.phone { width: 200px; margin: 28px auto -120px; border-radius: 34px; box-shadow: 0 0 0 6px #1f2024, 0 0 0 7px #3a3b40, 0 30px 60px -10px rgba(0, 0, 0, .6); }
.walls { margin: auto 32px 0; padding-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.walls img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 .5px var(--line); }
.walls-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 32px 32px; font-size: 12px; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }

.search-demo { margin: auto 28px 32px; padding-top: 28px; }
.sd-bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 16px; border-radius: 999px; background: var(--bg-2); }
.sd-g { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px); mask: radial-gradient(circle, transparent 4px, #000 4.5px); }
.sd-q { flex: 1; font-size: 16px; }
.sd-q i { display: inline-block; width: 1.5px; height: 18px; margin-inline-start: 1px; vertical-align: -3px; background: var(--accent); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sd-bar kbd { font: 12px var(--sans); color: var(--ink-3); padding: 2px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.sd-list { margin-top: 8px; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 .5px var(--line), 0 12px 30px -16px rgba(0, 0, 0, .25); }
.sd-row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px; border-radius: 12px; font-size: 15px; }
.sd-row.on { background: var(--accent); color: #fff; }
.sd-row small { margin-inline-start: auto; font-size: 12.5px; opacity: .65; }
.sd-row img, .sd-ic { width: 26px; height: 26px; border-radius: 7px; }
.sd-search { background: rgba(255, 255, 255, .22); -webkit-mask: none; position: relative; }
.sd-search::after { content: ""; position: absolute; inset: 7px 9px 9px 7px; border: 2px solid #fff; border-radius: 50%; }

/* Night */
.night { margin-top: clamp(96px, 13vw, 168px); background: radial-gradient(80% 60% at 50% 0%, #1b2140 0%, #07080c 60%); color: #f5f5f7; padding: clamp(96px, 12vw, 150px) 22px clamp(80px, 10vw, 130px); overflow: hidden; }
.night-inner { max-width: 1120px; margin: 0 auto; }
.night .eyebrow { color: #8fb3ff; }
.night .lede { color: rgba(245, 245, 247, .66); }
.night-shot { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .12), 0 60px 120px -30px rgba(90, 120, 255, .45); }

/* Split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-text .lede { margin-top: 22px; }
.split-shot { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 .5px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); font-size: 14px; font-weight: 500; }

/* Import */
.import-shot, .lang-shot { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 .5px var(--line), 0 50px 100px -40px rgba(18, 35, 80, .4); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps h3 { font-size: 19px; margin: 14px 0 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; }
.ai-card { display: flex; align-items: center; gap: 24px; margin-top: 56px; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(124, 92, 255, .1), rgba(47, 139, 255, .08) 55%, rgba(255, 106, 136, .08)); box-shadow: 0 0 0 .5px var(--line); }
.ai-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff;
  background: linear-gradient(160deg, #a78bfa, #6d4dff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -10px rgba(109, 77, 255, .7); }
.ai-icon svg { width: 30px; height: 30px; }
.ai-text { flex: 1; }
.ai-text p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.ai-actions { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* Languages */
.lang-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 28px; padding: 4px; width: max-content; border-radius: 999px; background: var(--bg-2); }
.lang-tabs button { height: 36px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: background .2s, color .2s; }
.lang-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.lang-shot img { transition: opacity .35s; }
.lang-shot img.swapping { opacity: 0; }
.lang-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 19px; font-weight: 550; color: var(--ink-2); }

/* Privacy */
.privacy { margin-top: clamp(96px, 13vw, 168px); background: #0b0b0e; color: #f5f5f7; padding: clamp(96px, 12vw, 150px) 22px; text-align: center; }
.privacy-inner { max-width: 1000px; margin: 0 auto; }
.lock { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, #3d7bff, #1b3fd6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 50px -14px rgba(47, 107, 255, .8); }
.lock svg { width: 40px; height: 40px; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; text-align: start; }
.privacy-grid h3 { font-size: 18px; }
.privacy-grid p { margin-top: 8px; color: rgba(245, 245, 247, .62); font-size: 15.5px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: .5px solid var(--line); }
.faq details { border-bottom: .5px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 4px 26px; color: var(--ink-2); max-width: 70ch; }

/* Final */
.final { text-align: center; padding: clamp(110px, 14vw, 180px) 22px clamp(90px, 12vw, 150px); }
.final-icon { width: 96px; height: 96px; margin: 0 auto 30px; filter: drop-shadow(0 18px 30px rgba(47, 107, 255, .35)); }
.final .cta-row { margin-top: 30px; }
.family { margin-top: 26px; font-size: 15px; color: var(--ink-2); }

/* Footer */
.footer { border-top: .5px solid var(--line); background: var(--bg-2); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 30px 22px 40px; display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.footer .logo { font-size: 15px; }
.footer .logo img { width: 22px; height: 22px; }
.footer nav { display: flex; gap: 22px; justify-content: flex-end; font-size: 14px; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); }
.fine { grid-column: 1 / -1; font-size: 12px; line-height: 1.6; color: var(--ink-3); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; translate: -50% 0; padding: 12px 20px; border-radius: 999px; background: rgba(29, 29, 31, .9); color: #fff; font-size: 15px; font-weight: 500;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }

/* Reveal on scroll */
.js .reveal, .js .reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-up { transform: translateY(60px) scale(.97); transition-duration: 1.2s; }
.js .in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2), .privacy-grid .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3), .privacy-grid .reveal:nth-child(3) { transition-delay: .16s; }
.privacy-grid .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-up { opacity: 1; transform: none; transition: none; }
  .soon .dot, .sd-q i { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-end { margin-inline-start: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .split { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .ai-card { flex-wrap: wrap; }
  .ai-actions { flex-direction: row; width: 100%; justify-content: flex-start; padding-inline-start: 80px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .card { min-height: 0; }
  .card-text { padding: 26px 24px 0; }
  .card-img { margin-top: 24px; width: calc(100% - 24px); margin-inline-start: 24px; }
  .card:nth-child(2) .card-img { width: 170%; }
  .card-dark { min-height: 520px; }
  .walls { margin-inline: 24px; } .walls-times { margin-inline: 24px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .ai-card { padding: 24px; }
  .ai-actions { padding-inline-start: 0; }
  .privacy-grid { grid-template-columns: 1fr; gap: 26px; }
  .window { border-radius: 12px; }
  .window-bar { height: 28px; } .window-bar i { width: 9px; height: 9px; } .window-bar .tab { display: none; }
  .cta-row { flex-direction: column; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .lang-tabs button { padding: 0 13px; font-size: 14px; }
}

/* Document pages (format, privacy, credits) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) 22px 110px; }
.doc h1 { font-size: clamp(38px, 5.4vw, 56px); letter-spacing: -.04em; }
.doc .lede { margin-top: 18px; }
.doc h2 { font-size: 28px; letter-spacing: -.025em; margin: 56px 0 14px; }
.doc h3 { font-size: 19px; margin: 30px 0 8px; }
.doc p, .doc li { color: #3a3a3f; line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li + li { margin-top: 6px; }
.doc a:not(.btn) { color: var(--accent); }
.doc a:not(.btn):hover { text-decoration: underline; }
.doc code { font: 14.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.doc pre { position: relative; margin: 18px 0; padding: 20px 22px; border-radius: 16px; background: #0f1115; color: #e6e8ee; overflow: auto;
  font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .6); }
.doc pre code { background: none; padding: 0; font: inherit; color: inherit; }
.pre-copy { position: absolute; top: 12px; right: 12px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 600; }
.pre-copy:hover { background: rgba(255, 255, 255, .22); }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 11px 10px; border-bottom: .5px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.back { display: inline-flex; gap: 6px; margin-bottom: 28px; font-size: 15px; color: var(--accent); font-weight: 550; }
