/* Pagelume landing — the app's light theme (ui/theme/Color.kt): brand red #E01418 → #FE693D, ink #05141D,
   file-type accents, Plus Jakarta Sans (res/font). */
:root {
  --red: #E01418;
  --orange: #FE693D;
  --coral: #FF8C6B;
  --peach: #FFB299;
  --grad: linear-gradient(135deg, #FE693D 0%, #E01418 100%);
  --grad-h: linear-gradient(90deg, #E01418 0%, #FE693D 100%);
  --ink: #05141D;
  --ink-2: #323438;
  --text: #50545B;
  --muted: #797979;
  --line: #EAEAEA;
  --line-2: #F1F1F2;
  --field: #F3F3F4;
  --bg: #FFFFFF;
  --soft: #FFF6F2;
  --pale: #FCE7E8;
  --brand-soft: #FDEFEF;
  --paper-bg: #F4F4F4;
  --doc: #006AFF; --doc-bg: #E5F0FF;
  --xls: #16A949; --xls-bg: #E8F6ED;
  --ppt: #FA6B1E; --ppt-bg: #FEF0E8;
  --txt: #7C3AED; --txt-bg: #F2EBFD;
  --img: #E3402E;
  --ok: #16A949;
  --night: #05141D;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(5, 20, 29, .06);
  --shadow: 0 14px 34px -14px rgba(5, 20, 29, .22);
  --shadow-lg: 0 40px 90px -30px rgba(180, 30, 20, .32), 0 12px 30px -16px rgba(5, 20, 29, .18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.modal-open { overflow: hidden; }
html.i18n-wait main, html.i18n-wait .site-header { visibility: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(224, 20, 24, .45); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  isolation: isolate;
}
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px -8px rgba(224, 20, 24, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(224, 20, 24, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(224, 20, 24, .35), var(--shadow); color: var(--red); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.link-btn:hover { color: var(--red); }
.spinner { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2.5px solid rgba(224, 20, 24, .2); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(5, 20, 29, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(224, 20, 24, .55); }
.brand-name { display: flex; flex-direction: column; font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
.brand-name small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: var(--red); background: var(--brand-soft); }
.main-nav a.is-active { color: var(--red); }
.main-nav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-menu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 13px; }
.lang-btn:hover { box-shadow: inset 0 0 0 1.5px rgba(224, 20, 24, .4); }
.lang-btn .chev { width: 14px; height: 14px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; min-width: 200px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.lang-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.lang-list li small { color: var(--muted); font-weight: 700; font-size: 11px; }
.lang-list li:hover, .lang-list li:focus { background: var(--brand-soft); outline: none; }
.lang-list li[aria-selected="true"] { color: var(--red); }
.lang-list li[aria-selected="true"] small { color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(0); }
.site-header.is-compact .main-nav { display: none; }
.site-header.is-compact .menu-toggle { display: block; }

/* ---------- shared section bits ---------- */
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--red); font-weight: 700; font-size: 13.5px; letter-spacing: .01em; }
.kicker .ic { width: 18px; height: 18px; }
.kicker-dark { background: rgba(255, 255, 255, .08); color: #FFB299; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.kicker-light { background: rgba(255, 255, 255, .18); color: #fff; }
.section-title { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.section-title em, .hero-title em, .dl-title em { font-style: normal; background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { margin: 0; font-size: 18px; color: var(--text); text-wrap: pretty; }
.section-head.center .section-sub { margin: 0 auto; max-width: 560px; }
.form-note { display: flex; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.form-note .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.sample-tag { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 700; color: var(--text); }
.sample-tag .ic { width: 15px; height: 15px; color: var(--orange); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split-rev { grid-template-columns: 1fr 1fr; }
.split-rev > :first-child { order: 2; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14px; }
.pill-list .ic { width: 20px; height: 20px; color: var(--red); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 90px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #FFF8F5 0%, #fff 82%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle at 30% 30%, #FFB299, #FE693D 60%, transparent 70%); opacity: .45; }
.b2 { width: 520px; height: 520px; right: 18%; bottom: -220px; background: radial-gradient(circle, #FF8C6B, transparent 65%); opacity: .35; animation-duration: 22s; animation-delay: -6s; }
.b3 { width: 460px; height: 460px; left: -180px; top: 20%; background: radial-gradient(circle, #FCE7E8, transparent 70%); opacity: .9; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-60px, 40px) scale(1.12); } }
.paper-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(224, 20, 24, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 20, 24, .055) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); }
.hero.is-paused .blob, .hero.is-paused .logo3d, .hero.is-paused .float-card, .hero.is-paused .halo i { animation-play-state: paused; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(224, 20, 24, .14); font-size: 14px; }
.live-chip b { font-weight: 700; color: var(--ink-2); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.hero-title { margin: 0 0 22px; font-size: clamp(44px, 6.3vw, 86px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.hero-title em { display: inline-block; padding-bottom: .06em; }
.hero-sub { max-width: 540px; margin: 0 0 34px; font-size: 19px; color: var(--text); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 34px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; max-width: 150px; }
.hero-stats b { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.hero-visual { position: relative; }
.stage { position: relative; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1 / 1; perspective: 1500px; touch-action: pan-y; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.halo { position: absolute; left: 50%; top: 47%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(-120px); pointer-events: none; }
.halo i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(224, 20, 24, .14); animation: halo 6s ease-out infinite; }
.halo i:nth-child(2) { animation-delay: -2s; }
.halo i:nth-child(3) { animation-delay: -4s; }
@keyframes halo { 0% { transform: scale(.45); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
.phone-back { position: absolute; right: 0; top: 6%; width: 34%; transform: translateZ(-240px) rotateY(-22deg) rotateZ(6deg); filter: drop-shadow(0 30px 40px rgba(5, 20, 29, .22)); opacity: .96; user-select: none; }

.logo3d { --S: clamp(170px, 21vw, 290px); --u: calc(var(--S) / 120); position: absolute; left: 50%; top: 46%; width: var(--S); height: var(--S); margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2); transform-style: preserve-3d; animation: bob 6s ease-in-out 1.4s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0 40px; } 50% { translate: 0 -14px 60px; } }
.logo3d.is-gulp { animation: bob 6s ease-in-out 1.4s infinite, gulp .55s var(--spring); }
@keyframes gulp { 0% { scale: 1; } 35% { scale: .9; } 70% { scale: 1.07; } 100% { scale: 1; } }
.logo3d > * { position: absolute; user-select: none; }
.l-shadow { left: calc(var(--u) * 27); top: calc(var(--u) * 18); width: calc(var(--u) * 67); height: calc(var(--u) * 84); border-radius: calc(var(--u) * 8); box-shadow: 0 calc(var(--u) * 16) calc(var(--u) * 32) rgba(217, 77, 51, .45); translate: 0 0 -30px; animation: fadeIn .4s ease .9s both; }
.l-panel { top: calc(var(--u) * 14); height: calc(var(--u) * 100); }
.l-left { left: calc(var(--u) * 19); width: calc(var(--u) * 49); transform-origin: 83.7% 50%; animation: unfold .22s cubic-bezier(.2, .7, .3, 1) .72s both; }
.l-right { left: calc(var(--u) * 52); width: calc(var(--u) * 50); transform-origin: 16% 50%; translate: 0 0 1px; animation: unfold .2s cubic-bezier(.2, .7, .3, 1) .54s both; }
@keyframes unfold { from { scale: .004 1; filter: brightness(.7); } to { scale: 1 1; filter: none; } }
.l-gloss { left: calc(var(--u) * 32); top: calc(var(--u) * 20); width: calc(var(--u) * 38); height: calc(var(--u) * 32); translate: 0 0 14px; animation: gloss .3s ease-out 1.16s both; }
@keyframes gloss { from { clip-path: inset(0 100% 100% 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.l-fold { left: calc(var(--u) * 70); top: calc(var(--u) * 17); width: calc(var(--u) * 26); height: calc(var(--u) * 26); transform-origin: 53.8% 42.3%; translate: 0 0 22px; animation: fold .55s var(--ease) .36s both; }
@keyframes fold { 0% { transform: translate(calc(var(--u) * -24), calc(var(--u) * 32)) scale(0); } 33% { transform: translate(calc(var(--u) * -24), calc(var(--u) * 32)) scale(1.12); } 100% { transform: none; } }
.l-line { left: calc(var(--u) * 37); height: calc(var(--u) * 3.5); border-radius: 99px; background: rgba(255, 255, 255, .92); transform-origin: 0 50%; translate: 0 0 26px; animation: grow .18s ease-out both; }
.l1 { top: calc(var(--u) * 70); width: calc(var(--u) * 46); animation-delay: 1.16s; }
.l2 { top: calc(var(--u) * 78); width: calc(var(--u) * 46); animation-delay: 1.22s; }
.l3 { top: calc(var(--u) * 86); width: calc(var(--u) * 32); animation-delay: 1.28s; }
@keyframes grow { from { scale: 0 1; opacity: 0; } to { scale: 1 1; opacity: 1; } }
.l-label { left: calc(var(--u) * 37.5); top: calc(var(--u) * 42); width: calc(var(--u) * 39); height: calc(var(--u) * 25); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: calc(var(--u) * 20); line-height: 1; letter-spacing: -.02em; translate: 0 0 34px; text-shadow: 0 2px 8px rgba(169, 21, 15, .35); animation: rise .3s ease-out 1.16s both; }
@keyframes rise { from { opacity: 0; transform: translateY(calc(var(--u) * 10)); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.stage:hover .l-gloss { translate: 0 0 46px; }
.stage:hover .l-fold { translate: 0 0 58px; }
.stage:hover .l-line { translate: 0 0 70px; }
.stage:hover .l-label { translate: 0 0 92px; }
.stage:hover .l-right { translate: 0 0 18px; }
.l-gloss, .l-fold, .l-line, .l-label, .l-right { transition: translate .6s var(--ease); }

.orbit { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.orb { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 9px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -10px rgba(5, 20, 29, .35), inset 0 0 0 1px rgba(5, 20, 29, .05); font-weight: 800; font-size: 13px; letter-spacing: .02em; white-space: nowrap; will-change: transform, opacity; transition: box-shadow .3s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.orb .ic { width: 24px; height: 24px; }
.orb.t-doc b { color: var(--doc); }
.orb.t-xls b { color: var(--xls); }
.orb.t-ppt b { color: var(--ppt); }
.orb.t-txt b { color: var(--txt); }
.orb.t-img b, .orb.t-img .ic { color: var(--img); }
.orb.t-pdf { box-shadow: 0 12px 26px -10px rgba(224, 20, 24, .55), inset 0 0 0 1.5px rgba(224, 20, 24, .35); }
.orb.t-pdf b { color: var(--red); }
.orb:hover { box-shadow: 0 14px 30px -10px rgba(224, 20, 24, .5), inset 0 0 0 1.5px rgba(224, 20, 24, .45); }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 40px -16px rgba(5, 20, 29, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 700; pointer-events: none; }
.float-card p { margin: 0; white-space: nowrap; }
.float-card mark { background: linear-gradient(transparent 12%, #FFE94D 12%, #FFE94D 88%, transparent 88%); color: inherit; padding: 0 2px; }
.float-card u { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fc-hl { left: -2%; top: 14%; transform: translateZ(110px); animation: hover1 7s ease-in-out infinite; }
.fc-hl .ic { width: 22px; height: 22px; }
.fc-sign { right: 4%; bottom: 7%; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 16px 12px; transform: translateZ(140px); animation: hover2 8s ease-in-out infinite; }
.fc-sign span { font-size: 12px; color: var(--muted); font-weight: 700; }
.sig { width: 140px; height: 50px; }
.sig path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: sign 5s ease-in-out 1.6s infinite; }
@keyframes sign { 0% { stroke-dashoffset: 420; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
@keyframes hover1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hover2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
.float-toast { position: absolute; left: 50%; top: 5%; display: flex; white-space: nowrap; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(5, 20, 29, .55); transform: translateX(-50%) translateZ(180px) translateY(10px) scale(.92); opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--spring); pointer-events: none; }
.float-toast.is-on { opacity: 1; transform: translateX(-50%) translateZ(180px); }
.float-toast p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.float-toast b { font-size: 13.5px; }
.float-toast small { font-size: 12px; opacity: .7; font-weight: 600; }
.ft-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); }
.ft-check .ic { width: 16px; height: 16px; }
.stage-hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.stage-hint .ic { width: 18px; height: 18px; color: var(--red); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; box-shadow: inset 0 0 0 2px rgba(5, 20, 29, .18); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 22px 0; overflow: hidden; background: var(--ink); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.is-paused .mq-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.mq-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mq-chip .ic { width: 22px; height: 22px; color: #FF8C6B; }
.mq-chip.g-edit .ic { color: #B794F6; }
.mq-chip.g-organize .ic { color: #FFA36B; }
.mq-chip.g-protect .ic { color: #4ADE80; }
.mq-chip.g-ai .ic { color: #6AA8FF; }

/* ---------- convert ---------- */
.convert { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.converter { position: relative; padding: 70px 32px 32px; border-radius: 36px; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); overflow: hidden; }
.converter::before { content: ''; position: absolute; left: 50%; top: -120px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 105, 61, .16), transparent 65%); pointer-events: none; }
.cv-ring { position: relative; display: flex; flex-direction: column; align-items: center; }
.cv-prog { width: 220px; height: 220px; transform: rotate(-90deg); transition: transform .4s var(--spring), filter .4s; }
.cv-prog circle { fill: none; stroke-width: 7; }
.cv-prog .trk { stroke: var(--line-2); stroke-dasharray: 3 7; }
.cv-prog .bar { stroke: url(#gradRing); stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.cv-core { position: absolute; top: 25px; left: 50%; width: 170px; height: 170px; margin-left: -85px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #FFF3EE 70%); box-shadow: inset 0 0 0 1px rgba(224, 20, 24, .08); }
.cv-core img { width: 150px; height: 150px; transition: transform .4s var(--spring); }
.cv-pct { position: absolute; bottom: 6px; padding: 3px 10px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .25s; }
.cv-ring.is-working .cv-pct { opacity: 1; }
.cv-ring.is-working .cv-core img { animation: chew .7s ease-in-out infinite; }
@keyframes chew { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.94) rotate(-3deg); } }
.cv-ring.is-target .cv-prog { transform: rotate(-90deg) scale(1.08); filter: drop-shadow(0 0 18px rgba(254, 105, 61, .55)); }
.cv-ring.is-target .cv-core img { transform: scale(1.08); }
.cv-ring.is-done .cv-core img { animation: pop .6s var(--spring); }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cv-status { display: flex; align-items: center; gap: 8px; min-height: 26px; margin: 14px 0 0; font-weight: 700; font-size: 14.5px; color: var(--text); text-align: center; }
.cv-status .ic { width: 18px; height: 18px; color: var(--red); }
.cv-status.is-ok { color: var(--ok); }
.cv-status.is-ok .ic { color: var(--ok); }
.cv-files { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.cv-file { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 10px 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line); text-align: left; touch-action: none; user-select: none; -webkit-user-select: none; transform-style: preserve-3d; transition: box-shadow .25s, opacity .3s; }
.cv-file:hover { box-shadow: 0 16px 30px -14px rgba(5, 20, 29, .3), inset 0 0 0 1.5px rgba(224, 20, 24, .3); transform: perspective(600px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px); }
.cv-file.is-drag { z-index: 20; cursor: grabbing; box-shadow: 0 30px 50px -18px rgba(5, 20, 29, .45), inset 0 0 0 2px var(--orange); }
.cv-file.is-used { opacity: .4; pointer-events: none; }
.cv-file.is-used::after { content: '✓'; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; font-weight: 800; }
.converter.is-working .cv-file:not(.is-used) { pointer-events: none; }
.cv-badge { align-self: flex-start; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; }
.cv-name { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-word .cv-badge { background: var(--doc); }
.t-excel .cv-badge { background: var(--xls); }
.t-ppt .cv-badge { background: var(--ppt); }
.t-txt .cv-badge { background: var(--txt); }
.t-image .cv-badge { background: var(--img); }
.mini { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; pointer-events: none; }
.mini-doc { background: var(--doc-bg); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-doc i { display: block; height: 4px; border-radius: 2px; background: rgba(0, 106, 255, .28); }
.mini-doc i:first-child { width: 60%; height: 7px; background: var(--doc); margin-bottom: 4px; }
.mini-doc i:nth-child(3) { width: 85%; }
.mini-doc i:nth-child(5) { width: 55%; }
.mini-xls { background: var(--xls-bg); display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 2px; padding: 8px; }
.mini-xls i { background: #fff; border-radius: 2px; }
.mini-xls i:nth-child(-n+3) { background: var(--xls); }
.mini-xls i:nth-child(5), .mini-xls i:nth-child(10) { background: rgba(22, 169, 73, .3); }
.mini-ppt { background: var(--ppt-bg); padding: 10px; display: flex; align-items: flex-end; gap: 5px; }
.mini-ppt::before { content: ''; position: absolute; left: 10px; right: 10px; top: 10px; height: 8px; border-radius: 3px; background: var(--ppt); }
.mini-ppt i { flex: 1; border-radius: 3px 3px 0 0; background: rgba(250, 107, 30, .55); }
.mini-ppt i:nth-child(1) { height: 30%; }
.mini-ppt i:nth-child(2) { height: 52%; }
.mini-ppt i:nth-child(3) { height: 40%; }
.mini-ppt i:nth-child(4) { height: 68%; background: var(--ppt); }
.mini-txt { background: var(--txt-bg); padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.mini-txt i { height: 3px; border-radius: 2px; background: rgba(124, 58, 237, .4); }
.mini-txt i:nth-child(2n) { width: 70%; }
.mini-txt i:nth-child(3) { width: 90%; }
.mini-img { background: linear-gradient(180deg, #BFE0FF 0%, #FFE6D8 70%); }
.mini-img i:first-child { position: absolute; right: 18%; top: 16%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #FFC93C; }
.mini-img i:last-child { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; background: linear-gradient(135deg, #FF8C6B, #E3402E); clip-path: polygon(0 100%, 35% 20%, 55% 55%, 75% 30%, 100% 100%); }
.cv-result { position: relative; margin-top: 24px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #FFF6F2, #FDEFEF); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; animation: slideUp .5s var(--spring); }
.cv-result[hidden] { display: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.cv-pdf { display: flex; align-items: center; gap: 12px; flex: 1 1 200px; min-width: 0; }
.cv-pdf p, .merge-doc p, .out-doc p, .mf p { margin: 0; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.cv-pdf b, .merge-doc b, .out-doc b, .mf b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-pdf small { color: var(--ok); font-weight: 700; font-size: 13px; }
.ic-file { width: 40px; height: 44px; flex: none; }
.cv-actions { display: flex; gap: 8px; }
.cv-result .link-btn { position: absolute; right: 14px; bottom: -42px; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }

/* ---------- reader ---------- */
.read { background: var(--soft); }
.read-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 40px; align-items: start; }
.reader { position: relative; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); overflow: hidden; }
.rd-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line-2); }
.rd-top > .ic { width: 26px; height: 28px; }
.rd-name { flex: 1; margin: 0; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-act { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); transition: background-color .2s, color .2s; }
.rd-act:hover { background: var(--line-2); }
.rd-act[aria-pressed="true"] { background: var(--brand-soft); color: var(--red); }
.rd-act .ic { width: 22px; height: 22px; }
.rd-search { display: flex; align-items: center; gap: 10px; margin: 10px 14px 0; padding: 0 14px; height: 44px; border-radius: 12px; background: var(--field); }
.rd-search[hidden] { display: none; }
.rd-search .ic { width: 18px; height: 18px; color: var(--muted); }
.rd-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; caret-color: var(--red); font-size: 15px; }
.rd-count { font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.rd-count.is-none { color: var(--muted); font-weight: 600; }
.rd-stage { position: relative; padding: 26px; background: var(--paper-bg); max-height: 600px; overflow: auto; transition: background-color .4s; }
.rd-page { position: relative; padding: 38px 42px 30px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(5, 20, 29, .08), 0 14px 30px -18px rgba(5, 20, 29, .25); color: #1E2329; font-size: 15.5px; line-height: 1.75; transition: filter .45s; }
.reader.is-night .rd-stage { background: #1F2224; }
.reader.is-night .rd-page { filter: invert(.92) hue-rotate(180deg); }
.reader.is-night .rd-sig { filter: none; }
.rd-doc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--brand-soft); }
.rd-logo { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--grad); box-shadow: inset 0 -10px 20px rgba(169, 21, 15, .3); }
.rd-page h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.rd-meta { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.rd-page h4 { margin: 18px 0 6px; font-size: 17px; }
.rd-page p.rd-text { margin: 0 0 12px; }
.rd-chart { display: flex; align-items: flex-end; gap: 10px; height: 74px; margin: 6px 0 14px; padding: 0 4px; border-bottom: 1.5px solid var(--line); }
.rd-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #FE693D, #E01418); opacity: .85; }
.rd-chart i:not(:last-child) { opacity: .35; }
.rd-sign-slot { position: relative; display: flex; align-items: flex-end; min-height: 86px; margin-top: 22px; padding-bottom: 6px; border-bottom: 1.5px dashed #B4B8BB; width: min(260px, 70%); font-size: 12.5px; color: var(--muted); }
.rd-sign-slot.is-signed span { opacity: .55; }
.rd-sig { position: absolute; left: 6px; bottom: 6px; max-width: 220px; max-height: 72px; cursor: grab; touch-action: none; animation: stamp .45s var(--spring); }
.rd-sig.is-moving { cursor: grabbing; filter: drop-shadow(0 8px 10px rgba(5, 20, 29, .25)); }
@keyframes stamp { from { opacity: 0; transform: scale(1.4) rotate(-6deg); } to { opacity: 1; transform: none; } }
.rd-pageno { position: absolute; right: 18px; bottom: 12px; font-size: 11px; color: #B4B8BB; font-weight: 600; }
.w { --hl: linear-gradient(transparent, transparent); --ul: linear-gradient(transparent, transparent); --st: linear-gradient(transparent, transparent); background-image: var(--st), var(--ul), var(--hl); background-repeat: no-repeat; background-position: 0 58%, 0 96%, 0 50%; background-size: var(--st-w, 0%) 2px, var(--ul-w, 0%) 2px, var(--hl-w, 0%) 88%; transition: background-size .35s var(--ease) var(--d, 0ms), background-color .15s; border-radius: 3px; }
.mk-hl { --hl: linear-gradient(#FFE94D, #FFE94D); --hl-w: 100%; }
.mk-ul { --ul: linear-gradient(var(--red), var(--red)); --ul-w: 100%; }
.mk-st { --st: linear-gradient(var(--red), var(--red)); --st-w: 100%; }
.mk-pre { background-color: rgba(224, 20, 24, .14); }
.mk-find { background-color: rgba(255, 196, 0, .45); box-shadow: 0 0 0 2px rgba(255, 196, 0, .45); }
.reader.is-marking .rd-page { cursor: text; touch-action: none; user-select: none; -webkit-user-select: none; }
.rd-guide { position: sticky; bottom: 0; left: 0; width: max-content; max-width: 90%; margin: -40px auto 0; padding: 9px 16px; border-radius: 999px; background: rgba(5, 20, 29, .86); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.rd-guide.is-on { opacity: 1; transform: none; }
.rd-tools { display: flex; justify-content: space-around; gap: 4px; padding: 10px 10px 12px; border-top: 1px solid var(--line-2); background: #fff; }
.rd-tool { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 8px 4px; border: 0; border-radius: 14px; background: transparent; font-size: 12px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s, transform .2s; }
.rd-tool span { max-width: 100%; line-height: 1.2; text-align: center; hyphens: auto; -webkit-hyphens: auto; }
.rd-tool .ic { width: 24px; height: 24px; }
.rd-tool:hover { background: var(--line-2); }
.rd-tool[aria-pressed="true"] { background: var(--brand-soft); color: var(--red); }
.rd-tool:active { transform: scale(.94); }
.rd-pad { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-end; background: rgba(5, 20, 29, 0); transition: background-color .22s; }
.rd-pad[hidden] { display: none; }
.rd-pad.is-open { background: rgba(5, 20, 29, .45); }
.rd-pad-card { width: 100%; padding: 22px 22px 18px; border-radius: 24px 24px 0 0; background: #fff; transform: translateY(100%); transition: transform .3s var(--ease); }
.rd-pad.is-open .rd-pad-card { transform: none; }
.rd-pad-title { margin: 0 0 12px; font-weight: 700; font-size: 17px; text-align: center; }
.rd-pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 560 / 220; border-radius: 16px; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='40'%3E%3Ctext x='0' y='28' font-family='sans-serif' font-size='16' fill='%23B4B8BB'%3E%E2%9C%8D%3C/text%3E%3C/svg%3E") 16px 12px no-repeat; touch-action: none; cursor: crosshair; }
.rd-pad.has-ink canvas { background-image: none; }
.rd-pad-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.read-side { position: sticky; top: calc(var(--header-h) + 24px); padding-top: 8px; }
.read-try { display: flex; gap: 10px; margin: 0 0 22px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-2); font-weight: 700; }
.read-try .ic { width: 22px; height: 22px; color: var(--red); margin-top: 1px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feature-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; }
.feature-chips .ic { width: 20px; height: 20px; color: var(--red); }
.read-side .btn { margin-top: 26px; }

/* ---------- organize ---------- */
.org { max-width: 1000px; margin: 0 auto; padding: 22px; border-radius: 36px; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); }
.seg { display: flex; gap: 4px; padding: 5px; margin: 0 auto 22px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--field); }
.seg button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--text); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button .ic { width: 20px; height: 20px; }
.seg button[aria-selected="true"] { background: #fff; color: var(--red); box-shadow: 0 6px 16px -8px rgba(5, 20, 29, .3); }
.org-panel { padding: 8px 10px 10px; animation: fadeIn .35s ease; }
.org-hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; }
.org-hint .ic { width: 18px; height: 18px; color: var(--red); flex: none; }
.pages { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; touch-action: auto; }
.pg > button { all: unset; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; cursor: pointer; }
.pg-sheet { position: relative; display: flex; flex-direction: column; gap: 6%; width: 100%; aspect-ratio: 3 / 4; padding: 14% 12%; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(5, 20, 29, .1), 0 10px 22px -14px rgba(5, 20, 29, .35), inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, transform .25s var(--ease); }
.pg-sheet i { display: block; height: 5%; border-radius: 2px; background: #E6E7E8; }
.pg-sheet i:nth-child(2n) { width: 78%; }
.k-cover { background: linear-gradient(160deg, #fff 55%, #FDEFEF); }
.k-cover i:first-child { height: 14%; width: 70%; background: var(--grad); }
.k-chart { flex-direction: row !important; align-items: flex-end; }
.k-chart i { flex: 1; width: auto !important; background: rgba(254, 105, 61, .5); }
.k-chart i:nth-child(1) { height: 30%; } .k-chart i:nth-child(2) { height: 55%; } .k-chart i:nth-child(3) { height: 42%; } .k-chart i:nth-child(4) { height: 70%; background: var(--red); } .k-chart i:nth-child(5) { height: 50%; }
.k-table { display: grid !important; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 14%; gap: 4% !important; }
.k-table i { height: auto; width: auto !important; background: var(--xls-bg); }
.k-table i:nth-child(-n+2) { background: var(--xls); }
.k-photo i:first-child { height: 46%; width: 100%; border-radius: 4px; background: linear-gradient(160deg, #BFE0FF, #FFC9B3); }
.k-sign i:last-child { margin-top: auto; height: 12%; width: 60%; background: none; border-bottom: 2px solid var(--ink-2); border-radius: 0; }
.k-text i:first-child { width: 55%; background: var(--doc); }
.pg-no { position: absolute; top: -8px; left: -8px; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(5, 20, 29, .5); transition: background-color .3s; }
.pg-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pg:hover .pg-sheet { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(5, 20, 29, .1), 0 18px 30px -16px rgba(5, 20, 29, .4), inset 0 0 0 1.5px rgba(224, 20, 24, .3); }
.pg.is-drag { z-index: 10; cursor: grabbing; }
.pg.is-drag .pg-sheet { box-shadow: 0 30px 50px -20px rgba(5, 20, 29, .5), inset 0 0 0 2px var(--orange); }
.pages.is-sorted .pg-no { background: var(--ok); }
.pages.is-sorted .pg-sheet { box-shadow: 0 1px 2px rgba(5, 20, 29, .1), 0 10px 22px -14px rgba(5, 20, 29, .35), inset 0 0 0 2px rgba(22, 169, 73, .45); }
.pages.is-sorted .pg { animation: pop .5s var(--spring) both; }
.pages.is-sorted .pg:nth-child(2) { animation-delay: .04s; } .pages.is-sorted .pg:nth-child(3) { animation-delay: .08s; } .pages.is-sorted .pg:nth-child(4) { animation-delay: .12s; } .pages.is-sorted .pg:nth-child(5) { animation-delay: .16s; } .pages.is-sorted .pg:nth-child(6) { animation-delay: .2s; }
.org-done { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; font-weight: 800; color: var(--ok); animation: slideUp .45s var(--spring); }
.org-done[hidden] { display: none; }
.org-done .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; }
.pg-check { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #CFCFCF; transition: background-color .2s, box-shadow .2s, transform .25s var(--spring); }
.pg-check .ic { width: 14px; height: 14px; color: #fff; opacity: 0; }
.selectable button[aria-pressed="true"] .pg-check { background: var(--red); box-shadow: none; transform: scale(1.1); }
.selectable button[aria-pressed="true"] .pg-check .ic { opacity: 1; }
.selectable button[aria-pressed="true"] .pg-sheet { box-shadow: 0 0 0 2.5px var(--red), 0 14px 26px -14px rgba(224, 20, 24, .5); transform: scale(.97); }
.org-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; min-height: 56px; }
.org-out { flex: 1; min-width: 0; }
.org-out .org-done { justify-content: flex-start; margin: 6px 0 0; }
.out-doc, .merge-doc { display: flex; align-items: center; gap: 12px; animation: slideUp .45s var(--spring); }
.out-doc small, .merge-doc small, .mf small { font-size: 12.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.out-stack { position: relative; width: 40px; height: 48px; flex: none; }
.out-stack i { position: absolute; inset: 0; border-radius: 5px; background: #fff; box-shadow: 0 2px 6px rgba(5, 20, 29, .18), inset 0 0 0 1px var(--line); }
.out-stack i:nth-child(1) { transform: rotate(-8deg); } .out-stack i:nth-child(2) { transform: rotate(5deg); }
.out-stack i:last-child { background: linear-gradient(180deg, #fff 60%, var(--brand-soft)); box-shadow: 0 2px 6px rgba(5, 20, 29, .18), inset 0 0 0 1.5px rgba(224, 20, 24, .35); }
.merge-stage { position: relative; max-width: 520px; margin: 0 auto; min-height: 236px; }
.merge-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mf { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line); transition: transform .7s var(--ease) calc(var(--i) * 80ms), opacity .5s ease calc(var(--i) * 80ms + .25s); }
.mf p { flex: 1; }
.mf-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--field); font-size: 12px; font-weight: 800; color: var(--text); }
.merge-list.is-merging .mf { transform: translateY(calc(var(--i) * -72px + 72px)) scale(.94); opacity: 0; }
.merge-out { position: absolute; left: 0; right: 0; top: 60px; display: flex; flex-direction: column; align-items: center; }
.merge-out[hidden] { display: none; }
.merge-doc { padding: 16px 22px; border-radius: 20px; background: linear-gradient(135deg, #FFF6F2, #FDEFEF); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(224, 20, 24, .2); }

/* ---------- AI translate (dark) ---------- */
.translate { color: #fff; background: var(--night); overflow: hidden; }
.tr-aurora { position: absolute; inset: 0; pointer-events: none; }
.tr-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 20s ease-in-out infinite alternate; }
.tr-aurora i:nth-child(1) { width: 600px; height: 600px; left: -160px; top: -200px; background: #E01418; opacity: .35; }
.tr-aurora i:nth-child(2) { width: 520px; height: 520px; right: -120px; top: 20%; background: #FE693D; opacity: .3; animation-delay: -8s; }
.tr-aurora i:nth-child(3) { width: 460px; height: 460px; left: 35%; bottom: -260px; background: #3D7AFF; opacity: .28; animation-delay: -4s; }
.translate.is-paused .tr-aurora i { animation-play-state: paused; }
.translate .section-sub { color: rgba(255, 255, 255, .72); }
.translate .container { position: relative; }
.tr-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.tr-grid > *, .split > *, .read-grid > *, .hero-layout > *, .story-grid > * { min-width: 0; }
.tr-doc { position: relative; min-height: 420px; padding: 26px 30px 70px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(254, 105, 61, .55), 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; transform: perspective(1200px) rotateY(4deg) rotateX(2deg); transition: transform .6s var(--ease); }
.tr-doc:hover { transform: none; }
.tr-doc-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.tr-doc-top .ic { width: 24px; height: 26px; }
.tr-tag { margin-left: auto; padding: 4px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--red); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.tr-body h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.tr-body h4 { margin: 18px 0 6px; font-size: 17px; }
.tr-body p { margin: 0 0 8px; color: var(--text); }
.tr-body .tr-small { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper-bg); font-size: 14px; }
.tr-in { animation: trIn .55s var(--ease) both; }
@keyframes trIn { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
.tr-beam { position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(90deg, transparent, rgba(254, 105, 61, .25) 60%, rgba(224, 20, 24, .55) 98%, transparent); opacity: 0; pointer-events: none; }
.tr-doc.is-working .tr-beam { opacity: 1; animation: beam 1.1s var(--ease) infinite; }
.tr-doc.is-working .tr-body { filter: blur(2px); opacity: .5; transition: filter .3s, opacity .3s; }
@keyframes beam { to { left: 110%; } }
.tr-state { position: absolute; left: 30px; bottom: 22px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 99px; background: var(--field); font-size: 13.5px; font-weight: 700; color: var(--text); }
.tr-doc.is-done .tr-state { background: #E8F6ED; color: var(--ok); }
.tr-state .ic { width: 16px; height: 16px; }
.tr-pick { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: 16px; }
.tr-pick .ic { width: 22px; height: 22px; color: #FFB299; }
.tr-langs { display: flex; flex-wrap: wrap; gap: 8px; max-height: 236px; overflow: auto; padding: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.tr-langs button { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: 14px; transition: background-color .2s, box-shadow .2s, transform .2s; }
.tr-langs button small { font-size: 10.5px; opacity: .55; letter-spacing: .04em; }
.tr-langs button:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.tr-langs button[aria-checked="true"] { background: var(--grad); box-shadow: 0 10px 22px -10px rgba(254, 105, 61, .8); }
.tr-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.tr-facts li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.tr-facts .ic { width: 18px; height: 18px; color: #FF8C6B; margin-top: 1px; }
.soon-card { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 0; border-radius: 18px; background: linear-gradient(135deg, rgba(61, 122, 255, .2), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; text-align: left; }
.soon-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(61, 122, 255, .35); }
.soon-ic .ic { width: 24px; height: 24px; }
.soon-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.soon-txt small { font-size: 12px; opacity: .65; font-weight: 600; }
.badge-soon { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tr-note { max-width: 760px; margin: 40px auto 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- protect ---------- */
.protect { background: #fff; }
.vault { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 34px 34px 60px; border-radius: 36px; background: linear-gradient(145deg, #FFF6F2 0%, #fff 55%, #F4F4F4 100%); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); }
.vault-file { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vault-paper { position: relative; display: flex; flex-direction: column; gap: 10px; width: min(86%, 240px); aspect-ratio: 3 / 4; padding: 20% 14%; border-radius: 14px; background: #fff; box-shadow: 0 30px 50px -26px rgba(5, 20, 29, .45), inset 0 0 0 1px var(--line-2); transition: filter .5s var(--ease), transform .5s var(--ease); }
.vault-paper i { height: 7px; border-radius: 4px; background: #E6E7E8; }
.vault-paper i:first-child { width: 60%; height: 12px; background: var(--grad); }
.vault-paper i:nth-child(3) { width: 80%; }
.vault-paper i:nth-child(5) { width: 50%; }
.vault.is-locked .vault-paper { filter: blur(4px) saturate(.6); transform: scale(.96); }
.padlock { position: absolute; left: 50%; top: 32%; width: 34%; margin-left: -17%; transform: translateY(-50%); filter: drop-shadow(0 18px 24px rgba(5, 20, 29, .28)); transition: transform .5s var(--spring); }
.padlock svg { width: 100%; height: auto; overflow: visible; }
.padlock .shackle { stroke: #B4B8BB; transform: translateY(-12px) rotate(0); transform-origin: 46px 36px; transition: transform .45s var(--spring), stroke .3s; }
.padlock .lock-body { fill: #CFD2D6; transition: fill .3s; }
.padlock .keyhole { fill: #fff; }
.vault.is-locked .padlock { transform: translateY(-50%) scale(1.08); animation: lockShake .5s ease .3s; }
.vault.is-locked .padlock .shackle { transform: none; stroke: #A9150F; }
.vault.is-locked .padlock .lock-body { fill: var(--red); }
@keyframes lockShake { 0%, 100% { rotate: 0deg; } 25% { rotate: -7deg; } 60% { rotate: 5deg; } }
.vault-name { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.vault-name .ic { width: 22px; height: 24px; }
.vault-name .lock-mini { width: 18px; height: 18px; color: var(--red); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--spring); }
.vault.is-locked .lock-mini { opacity: 1; transform: none; }
.pass-field { display: flex; align-items: center; height: 54px; padding: 0 6px 0 16px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.pass-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--red); background: #fff; }
.pass-field.is-error { box-shadow: inset 0 0 0 1.5px var(--red); }
.pass-field.is-shake { animation: shake .4s ease; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.pass-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; caret-color: var(--red); font-size: 16px; }
.eye { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.eye .ic { width: 22px; height: 22px; }
.pass-error { min-height: 22px; margin: 6px 4px; font-size: 13px; font-weight: 600; color: var(--red); }
.vault-hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.vault-ok { position: absolute; left: 50%; bottom: -30px; display: flex; flex-direction: column; align-items: center; width: max-content; max-width: 92%; padding: 12px 22px; border-radius: 18px; background: var(--ink); color: #fff; text-align: center; transform: translateX(-50%); box-shadow: 0 20px 40px -18px rgba(5, 20, 29, .55); }
.vault-ok[hidden] { display: none; }
.vault-ok.is-on { animation: okIn .5s var(--spring); }
@keyframes okIn { from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.9); } to { opacity: 1; transform: translateX(-50%); } }
.vault-ok b { font-size: 15px; }
.vault-ok small { font-size: 12.5px; opacity: .72; }

/* ---------- all tools ---------- */
.tools { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.tool-groups { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px; }
.tool-group { --n: 4; grid-column: span 4; padding: 22px; border-radius: 28px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); }
.tool-group.g-convert { --n: 8; grid-column: span 8; }
.tool-group.g-edit { --n: 3; grid-column: span 3; }
.tool-group.g-organize { --n: 5; grid-column: span 5; }
.tg-title { margin: 0 0 16px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.tg-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.tool { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; --tbg: var(--pale); --tfg: var(--red); position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 16px; border: 0; border-radius: 20px; background: var(--paper-bg); transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out, box-shadow .3s, background-color .3s; overflow: hidden; text-align: center; }
.tool:hover { background: #fff; box-shadow: 0 22px 36px -18px rgba(5, 20, 29, .35), inset 0 0 0 1.5px rgba(224, 20, 24, .18); }
.tool-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--tbg); color: var(--tfg); transition: transform .35s var(--spring); }
.tool:hover .tool-ic { transform: translateZ(30px) scale(1.08); }
.tool-ic .ic { width: 28px; height: 28px; }
.tool-label { font-size: 13.5px; font-weight: 700; line-height: 1.3; hyphens: auto; }
.glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .7), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.tool:hover .glare { opacity: 1; }
.badge-new { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 6px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.tool .badge-soon { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 6px; background: var(--line); color: var(--text); font-size: 10px; }
.g-edit .tool { --tbg: var(--txt-bg); --tfg: var(--txt); }
.g-organize .tool { --tbg: var(--ppt-bg); --tfg: var(--ppt); }
.g-protect .tool { --tbg: var(--xls-bg); --tfg: var(--xls); }
.g-ai .tool { --tbg: var(--doc-bg); --tfg: var(--doc); }
.tool[data-tool="pdf_tools_word_to_pdf"] { --tbg: var(--doc-bg); }
.tool[data-tool="pdf_tools_excel_to_pdf"] { --tbg: var(--xls-bg); }
.tool[data-tool="pdf_tools_ppt"] { --tbg: var(--ppt-bg); }
.tool[data-tool="pdf_tools_txt"] { --tbg: var(--txt-bg); }

/* ---------- story ---------- */
.story { background: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-stage { position: sticky; top: calc(var(--header-h) + 30px); height: min(640px, 78vh); perspective: 1400px; }
.story-stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(254, 105, 61, .22), transparent 65%); }
.story-phones { position: relative; height: 100%; transform-style: preserve-3d; }
.sp { position: absolute; left: 50%; top: 50%; max-height: 100%; width: auto; max-width: 100%; opacity: 0; transform: translate(-50%, -50%) translateX(28%) rotateY(-28deg) scale(.9); transition: opacity .6s var(--ease), transform .8s var(--ease); filter: drop-shadow(0 40px 50px rgba(5, 20, 29, .28)); user-select: none; }
.sp.is-past { transform: translate(-50%, -50%) translateX(-28%) rotateY(28deg) scale(.9); }
.sp.is-on { opacity: 1; transform: translate(-50%, -50%); }
.story-steps { margin: 30px 0 0; padding: 0; list-style: none; }
.story-steps li { display: flex; gap: 18px; min-height: 46vh; padding: 26px 0; opacity: .35; transition: opacity .5s; cursor: pointer; }
.story-steps li:last-child { min-height: 36vh; }
.story-steps li.is-on { opacity: 1; }
.st-ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 18px; background: var(--pale); color: var(--red); transition: background .4s, color .4s, transform .4s var(--spring); }
.story-steps li.is-on .st-ic { background: var(--grad); color: #fff; transform: scale(1.06); box-shadow: 0 12px 24px -10px rgba(224, 20, 24, .6); }
.st-ic .ic { width: 26px; height: 26px; }
.story-steps h3 { margin: 8px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.story-steps p { margin: 0; font-size: 17px; color: var(--text); }

/* ---------- download ---------- */
.download { padding: 40px 0 120px; }
.dl-card { --rx: 0deg; --ry: 0deg; position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 64px; border-radius: 44px; background: radial-gradient(120% 140% at 0% 0%, #FE693D 0%, #E01418 55%, #A9150F 100%); color: #fff; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(224, 20, 24, .6); transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; }
.dl-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 48%, transparent 60%); animation: shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.download.is-paused .dl-shine, .download.is-paused .dl-icon { animation-play-state: paused; }
.dl-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.dl-copy, .dl-visual { position: relative; }
.dl-title { margin: 0 0 16px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.dl-title em { background: linear-gradient(90deg, #fff, #FFD9CC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-sub { max-width: 480px; margin: 0 0 28px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.play-badge { display: inline-block; transition: transform .25s var(--ease); }
.play-badge:hover { transform: translateY(-3px) scale(1.02); }
.play-badge img { height: 66px; width: auto; margin: -10px; }
.dl-meta { margin: 18px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.dl-visual { display: flex; flex-direction: column; align-items: center; }
.dl-icon { width: 250px; height: 250px; margin: -40px 0 -20px; animation: dlFloat 7s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(80, 0, 0, .35)); }
@keyframes dlFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.qr-tile { position: relative; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -20px rgba(5, 20, 29, .45); }
.qr-tile img:first-child { width: 150px; height: 150px; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 10px; box-shadow: 0 0 0 4px #fff; }
.dl-qr { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }

/* ---------- footer ---------- */
.site-footer { padding: 60px 0 40px; background: #FAFAFA; border-top: 1px solid var(--line-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand { max-width: 420px; }
.footer-brand p { margin: 16px 0 0; font-size: 14.5px; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px 22px; max-width: 520px; }
.footer-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.disclaimer { max-width: 760px; margin: 0; font-size: 12.5px; color: var(--muted); }
.copyright { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- dock, modal, toast ---------- */
.get-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .94); box-shadow: 0 20px 44px -16px rgba(5, 20, 29, .45), inset 0 0 0 1px var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(140%); transition: transform .4s var(--ease); }
.get-dock img { width: 40px; height: 40px; border-radius: 11px; }
.get-dock-text { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.get-dock-text strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.get-dock-text small { font-size: 12px; color: var(--muted); font-weight: 600; }
html.show-dock .get-dock { transform: none; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 20, 29, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
.modal-dialog { position: relative; width: min(640px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: 28px; border-radius: 30px; background: #fff; box-shadow: 0 50px 120px -30px rgba(5, 20, 29, .5); animation: modalIn .4s var(--spring); outline: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--field); }
.modal-close .ic { width: 20px; height: 20px; }
.modal-app { display: flex; align-items: center; gap: 14px; }
.modal-app img { width: 56px; height: 56px; border-radius: 15px; }
.modal-app-name { margin: 0; font-weight: 800; font-size: 17px; }
.modal-app-meta { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.modal-hero { display: grid; place-items: center; height: 150px; margin: 18px 0 6px; border-radius: 22px; background: radial-gradient(circle at 50% 60%, #FFE7DE, #FFF6F2 70%); }
.modal-hero img { width: 140px; height: 140px; object-fit: contain; animation: pop .6s var(--spring); }
.mh-icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; background: var(--pale); color: var(--red); box-shadow: 0 20px 34px -18px rgba(5, 20, 29, .4); animation: pop .6s var(--spring); }
.mh-icon .ic { width: 46px; height: 46px; }
.mh-icon.g-edit { background: var(--txt-bg); color: var(--txt); }
.mh-icon.g-organize { background: var(--ppt-bg); color: var(--ppt); }
.mh-icon.g-protect { background: var(--xls-bg); color: var(--xls); }
.mh-icon.g-ai { background: var(--doc-bg); color: var(--doc); }
.modal-title { margin: 14px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.modal-sub { margin: 0 0 20px; color: var(--text); }
.modal-get { display: flex; gap: 22px; align-items: center; }
.qr-block { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.qr-block p { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.qr-block .qr-tile { box-shadow: inset 0 0 0 1px var(--line); }
.modal-actions { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.modal-actions .play-badge img { height: 60px; }
.modal-steps { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.modal-steps .step-tap { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transform: translate(-50%, 30px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.is-open { position: absolute; top: calc(var(--header-h) - 6px); left: 16px; right: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
  .main-nav.is-open a { padding: 12px 14px; font-size: 16px; }
  .tool-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-group, .tool-group.g-edit, .tool-group.g-organize { grid-column: span 1; }
  .tool-group.g-convert { grid-column: span 2; }
  .tool-group, .tool-group.g-convert, .tool-group.g-edit, .tool-group.g-organize { --n: 4; }
  .tool-group.g-edit, .tool-group.g-organize { --n: 3; }
}
@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 28px); }
  .hero-layout, .split, .split-rev, .read-grid, .tr-grid, .story-grid { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .stage { max-width: 520px; }
  .read-side { position: static; }
  .tr-doc { transform: none; }
  .story-stage { position: relative; top: 0; height: 520px; }
  .story-steps li, .story-steps li:last-child { min-height: 0; opacity: 1; padding: 16px 0; }
  .story-steps li:not(.is-on) .st-ic { background: var(--pale); }
  .dl-card { grid-template-columns: 1fr; padding: 48px 32px; text-align: center; }
  .dl-sub { margin-left: auto; margin-right: auto; }
  .dl-copy .kicker { margin-left: auto; margin-right: auto; }
  .vault { grid-template-columns: 1fr; padding: 28px 22px 46px; }
  .pages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .header-cta { display: none; }
  .get-dock { display: flex; }
  .section { padding: 72px 0; }
  .section-head.center { margin-bottom: 36px; }
  .section-sub { font-size: 16.5px; }
  .hero-title { font-size: clamp(38px, 11vw, 54px); }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { gap: 18px; margin-top: 32px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 12px; }
  .orb { padding: 6px 10px 6px 7px; font-size: 11px; border-radius: 12px; }
  .orb .ic { width: 20px; height: 20px; }
  .fc-hl { left: 0; top: 4%; font-size: 12px; padding: 9px 12px; }
  .fc-sign { right: 0; bottom: 2%; }
  .sig { width: 104px; height: 38px; }
  .scroll-cue { display: none; }
  .converter { padding: 64px 16px 52px; border-radius: 28px; }
  .cv-files { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .cv-file { padding: 6px 6px 8px; border-radius: 14px; touch-action: manipulation; }
  .cv-name { display: none; }
  .cv-badge { align-self: center; font-size: 10px; padding: 2px 6px; }
  .cv-prog { width: 190px; height: 190px; }
  .cv-core { top: 20px; width: 150px; height: 150px; margin-left: -75px; }
  .cv-core img { width: 130px; height: 130px; }
  .cv-actions { width: 100%; }
  .cv-actions .btn { flex: 1; }
  .rd-stage { padding: 14px; max-height: 520px; }
  .rd-page { padding: 24px 20px 22px; font-size: 14.5px; }
  .rd-page h3 { font-size: 19px; }
  .rd-tool { font-size: 10.5px; padding: 6px 2px; }
  .org { padding: 14px; border-radius: 26px; }
  .seg button { padding: 9px 12px; font-size: 13px; }
  .seg button .ic { display: none; }
  .pages { gap: 12px; }
  .org-bar .btn { width: 100%; }
  .tr-doc { padding: 20px 20px 66px; min-height: 0; }
  .tr-body h3 { font-size: 20px; }
  .tr-facts { grid-template-columns: 1fr; }
  .tr-langs { max-height: none; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .tr-langs button { flex: none; }
  .tool-groups { gap: 14px; }
  .tool-group { padding: 16px; border-radius: 24px; }
  .tool-groups { grid-template-columns: minmax(0, 1fr); }
  .tool-group, .tool-group.g-convert, .tool-group.g-edit, .tool-group.g-organize { grid-column: auto; --n: 4; }
  .tg-grid { gap: 8px; }
  .tool { padding: 12px 4px; border-radius: 16px; gap: 8px; }
  .tool-ic { width: 46px; height: 46px; border-radius: 15px; }
  .tool-ic .ic { width: 24px; height: 24px; }
  .tool-label { font-size: 11.5px; }
  .badge-new, .tool .badge-soon { top: 4px; right: 4px; font-size: 8.5px; padding: 1px 5px; }
  .story-stage { height: 440px; }
  .story-steps h3 { font-size: 21px; }
  .story-steps p { font-size: 15.5px; }
  .download { padding-bottom: 100px; }
  .dl-card { padding: 40px 22px; border-radius: 32px; }
  .dl-icon { width: 190px; height: 190px; }
  .dl-visual .qr-tile, .dl-qr { display: none; }
  .modal { align-items: end; padding: 0; }
  .modal-dialog { width: 100%; border-radius: 28px 28px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation: sheetIn .35s var(--ease); }
  @keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
  .qr-block { display: none; }
  .modal-steps .step-scan { display: none; }
  .modal-steps .step-tap { display: list-item; }
  .footer-bottom { padding-bottom: 80px; }
}
@media (max-width: 380px) {
  .tool-group, .tool-group.g-convert, .tool-group.g-edit, .tool-group.g-organize { --n: 3; }
  .hero-stats { gap: 12px; }
}

html.lite .stage-hint { display: none; }
html.lite .blob, html.lite .tr-aurora i { animation: none; filter: blur(50px); }
html.lite .orb, html.lite .float-card, html.lite .get-dock { backdrop-filter: none; -webkit-backdrop-filter: none; }

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