:root{--ink:#172033;--muted:#697388;--soft:#f5f6fa;--line:#e5e8f0;--purple:#5b50df;--purple-dark:#4639cd;--purple-soft:#efefff;--lime:#cafb65;--paper:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.6 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}.shell{width:min(1160px,calc(100% - 48px));margin:auto}.site-header{height:76px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.nav-shell,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.04em}.brand img{width:31px;height:31px;border-radius:9px;box-shadow:0 2px 8px #13152c16}.site-header nav{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:700;color:#566074}.site-header nav>a:not(.button):hover,.text-link:hover{color:var(--purple)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border:0;border-radius:10px;background:var(--purple);color:white;font:700 14px Manrope;box-shadow:0 10px 20px #5b50df2a;transition:.2s}.button:hover{background:var(--purple-dark);transform:translateY(-1px)}.button span{font-size:17px}.button-small{padding:10px 14px;font-size:13px;border-radius:8px}.hero{padding:104px 0 86px;background:radial-gradient(circle at 50% 15%,#eeefff 0,transparent 37%)}.hero-copy{text-align:center;max-width:850px}.eyebrow,.kicker{font:500 11px/1.2 "DM Mono",monospace;letter-spacing:.09em;text-transform:uppercase;color:var(--purple)}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #dddcff;border-radius:100px;background:#f8f7ff}.eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 3px #e5fac5}.hero h1,.guide-hero h1{font-size:clamp(45px,6vw,76px);line-height:1.06;letter-spacing:-.07em;margin:20px 0 22px;font-weight:800}.hero h1 em,.guide-hero h1 em{font:italic 600 .96em/1 "Playfair Display",serif;color:var(--purple);letter-spacing:-.06em}.hero-lede{max-width:610px;margin:0 auto;color:var(--muted);font-size:18px;line-height:1.7}.hero-actions{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:31px}.text-link{font-size:14px;font-weight:800;color:var(--ink)}.text-link span{margin-left:5px;color:var(--purple);font-size:18px}.microcopy{font-size:12px;color:#9299a8;margin:17px 0 0}.playground-section{padding:78px 0 100px;background:#fafbfe}.section-intro{margin-bottom:36px}.split-intro{display:grid;grid-template-columns:1fr 340px;gap:70px;align-items:end}.section-intro h2,.everywhere h2,.closing h2{font-size:clamp(32px,4vw,51px);line-height:1.12;letter-spacing:-.06em;margin:10px 0 0}.section-intro>p{margin:0;color:var(--muted);font-size:15px}.demo-window{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 30px 80px #222a5012}.browser-bar{height:53px;background:#f7f8fb;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 19px;gap:20px;font:11px "DM Mono",monospace;color:#8a92a3}.browser-dots{display:flex;gap:5px}.browser-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#d7dae3}.address{height:28px;min-width:280px;padding:5px 13px;border:1px solid #e8eaf0;border-radius:7px;background:#fff;flex:1}.address span{font-size:16px;vertical-align:-1px;margin-right:5px}.secure{color:#54a276}.demo-layout{height:416px;display:flex;position:relative}.app-rail{width:145px;background:#fbfbfd;border-right:1px solid var(--line);padding:20px 11px;display:grid;align-content:start;gap:4px}.app-tab{border:0;background:transparent;padding:10px 9px;border-radius:8px;color:#7f8798;display:flex;align-items:center;gap:9px;font:700 12px Manrope;text-align:left;cursor:pointer}.app-tab b{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;background:#edeef4;color:#747c8c;font:700 10px "DM Mono"}.app-tab.active{background:#efefff;color:var(--purple)}.app-tab.active b{background:var(--purple);color:#fff}.app-canvas{padding:31px 42px;flex:1;min-width:0;background:linear-gradient(135deg,#fff,#fafbff)}.app-topline{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:16px;color:#9aa2b1;font-size:12px}.app-label{color:var(--ink);font-weight:800;font-size:14px}.online-dot{margin-left:auto;color:#63c69a;font-size:11px}.message-card{margin-top:26px;border:1px solid #dfe3ec;border-radius:12px;box-shadow:0 10px 28px #2530460b;overflow:hidden;background:white}.message-meta{padding:15px 18px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #eef0f4;font-size:12px}.message-meta small{display:block;color:#98a1b1;font-size:10px}.avatar{width:26px;height:26px;display:grid;place-items:center;background:#ffc7aa;border-radius:50%;font-size:11px;font-weight:800;color:#75442e}.editable{min-height:91px;padding:18px;outline:0;font-size:14px;line-height:1.7;color:#424a5b}.editable:focus{box-shadow:inset 0 0 0 2px #b6b1ff}.message-foot{padding:9px 18px;background:#fafbfc;border-top:1px solid #eef0f4;font-size:10px;color:#9ca4b2;display:flex;justify-content:space-between}.page-lines{margin-top:26px;display:grid;gap:9px}.page-lines i{display:block;height:7px;width:70%;background:#f0f2f6;border-radius:10px}.page-lines i:nth-child(2){width:86%}.page-lines i:nth-child(3){width:53%}.demo-result{opacity:0;transform:translateY(7px);transition:.3s;display:flex;align-items:center;gap:7px;color:#23825a;font-weight:700;font-size:12px;margin-top:16px}.demo-result.show{opacity:1;transform:none}.result-icon{display:grid;place-items:center;background:#dff9ea;border-radius:50%;width:18px;height:18px}.vocca-fab-wrap{position:absolute;right:20px;top:156px;width:46px;height:46px;touch-action:none;z-index:2}.vocca-fab{width:46px;height:46px;border:1px solid #daddE8;border-radius:50%;background:#fff;display:grid;place-items:center;padding:0;box-shadow:0 5px 18px #242b3a36;cursor:grab}.vocca-fab img{width:27px;height:27px}.vocca-fab.loading img{animation:pulse .6s infinite alternate;opacity:.45}.language-pill{position:absolute;right:-5px;bottom:-4px;min-width:23px;height:18px;padding:0 4px;border:1.5px solid #fff;border-radius:10px;background:var(--purple);color:white;font:700 9px "DM Mono";cursor:pointer;box-shadow:0 2px 5px #20203240}.language-menu{position:absolute;right:55px;top:-40px;width:142px;overflow:hidden;border:1px solid #e3e5ee;border-radius:9px;background:#fff;box-shadow:0 12px 30px #1f254426}.language-menu button{display:flex;width:100%;justify-content:space-between;border:0;background:white;padding:9px 11px;color:#434b5b;font:500 11px Manrope;cursor:pointer}.language-menu button:hover{background:#f2f1ff;color:var(--purple)}.fab-hint{position:absolute;right:56px;top:10px;white-space:nowrap;color:#9fa6b5;font:10px/1.25 "DM Mono";text-align:right;pointer-events:none}.demo-caption{display:flex;gap:30px;align-items:center;padding:17px 22px;border-top:1px solid var(--line);background:#fff;color:#7b8495;font-size:11px;font-weight:600}.demo-caption b{display:inline-grid;place-items:center;margin-right:6px;width:18px;height:18px;border-radius:50%;background:#efefff;color:var(--purple);font:700 10px "DM Mono"}.steps{padding:110px 0}.steps-grid{margin-top:30px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.steps-grid article{padding:33px 38px 37px 0}.steps-grid article+article{padding-left:38px;border-left:1px solid var(--line)}.step-number{font:500 11px "DM Mono";color:var(--purple)}.steps h3{font-size:20px;letter-spacing:-.04em;margin:52px 0 10px}.steps p{margin:0;color:var(--muted);font-size:14px}.everywhere{padding:100px 0;background:#181e31;color:#fff}.everywhere-grid{display:grid;grid-template-columns:1fr 1fr;gap:110px;align-items:center}.everywhere .kicker{color:var(--lime)}.everywhere h2{color:#fff}.section-copy{max-width:460px;color:#bbc2d1;margin:22px 0}.everywhere .text-link{color:#fff}.site-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.site-cloud span{padding:12px 15px;border:1px solid #3c455d;border-radius:8px;background:#222a40;color:#d9dfed;font-size:13px;font-weight:700}.site-cloud span:nth-child(2n){transform:translateY(17px)}.site-cloud span:last-child{color:var(--lime);border-color:#97c644}.closing{padding:96px 0;background:var(--purple);color:white;text-align:center}.closing-inner{max-width:760px}.closing img{width:52px;height:52px;border-radius:15px;margin-bottom:12px}.closing .kicker{color:var(--lime)}.closing h2{color:#fff;margin:10px 0 29px}.button-light{background:#fff;color:var(--purple);box-shadow:none}.button-light:hover{background:#f5f4ff}.footer-inner{min-height:90px;color:#8d95a5;font-size:12px}.footer-inner .brand{font-size:16px;color:var(--ink)}.footer-inner .brand img{width:25px;height:25px}.footer-inner a:last-child:hover{color:var(--purple)}.installed-badge{padding:6px 10px;border:1px solid #c9edd8;border-radius:99px;background:#f2fff7;color:#278255;font-size:12px;font-weight:800}.guide-hero{padding:100px 0 68px;background:radial-gradient(circle at 40% 10%,#efefff 0,transparent 38%)}.guide-hero .shell{max-width:930px}.guide-hero h1{font-size:clamp(43px,6vw,70px);margin-bottom:16px}.guide-hero p:last-child{max-width:530px;font-size:17px;color:var(--muted)}.guide-steps{padding:26px 0 105px}.guide-step{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center;padding:63px 80px;border-top:1px solid var(--line)}.guide-step:last-child{border-bottom:1px solid var(--line)}.guide-step h2{font-size:30px;letter-spacing:-.05em;margin:13px 0 10px}.guide-step p{color:var(--muted);max-width:390px;margin:0}.guide-visual{height:210px;border:1px solid #e2e5ec;border-radius:15px;background:#fafbfe;position:relative;overflow:hidden}.focus-visual{display:grid;place-items:center}.fake-input{width:78%;padding:15px;border:2px solid #b5b0ff;border-radius:9px;background:#fff;color:#5b6475;font-size:13px;box-shadow:0 8px 22px #404a7320}.caret{display:inline-block;width:1px;height:16px;background:var(--purple);vertical-align:-3px;margin-left:2px;animation:blink .8s infinite}.cursor{position:absolute;right:45px;bottom:32px;color:var(--purple);font-size:26px}.language-visual{display:grid;place-items:center}.mini-fab{position:absolute;right:34px;top:78px;width:47px;height:47px;padding:9px;border:1px solid #dce0ea;border-radius:50%;background:#fff;box-shadow:0 7px 19px #17203326}.mini-fab img{width:27px;height:27px}.mini-fab b{position:absolute;right:-4px;bottom:-4px;padding:2px 4px;border:1px solid #fff;border-radius:9px;background:var(--purple);color:#fff;font:700 9px "DM Mono"}.mini-menu{position:absolute;right:91px;top:31px;width:170px;padding:6px;border:1px solid #e3e5ed;border-radius:10px;background:#fff;box-shadow:0 12px 26px #19213b20}.mini-menu span{display:flex;justify-content:space-between;padding:8px;color:#555e6f;font-size:11px}.mini-menu span:first-child{background:#f2f1ff;color:var(--purple);border-radius:5px}.translate-visual{padding:31px}.translate-visual p{margin:0;color:#687286;font-size:13px}.translate-visual>span{display:block;margin:8px 0;color:var(--purple)}.translate-visual .translated-text{color:#24845c;font-weight:800}.translate-visual .mini-fab{top:75px}.guide-closing{padding:84px 0}@keyframes blink{50%{opacity:0}}@keyframes pulse{to{transform:scale(.75)}}
@media(max-width:800px){.shell{width:min(100% - 32px,1160px)}.site-header nav>a:not(.button){display:none}.hero{padding:76px 0 58px}.split-intro,.everywhere-grid,.guide-step{grid-template-columns:1fr;gap:25px}.section-intro>p{max-width:570px}.demo-layout{height:420px}.app-rail{width:62px;padding:18px 8px}.app-tab{padding:10px;justify-content:center}.app-tab span{display:none}.app-canvas{padding:28px 24px}.browser-bar .secure{display:none}.demo-caption{gap:9px;padding:14px;font-size:10px}.demo-caption span{flex:1}.steps{padding:75px 0}.steps-grid{grid-template-columns:1fr}.steps-grid article,.steps-grid article+article{padding:28px 0;border-left:0;border-top:1px solid var(--line)}.steps-grid h3{margin-top:27px}.everywhere{padding:72px 0}.site-cloud{justify-content:flex-start}.site-cloud span:nth-child(2n){transform:none}.guide-hero{padding:72px 0 42px}.guide-steps{padding-bottom:70px}.guide-step{padding:42px 0}.guide-visual{order:2}.guide-step h2{font-size:28px}}@media(max-width:520px){.site-header{height:67px}.site-header .button{padding:9px 10px;font-size:11px}.hero h1{font-size:43px}.hero-lede{font-size:16px}.hero-actions{flex-direction:column;gap:15px}.playground-section{padding:57px 0 70px}.browser-bar{padding:0 11px;gap:10px}.address{min-width:0}.demo-layout{height:394px}.app-canvas{padding:21px 14px}.message-card{margin-top:18px}.editable{min-height:102px;font-size:12px}.message-foot span:first-child{display:none}.vocca-fab-wrap{right:11px}.fab-hint{display:none}.demo-caption{display:none}.section-intro h2,.everywhere h2,.closing h2{font-size:34px}.guide-hero h1{font-size:43px}.guide-step{gap:24px}.guide-visual{height:185px}.footer-inner{min-height:130px;justify-content:center;flex-wrap:wrap}.footer-inner .brand{width:100%;justify-content:center}.installed-badge{font-size:10px}}

/* =========================================================
   SELECT TO TRANSLATE — UNIQUE STYLES
========================================================= */

.select-demo-article-canvas {
  position: relative;
}


.select-demo-article {
  max-width: 670px;
  margin: 0 auto;
}


.select-demo-article-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;

  border-radius: 5px;

  background: #f0efff;
  color: #7164d5;

  font: 800 9px Manrope;
}


