/* Votel · Liquid Glass preview overrides (loaded after site.css). */
html.lg{
  --lg-fill:#0a84ff;--lg-on:#30d158;--lg-rim-shine:.42;
  --accent:#64b5ff;--line:rgba(255,255,255,.10);--line-2:rgba(255,255,255,.16);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","PingFang SC","Hiragino Sans GB",sans-serif;
}
html.lg body{background:#05060a}
.lg-aurora{position:fixed;inset:0;width:100vw;height:100vh;z-index:-2;pointer-events:none}
.lg-hidden{display:none!important}

/* Hosts: the element keeps its layout; a Glass pane fills it from behind. */
.lg .lg-host{position:relative;isolation:isolate;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.lg .lg-under{position:absolute;inset:0;z-index:-1;display:block;border-radius:inherit;pointer-events:none}
.lg .lg-pane{position:absolute;inset:0;width:100%;height:100%}
.lg .lg-host.lg-btn > :not(.lg-under){pointer-events:none}
.lg .lg-btn .lg-under,.lg button.more .lg-under{pointer-events:auto}

/* Type: SF throughout, no serif italics; Apple-style tight display headings. */
.lg h1,.lg h2{font-family:var(--sans);font-weight:700;letter-spacing:-.035em}
.lg h3{letter-spacing:-.015em}
.lg em{font-family:var(--sans);font-style:normal;font-weight:700;letter-spacing:-.035em;
  background:linear-gradient(100deg,#7cc4ff 0%,#a78bfa 55%,#f0abfc 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lg .hero .h1-kicker{color:#9ccfff;font-weight:600}
.lg .intro,.lg .lede{color:rgba(235,235,245,.72)}
.lg .fig,.lg .sh-label,.lg figcaption,.lg .settings-label{letter-spacing:.04em}

/* Header: floating capsule of glass. */
.lg header.lg-header{background:transparent!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding-top:10px;pointer-events:none}
.lg header.lg-header .nav{pointer-events:auto;width:min(1120px,100% - 24px);height:54px;min-height:0;padding:0 8px 0 12px;border-radius:999px;flex-wrap:nowrap}
.lg header.lg-header nav{flex-wrap:nowrap;gap:2px}
.lg header.lg-header nav a{color:rgba(255,255,255,.78);font-weight:500}
.lg header.lg-header nav a:hover{background:rgba(255,255,255,.10);color:#fff}
/* Language: one capsule (globe · code · chevron) instead of a lone circle beside a label. */
.lg .lg-lang{display:inline-flex;align-items:center;margin-inline-start:6px}
.lg .lg-lang .lg-menu > .lg-button{--lg-glass:rgb(64 66 78/.82);--lg-glass-active:rgb(88 90 104/.9);--lg-rim-shine:.25;width:auto!important;aspect-ratio:auto;padding:0 12px 0 10px;border-radius:999px}
.lg .lg-lang-face{display:inline-flex;align-items:center;gap:6px;width:auto!important;height:auto!important;color:rgba(255,255,255,.88)}
.lg .lg-lang-face > svg:first-child{width:17px;height:17px;flex:none}
.lg .lg-lang-code{font:600 13px/1 var(--sans);letter-spacing:.02em}
.lg .lg-lang-chev{width:10px;height:10px;flex:none;opacity:.6}
.lg .lg-menu-card .lg-lang-face{display:none}
html.lg{scroll-padding-top:84px}

/* Buttons: tinted glass capsules (Apple's prominent glass). */
.lg .download-group.lg-split{border:0;background:none;overflow:visible;gap:10px;border-radius:0}
.lg a.lg-btn{border-radius:999px!important;min-height:48px;padding:12px 22px!important;color:#fff!important;font-weight:600;border:0!important}
.lg .download-group .store-download + .store-download{border-left:0}
.lg .download-group .store-download:hover{background:transparent}
.lg .hero-guide{color:rgba(235,235,245,.7)}
.lg button.more{border:0!important;border-radius:999px!important}

/* Segmented control (mode switch). */
.lg .lg-seg .lg-segmented{--lg-tab-width:var(--seg-w,120px);flex:none}
.lg .lg-seg .lg-tab{white-space:nowrap}
.lg .lg-seg{display:flex;justify-content:center;margin:24px auto 20px;max-width:100%;overflow-x:auto;padding:4px;scrollbar-width:none}

/* Surfaces: radii a touch larger, as on iOS 26. */
.lg .stage{border-radius:34px}
.lg .scene,.lg .settings-grid,.lg .compare-wrap,.lg .art-card{border-radius:28px}
.lg .source,.lg .plans article,.lg .guide-cards a,.lg .setup-wrap,.lg .panel{border-radius:24px}
.lg .settings-grid{overflow:visible}
.lg .settings-grid article{border-color:rgba(255,255,255,.08)!important}
.lg #faq details{border-radius:22px;margin-bottom:10px;padding-inline:20px;border:0}
.lg #faq details summary{border:0}
.lg .closing .wrap{border-radius:40px;padding:56px 24px}
.lg .plans article h3{color:#fff}
.lg .plans .price b{font-size:1.15em}
.lg .scene-art,.lg .stage>figure{background:transparent}
.lg .section::before{opacity:.35}
.lg footer{background:transparent;border-top-color:rgba(255,255,255,.08)}
.lg .framed .shot img,.lg .phone .shot img{box-shadow:0 30px 80px -30px rgba(0,0,0,.8)}

/* Preview badge. */
.lg-badge{display:table;margin:0 auto 18px;padding:5px 12px;border-radius:999px;font:600 11px/1.2 var(--sans);letter-spacing:.04em;color:#cfe6ff;background:rgba(10,132,255,.18);border:1px solid rgba(120,180,255,.35)}

/* Phone: compact capsule header + bottom tab bar. */
.lg-tabbar{display:none}
@media (max-width:760px){
  .lg header.lg-header .nav{height:52px;padding:0 6px 0 10px}
  .lg header.lg-header .brand img{width:28px;height:28px}
  .lg-tabbar{display:flex;justify-content:center;position:fixed;left:0;right:0;bottom:calc(10px + env(safe-area-inset-bottom));z-index:35;pointer-events:none}
  .lg-tabbar > *{pointer-events:auto;max-width:calc(100% - 20px)}
  html.lg body{padding-bottom:96px}
  .lg .stage{border-radius:26px}
  .lg .lg-seg{justify-content:flex-start}
}

/* ---- Mobile & tablet fixes (2026-12-04) ---- */
/* CJK headings: tight Latin tracking and leading make lines collide. */
html.lg:is([lang^="zh"],[lang="ja"],[lang="ko"]) :is(h1,h2){letter-spacing:-.01em;line-height:1.2}
html.lg:is([lang^="zh"],[lang="ja"],[lang="ko"]) .hero h1{line-height:1.18}
.lg h2 em,.lg h1 em{padding-bottom:.06em}
/* Breadcrumb: let the page title wrap inside its item instead of dropping below "Votel". */
.breadcrumb li:last-child{flex:1 1 12em;min-width:0}
@media (max-width:900px){
  /* Hero shots side by side, so the phone never covers the Mac window. */
  .lg .hero-shots{display:flex;align-items:center;gap:3%;padding:0!important}
  .lg .hero-mac{flex:1 1 auto;min-width:0}
  .lg .hero-phone{position:static;flex:0 0 23%;width:23%!important}
}
@media (max-width:760px){
  /* Mode switch: four labels never fit one row in most languages; use a 2×2 grid of capsules. */
  .lg .lg-seg{display:none}
  .lg .hero .toggle.lg-hidden{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:22px 0 18px;padding:5px;border-radius:24px;border:1px solid rgba(255,255,255,.12);background:rgba(28,30,38,.62);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6)}
  .lg .hero .toggle button{min-height:40px;padding:8px 10px;border-radius:999px;font:500 13.5px/1.2 var(--sans);color:rgba(255,255,255,.72)}
  .lg .hero .toggle button[aria-pressed=true]{background:rgba(10,132,255,.9);color:#fff}
  /* Section rhythm: less dead space between blocks on phones. */
  .lg .section{padding-block:clamp(56px,14vw,80px)}
  /* Tab bar: five 72px tabs overflow phones narrower than 375px; shrink them to fit. */
  .lg-tabbar .lg-tab-bar[data-icons]{--lg-tab-width:min(72px,calc((100vw - 28px) / 5))}
}
