:root {
  color-scheme: light;
  --ink: #111;
  --muted: #737373;
  --line: #d5d5d5;
  --orange: #ffa300;
  --google-sans: "Google Sans Flex", "Google Sans", Arial, sans-serif;
  --system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: #fff; color: var(--ink); font-family: var(--system-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.topbar { height: 53px; padding: 0 clamp(22px, 7.2vw, 100px); display: flex; align-items: center; justify-content: space-between; background: #d9d9d9; }
.topbar-title { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.topbar-actions { display: flex; align-items: center; gap: clamp(22px, 4vw, 48px); }
.topbar-button { padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.topbar-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.disabled-button { color: #272727; cursor: default; opacity: 1; }
.home-main { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 90px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.brand-heading { padding-top: clamp(48px, 6.4vh, 76px); text-align: center; }
.brand-heading h1 { margin: 0; font-family: var(--google-sans); font-size: clamp(53px, 6vw, 76px); font-weight: 400; letter-spacing: -.025em; line-height: 1; font-optical-sizing: auto; font-variation-settings: "opsz" 64; }
.wordmark-strong { font-weight: 600; }
.wordmark-light { font-weight: 300; letter-spacing: -.025em; }
.brand-heading p { margin: 9px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.showcase { width: 100%; margin-top: 14px; }
.slides { width: 100%; }
.slide { position: relative; top: -18px; min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 3.6vw, 52px); }
.slide[hidden] { display: none; }
.slide-visual { position: relative; min-width: 0; height: 580px; }
.slide-image { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.slide-image img { position: absolute; inset: 0; display: block; width: min(100%, 600px); height: auto; max-height: 580px; margin: auto; object-fit: contain; opacity: 0; visibility: hidden; transform: translateX(0); }
.slide-image img.is-active { opacity: 1; visibility: visible; }
.slide-image .gallery-transition-ghost { pointer-events: none; }
.gallery-dots { position: absolute; z-index: 2; left: 50%; top: calc(100% + 8px); padding: 6px 9px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; background: #fff; transform: translateX(-50%); }
.gallery-dot { width: 7px; height: 7px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 99px; background: #a9a9a9; cursor: pointer; transition: width .18s ease, background .18s ease; }
.gallery-dot.is-active { width: 18px; background: #171717; }
.gallery-dot:focus-visible { outline: 2px solid #2b2b2b; outline-offset: 3px; }
.slide-description { align-self: center; padding: 0 4px; }
.slide-count { display: none; margin: 0 0 12px; color: #8b8b8b; font-family: var(--google-sans); font-size: 11px; letter-spacing: .1em; }
.slide-count span { color: #aaa; }
.slide-description h2 { width: fit-content; margin: 0 0 17px; padding-bottom: 8px; border-bottom: 2px solid #111; font-size: clamp(25px, 3vw, 33px); font-weight: 500; letter-spacing: .04em; line-height: 1.25; }
.slide-description ul { margin: 0; padding-left: 1.2em; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.8; }
.slide-description li { padding-left: .15em; }
.slide-description li::marker { font-size: .75em; }
.slide-support-image { display: block; width: min(100%, 300px); height: auto; max-height: 119px; margin: 14px 0 0; object-fit: contain; object-position: left center; }
.slide-service-icons { margin: 15px 0 0; display: flex; align-items: center; gap: 22px; }
.slide-service-item { display: flex; align-items: center; gap: 7px; color: #555; font-size: 12px; line-height: 1; }
.slide-service-item img { width: 30px; height: 30px; flex: 0 0 auto; object-fit: contain; }
.plugin-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.slide-navigation { width: min(560px, 88%); margin: 22px auto 0; display: flex; align-items: stretch; justify-content: space-between; gap: 14px; }
.slide-tab { position: relative; min-width: 80px; min-height: 57px; padding: 7px 8px 11px; border: 0; background: transparent; color: #191919; cursor: pointer; font-size: 14px; font-weight: 400; line-height: 1.25; }
.slide-tab::after { position: absolute; content: ""; height: 3px; width: 0; left: 50%; bottom: 0; background: #111; transform: translateX(-50%); transition: width .18s ease; }
.slide-tab.active::after { width: 34px; }
.slide-tab:focus-visible, .topbar-button:focus-visible, .install-button:focus-visible, .modal-close:focus-visible { outline: 2px solid #2b2b2b; outline-offset: 4px; }
.install-cta { padding-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.install-button { min-width: 136px; min-height: 49px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 6px; background: var(--orange); color: #111; font-size: 16px; font-weight: 500; transition: background .16s ease, transform .16s ease; }
.install-button:hover { background: #f39700; transform: translateY(-1px); }
.pico-link { padding: 2px 5px; font-size: 14px; text-underline-offset: 3px; }
.pico-link:hover { text-decoration: underline; }
.site-footer { min-height: 42px; padding: 9px 16px 13px; display: grid; place-items: center; color: #8b8b8b; font-size: 11px; }
.site-footer a { text-decoration: underline; text-underline-offset: 2px; }
/* Feedback modal */
.modal-backdrop { position: fixed; z-index: 10; inset: 0; padding: 20px; display: grid; place-items: center; background: rgba(0,0,0,.43); }
.modal-backdrop[hidden] { display: none; }
.feedback-modal { width: min(390px, 100%); position: relative; padding: 35px 32px 28px; display: flex; flex-direction: column; align-items: center; background: #fff; text-align: center; box-shadow: 0 18px 70px rgba(0,0,0,.18); }
.modal-close { width: 34px; height: 34px; position: absolute; top: 9px; right: 10px; border: 0; background: transparent; cursor: pointer; color: #6c6c6c; font-size: 26px; font-weight: 300; }
.modal-eyebrow { color: #848484; font-family: var(--google-sans); font-size: 9px; letter-spacing: .15em; }
.feedback-modal h2 { margin: 8px 0 7px; font-size: 23px; font-weight: 500; }
.feedback-modal p { max-width: 270px; margin: 0; color: #777; font-size: 12px; line-height: 1.7; }
.community-qr { width: min(230px, 100%); height: auto; aspect-ratio: 1; margin: 22px 0 12px; display: block; object-fit: contain; }
.feedback-modal > small { color: #999; font-size: 10px; }

/* Install page */
.return-link { padding: 8px 0; font-size: 14px; font-weight: 500; }
.install-main { width: min(760px, calc(100% - 42px)); min-height: calc(100vh - 100px); margin: 0 auto; padding: 58px 0 35px; }
.install-heading { text-align: center; }
.install-eyebrow { color: #777; font-family: var(--google-sans); font-size: 10px; letter-spacing: .16em; }
.install-heading h1 { margin: 9px 0 8px; font-family: var(--google-sans); font-size: clamp(40px, 6vw, 56px); font-weight: 500; letter-spacing: -.06em; }
.install-heading p { margin: 0; color: #777; font-size: 13px; line-height: 1.7; }
.compatibility-note { margin: 27px 0 35px; padding: 15px 17px; display: flex; align-items: center; gap: 11px; background: #f6f6f4; }
.note-mark { width: 19px; height: 19px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #999; border-radius: 50%; color: #666; font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.compatibility-note p { margin: 0; color: #555; font-size: 12px; line-height: 1.65; }
.compatibility-note strong { color: #222; font-weight: 600; }
.release-picker { margin: -11px 0 32px; }
.release-picker-heading { margin-bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.release-picker-heading h2 { margin: 0; font-size: 17px; font-weight: 500; }
.release-picker-heading > span { color: #777; font-size: 9px; }
.release-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.release-choice { position: relative; min-height: 91px; padding: 13px 39px 13px 15px; display: flex; align-items: center; border: 1px solid #e1e1e1; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.release-choice:hover { border-color: #aaa; }
.release-choice.selected { border-color: #555; box-shadow: inset 0 0 0 1px #555; background: #fcfcfb; }
.release-choice.beta-choice.selected { border-color: #bd8017; box-shadow: inset 0 0 0 1px #bd8017; background: #fffdf8; }
.release-choice input { position: absolute; top: 15px; right: 15px; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; }
.release-choice:focus-within { outline: 2px solid #333; outline-offset: 3px; }
.release-choice-copy { display: flex; flex-direction: column; gap: 3px; }
.release-name { font-size: 12px; font-weight: 600; }
.release-name small { margin-left: 5px; padding: 2px 4px; background: #f0f0ed; color: #666; font-size: 8px; font-weight: 500; }
.beta-choice .release-name small { background: #f9edda; color: #8b5c12; }
.release-choice-copy strong { font-family: var(--google-sans); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.release-description { color: #777; font-size: 9px; }
.release-choice-mark { position: absolute; top: 15px; right: 15px; width: 17px; height: 17px; border: 1px solid #c6c6c6; border-radius: 50%; }
.release-choice.selected .release-choice-mark { border-color: #333; background: #222; }
.release-choice.selected .release-choice-mark::after { content: ""; position: absolute; top: 4px; left: 4px; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.beta-choice.selected .release-choice-mark { border-color: #b37812; background: #b37812; }
.release-beta-note { margin: 9px 0 0; padding: 9px 11px; border-left: 2px solid #c08a2c; background: #fff9ee; color: #775b2e; font-size: 10px; line-height: 1.65; }
.release-beta-note[hidden] { display: none; }
.install-prep h2, .install-steps h2 { margin: 0 0 12px; font-size: 19px; font-weight: 500; }
.prep-list { border-top: 1px solid var(--line); }
.prep-item { padding: 14px 0; display: grid; grid-template-columns: 48px 1fr; align-items: start; border-bottom: 1px solid var(--line); }
.prep-number { padding-top: 3px; color: #888; font-family: var(--google-sans); font-size: 11px; letter-spacing: .08em; }
.prep-item h3 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.prep-item p { margin: 0; color: #777; font-size: 11px; line-height: 1.7; }
.install-steps { margin-top: 28px; }
.install-steps ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; }
.install-steps li { min-height: 95px; padding: 13px 13px 12px; border: 1px solid #e5e5e5; }
.install-steps li span { width: 20px; height: 20px; display: grid; place-items: center; background: #f0f0ee; color: #555; font-family: var(--google-sans); font-size: 10px; }
.install-steps li p { margin: 9px 0 0; color: #666; font-size: 10px; line-height: 1.65; }
.install-action { margin-top: 23px; padding: 19px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f6f6f4; }
.install-action h2 { margin: 0 0 4px; font-size: 15px; font-weight: 500; }
.install-action p { margin: 0; color: #777; font-size: 10px; line-height: 1.6; }
.install-action .install-button { min-width: 170px; min-height: 43px; font-size: 13px; white-space: nowrap; }
.installer-area { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#flash-status { max-width: 300px; text-align: right; }
#flash-installer[hidden] { display: none; }
.install-footnote { margin: 15px 0 0; color: #888; font-size: 10px; line-height: 1.7; }

@media (max-width: 680px) {
  .topbar { height: 50px; padding: 0 18px; }
  .topbar-title, .topbar-button { font-size: 12px; }
  .topbar-actions { gap: 20px; }
  .return-link { font-size: 12px; }
  .home-main { width: calc(100% - 28px); min-height: calc(100vh - 82px); }
  .brand-heading { padding-top: 38px; }
  .brand-heading h1 { font-size: 54px; }
  .brand-heading p { margin-top: 8px; font-size: 10px; }
  .showcase { margin-top: 13px; }
  .slide { min-height: auto; grid-template-columns: 1fr; gap: 4px; }
  .slide { top: 0; }
  .slide-visual { height: min(100vw, 490px); margin-bottom: 28px; }
  .slide-image { height: 100%; }
  .slide-image img { width: min(100%, 490px); height: auto; max-height: min(100vw, 490px); }
  .gallery-dots { top: calc(100% + 4px); padding: 5px 8px; gap: 6px; }
  .gallery-dot { width: 6px; height: 6px; }
  .gallery-dot.is-active { width: 15px; }
  .slide-description { padding: 0 15px; }
  .slide-service-icons { margin-top: 11px; gap: 17px; }
  .slide-service-item { gap: 6px; font-size: 10px; }
  .slide-service-item img { width: 26px; height: 26px; }
  .slide-support-image { width: min(100%, 280px); max-height: 110px; margin-top: 10px; }
  .slide-count { display: block; }
  .slide-description h2 { margin-bottom: 11px; font-size: 24px; }
  .slide-description ul { font-size: 12px; line-height: 1.8; }
  .slide-navigation { width: 100%; margin-top: 11px; gap: 1px; }
  .slide-tab { min-width: 0; flex: 1; min-height: 55px; padding: 6px 1px 10px; font-size: 9px; line-height: 1.15; }
  .slide-tab.active::after { width: 25px; }
  .install-cta { padding-top: 28px; gap: 7px; }
  .install-button { min-width: 128px; min-height: 44px; font-size: 14px; }
  .pico-link { font-size: 12px; }
  .site-footer { font-size: 9px; }
  .install-main { padding-top: 37px; }
  .install-heading h1 { font-size: 42px; }
  .install-heading p { font-size: 11px; }
  .compatibility-note { margin: 22px 0 28px; padding: 12px; }
  .compatibility-note p { font-size: 10px; }
  .release-picker { margin-top: -6px; margin-bottom: 27px; }
  .release-picker-heading h2 { font-size: 15px; }
  .release-picker-heading > span { max-width: 125px; text-align: right; font-size: 8px; }
  .release-options { grid-template-columns: 1fr; gap: 7px; }
  .release-choice { min-height: 78px; }
  .install-steps ol { grid-template-columns: 1fr; gap: 7px; }
  .install-steps li { min-height: 0; display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 5px; padding: 10px; }
  .install-steps li p { margin: 1px 0 0; }
  .install-action { align-items: stretch; flex-direction: column; }
  .install-action .install-button { align-self: flex-start; }
  .installer-area { align-items: flex-start; }
  #flash-status { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