.select-demo-article h3 {
  margin: 0 0 8px;

  color: #202535;

  font: 800 30px/1.2 Manrope;

  letter-spacing: -.04em;
}


.select-demo-article > p {
  margin: 0 0 27px;

  color: #9ba1ad;

  font: 600 10px Manrope;
}


#select-demo-body {
  color: #555d6d;

  font: 400 14px/1.9 Manrope;
}


#select-demo-body p {
  margin: 0 0 19px;
}


/* Instruction */

.select-demo-instruction {
  position: absolute;

  left: 42px;
  bottom: 22px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #9299a7;
}


.select-demo-instruction-icon {
  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #f0efff;
  color: #7164d5;
}


.select-demo-instruction div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.select-demo-instruction strong {
  color: #697181;

  font: 800 10px Manrope;
}


.select-demo-instruction span {
  font: 500 9px Manrope;
}


/* Select widget */

.select-demo-fab-wrap {
  top: 156px;
}


/* Tooltip */

.select-demo-tooltip {
  position: absolute;

  right: 58px;
  top: 7px;

  height: 34px;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 0 12px;

  border: 0;
  border-radius: 9px;

  background: #fff;
  color: #343844;

  box-shadow:
    0 9px 22px rgba(29, 37, 66, .15);

  font: 700 10px Manrope;

  white-space: nowrap;

  /*
    Tooltip is visual only.
    FAB is the interaction target.
  */
  pointer-events: none;
  cursor: default;

  z-index: 100;
}


.select-demo-tooltip::after {
  content: "";

  position: absolute;

  right: -5px;
  top: 11px;

  width: 10px;
  height: 10px;

  background: #fff;

  transform: rotate(45deg);
}


.select-demo-tooltip-icon {
  color: #4285f4;
}


.select-demo-tooltip[hidden] {
  display: none;
}


/* Popup */

.select-demo-popup {
  position: absolute;

  right: 55px;
  top: -5px;

  width: 354px;

  padding: 16px;

  border: 1px solid #e3e5ec;
  border-radius: 12px;

  background: #fff;

  box-shadow:
    0 18px 45px rgba(29,37,66,.17);

  z-index: 30;
}


.select-demo-popup[hidden] {
  display: none;
}


.select-demo-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}


.select-demo-brand {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #242936;

  font: 700 13px Manrope;
}


.select-demo-brand img {
  width: 22px;
  height: 22px;
}


.select-demo-language-wrap select {
  height: 28px;
  min-width: 148px;

  padding: 0 10px;

  border: 1px solid #ccd1df;
  border-radius: 7px;

  outline: 0;

  background: #fff;
  color: #536075;

  font: 600 10px Manrope;
}


.select-demo-popup-divider {
  height: 1px;

  margin: 13px 0;

  background: #edf0f4;
}


.select-demo-popup-result {
  min-height: 38px;

  color: #9aa5b8;

  font: italic 500 13px/1.6 Manrope;
}


.select-demo-popup-result.is-translated {
  color: #3d4555;
  font-style: normal;
}

/* =========================================================
   SELECT TO TRANSLATE
   Shared Vocca floating widget fixes
========================================================= */

#select-demo-fab-wrap {
  position: absolute;

  right: 22px;
  top: 156px;

  z-index: 50;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: auto;
  height: auto;

  pointer-events: auto;

  transform: none;
}


/* ---------------------------------------------------------
   Floating Vocca button
   Reuse the SAME .vocca-fab styling
--------------------------------------------------------- */

#select-demo-fab-wrap .vocca-fab {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 8px 25px rgba(30, 35, 55, .16);

  cursor: grab;

  z-index: 60;

  flex-shrink: 0;
}


#select-demo-fab-wrap .vocca-fab:active {
  cursor: grabbing;
}


#select-demo-fab-wrap .vocca-fab img {
  width: 32px;
  height: 32px;

  display: block;

  pointer-events: none;
}


/* ---------------------------------------------------------
   Language pill
--------------------------------------------------------- */

#select-demo-fab-wrap .language-pill,
#select-demo-fab-wrap .select-demo-fab-language {
  box-sizing: border-box;
}


/*
  Your Select Demo currently uses:

  <span class="select-demo-fab-language">ZH</span>

  So style that element as the language pill.
*/

#select-demo-fab-wrap .select-demo-fab-language {
  position: absolute;

  right: -5px;
  bottom: -4px;

  min-width: 22px;
  height: 18px;

  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #fff;
  border-radius: 999px;

  background: #7164d5;
  color: #fff;

  font: 800 8px/1 Manrope;

  white-space: nowrap;

  z-index: 70;

  pointer-events: none;
}


/* ---------------------------------------------------------
   Tooltip
--------------------------------------------------------- */

#select-demo-fab-wrap .select-demo-tooltip {
  position: absolute;

  right: 58px;
  top: 6px;

  z-index: 100;

  pointer-events: auto;
}


/*
  IMPORTANT:
  The wrapper itself must not swallow
  pointer events intended for tooltip.
*/

#select-demo-fab-wrap .select-demo-tooltip[hidden] {
  display: none !important;
}


/* Tooltip arrow */

#select-demo-fab-wrap .select-demo-tooltip::after {
  z-index: -1;
}


/* ---------------------------------------------------------
   Translation popup
--------------------------------------------------------- */

#select-demo-fab-wrap .select-demo-popup {
  position: absolute;

  right: 58px;
  top: -5px;

  z-index: 110;

  pointer-events: auto;
}


/* ---------------------------------------------------------
   When widget is being dragged
--------------------------------------------------------- */

#select-demo-fab-wrap.is-dragging {
  user-select: none;
}


#select-demo-fab-wrap.is-dragging
.vocca-fab {
  cursor: grabbing;
}