/* V2Route Aurora: use the extension's palette, glass surfaces and original wave. */
:root {
  color-scheme: light;
  --ink: #172d58;
  --muted: #344691;
  --line: #c4d5f3;
  --ice: #eef4ff;
  --blue: #185bd1;
  --violet: #6430c9;
  --title-gradient: linear-gradient(105deg, #0867ed, #6430c9);
  --glass: linear-gradient(125deg, #ffffffed, #f9fbffe8 50%, #edf3ffe3);
  --shadow: 0 12px 30px #527bad14, 0 2px 5px #648bcb08;
  font-family: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #eaf1ff; line-height: 1.75; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--violet); }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #3655c7; outline-offset: 5px; border-radius: 4px;
}
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.35; }
h2 { font-size: clamp(1.65rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -.035em; margin: 0 0 1rem; }
h3 { font-size: 1.12rem; letter-spacing: -.015em; margin: 0 0 .65rem; }
.shell { width: min(100% - 64px, 1180px); margin: auto; }
.landing .shell { width: calc(100% - 2 * clamp(24px, 4vw, 112px)); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 16px; padding: 12px 18px; background: white; border: 2px solid var(--blue); transform: translateY(-150%); z-index: 5; }
.skip-link:focus { transform: translateY(0); }
.landing {
  position: relative;
  isolation: isolate;
  background-color: #eaf1ff;
  background-image: radial-gradient(ellipse 620px 470px at 92% 0%, #739dff55, transparent 78%),
    radial-gradient(ellipse 600px 640px at 0% 45%, #fff9, transparent 90%),
    radial-gradient(ellipse 750px 660px at 105% 85%, #a7a7ff55, transparent 82%),
    linear-gradient(140deg, #eaf1ff, #eef4ff 56%, #eaf1ff);
  background-attachment: scroll;
}
.landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: clamp(240px, 18vw, 300px) 0 auto;
  aspect-ratio: 1440 / 320;
  background: url("assets/aurora-wave.svg") no-repeat center bottom / 100% 100%;
  opacity: .65;
  mask-image: linear-gradient(#000 55%, transparent);
}
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.site-header { position: relative; padding: 19px 0; border-bottom-color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; font-size: 1.36rem; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand strong { font-weight: 800; }
.brand>span, .landing h1 span, .landing h2, .feature-card h3 {
  color: #285cce;
  background-image: var(--title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
header nav { display: flex; align-items: center; gap: 25px; font-size: .9rem; flex-wrap: wrap; }
.site-header nav { margin-left: auto; }
header nav a { text-decoration: none; padding: 6px 0; font-weight: 550; }
.source-link { position: relative; }
.source-link > a { display: block; }
.release-badge {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  padding: 1px 7px; border: 1px solid #c4d5f3; border-radius: 1em;
  background: #f4f8ff; color: #3557a2; font-size: .6875rem; line-height: 1.25; font-weight: 600; white-space: nowrap;
}
.language-switch { display: flex; gap: 3px; padding: 4px; flex-shrink: 0; border: 1px solid #bbd0f8; background: #f8fbffe6; border-radius: 12px; box-shadow: 0 3px 8px #4779c90b; }
.language-switch button { border: 0; color: var(--muted); background: transparent; padding: 5px 11px; min-height: 34px; border-radius: 8px; cursor: pointer; font-size: .8rem; font-weight: 650; }
.language-switch button[aria-pressed="true"] { background: linear-gradient(110deg, #265cd2, #6442cb); color: #fff; box-shadow: 0 3px 7px #415fce33; }
.language-switch button:hover:not([aria-pressed="true"]) { background: #e5edff; }
.no-script { padding-top: 16px; font-size: .9rem; }
.hero { position: relative; isolation: isolate; text-align: center; padding: 45px 0 34px; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 2.8vw, 3.95rem); font-weight: 780; line-height: 1.22; letter-spacing: -.045em; margin: 0; }
.hero h1 br { display: none; }
.hero h1 span+br+span { margin-left: .18em; }
.hero-intro { max-width: 770px; margin: 18px auto 0; }
.hero-lede { font-size: 1.04rem; color: var(--muted); line-height: 1.85; margin-bottom: 0; }
.actions { display: flex; align-items: center; gap: 14px 23px; flex-wrap: wrap; margin-top: 22px; }
.hero .actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: linear-gradient(110deg, #265cd2, #6442cb); color: #fff; border: 1px solid #3868d0; padding: 11px 22px; border-radius: 12px; font-size: .91rem; font-weight: 650; text-decoration: none; min-height: 46px; box-shadow: 0 6px 16px #476bd830, inset 0 1px 0 #ffffff38; }
.button:hover { background: linear-gradient(110deg, #1e4fbd, #5735b9); color: #fff; box-shadow: 0 8px 19px #476bd83d; }
.button.subtle { background: var(--glass); color: #344691; border-color: #b9cff6; box-shadow: var(--shadow); }
.button.subtle:hover { background: #e5edff; }
.text-link { display: inline-flex; gap: 12px; align-items: center; max-width: 100%; font-size: .9rem; font-weight: 600; }
.text-link>span:first-child { min-width: 0; }
.platforms { margin: 18px 0 0; font-size: .73rem; color: #465b91; display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.platforms span { color: #6074a1; }
.workspace-preview { position: relative; isolation: isolate; margin: 0; padding: 7px; border: 1px solid #ffffffed; border-radius: 23px; background: linear-gradient(135deg, #ffffffd9, #dae7ffbf 65%, #d5d0ffa6); box-shadow: 0 22px 65px -28px #536ccc66, 0 3px 12px #6586ce15, inset 0 0 0 1px #c2d4f48c; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #304d9b; padding: 12px 16px 16px; font-size: .79rem; font-weight: 600; }
.preview-bar>span:first-child { display: flex; align-items: center; gap: 9px; }
.preview-mark { display: block; width: 26px; height: 26px; object-fit: contain; }
.preview-hint { color: var(--muted); font-size: .75rem; font-weight: 400; }
.screenshot-link { display: block; border: 1px solid #bdcff3; border-radius: 15px; overflow: hidden; background: #eaf2ff; line-height: 0; cursor: zoom-in; }
.screenshot-link img { display: block; width: 100%; aspect-ratio: 8/5; }
.screenshot-link:focus-visible { outline-offset: -5px; }
.image-preview { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; overflow: visible; max-width: none; max-height: none; background: transparent; }
.image-preview::backdrop { background: rgb(12 22 43 / 88%); cursor: zoom-out; }
.image-preview img { display: block; max-width: calc(100vw - 32px); max-height: calc(100dvh - 112px); border-radius: 6px; }
.image-preview button { position: fixed; top: max(8px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #182642; font-size: 1.65rem; line-height: 1; cursor: pointer; }
.image-preview button:focus-visible { outline-color: #fff; outline-offset: 2px; }
html:has(.image-preview[open]) { overflow: hidden; }
.section-block { margin-top: clamp(34px, 4vw, 56px); scroll-margin-top: 28px; overflow-wrap: anywhere; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading>p { color: var(--muted); font-size: .91rem; max-width: 27rem; margin: 0 0 3px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.feature-card { display: grid; grid-template-columns: 47px minmax(0, 1fr); column-gap: 19px; padding: 29px 28px; background: var(--glass); border: 1px solid #ffffffed; border-radius: 23px; box-shadow: var(--shadow), inset 0 0 0 1px #c6d7f766; }
.feature-symbol { grid-column: 1; grid-row: 1/3; display: inline-grid; place-items: center; font-size: 1.55rem; color: #315ee1; width: 47px; height: 47px; border: 1px solid #bdd3ff; background: linear-gradient(130deg, #fff, #edf4ff 60%, #e1e4ff); border-radius: 14px; box-shadow: 0 5px 10px #6b8bd81a; }
.feature-card h3 { grid-column: 2; margin-top: 1px; }
.feature-card p { grid-column: 2; font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.85; }
.architecture { display: grid; grid-template-columns: 1fr 1.05fr; gap: 45px; align-items: center; padding: 38px; border: 1px solid #ffffffed; border-radius: 25px; background: url("assets/aurora-wave.svg") no-repeat right bottom / 100% auto, linear-gradient(125deg, #ffffffc9, #e7f0ffe8); box-shadow: var(--shadow), inset 0 0 0 1px #c7d8f888; }
.architecture-copy h2 { line-height: 1.45; }
.architecture-copy p { font-size: .94rem; color: var(--muted); line-height: 1.9; }
.route-diagram { background: linear-gradient(135deg, #ffffffed, #eef4fff0); color: var(--ink); border: 1px solid #bdd2fa; border-radius: 19px; padding: 24px 27px; box-shadow: 0 8px 24px #486ecb13, inset 0 1px 0 white; }
.diagram-label { font-size: .76rem; color: #425da6; margin-bottom: 22px; }
.route-diagram ol { list-style: none; margin: 0; padding: 0; }
.route-diagram li { display: flex; align-items: center; gap: 16px; position: relative; padding: 0 0 27px; }
.route-diagram li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: 20px; width: 2px; height: 22px; border-radius: 2px; background: linear-gradient(#6a98ef, #b2a7f3); }
.route-diagram li:last-child { padding-bottom: 0; }
.route-number { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, #f7fbff, #dfeaff); border: 1px solid #a9c7fa; border-radius: 12px; color: #344eb2; font-size: .76rem; font-weight: 650; box-shadow: 0 4px 8px #6b8bd815; }
.route-diagram strong { display: block; font-size: 1rem; font-weight: 650; color: #2553bb; }
.route-diagram li div>span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.route-diagram li>div { min-width: 0; overflow-wrap: anywhere; }
.diagram-note { font-size: .75rem; color: #425da6; margin: 22px 0 0; padding-top: 15px; border-top: 1px solid #cbdafa; }
.release-notice { display: flex; gap: 25px; align-items: flex-start; padding: 19px 23px; border: 1px solid #bfd2fb; background: linear-gradient(110deg, #e4eeffe6, #eeedffe6); border-radius: 15px; }
.release-notice strong { font-size: .88rem; min-width: 130px; flex-shrink: 0; color: #3351aa; }
.release-notice p { font-size: .86rem; color: var(--muted); margin: 0; }
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 22px 0 0; }
.install-steps li { padding: 23px; border: 1px solid #ffffffe8; border-radius: 20px; background: var(--glass); box-shadow: var(--shadow), inset 0 0 0 1px #c7d8f866; }
.step-number { display: inline-grid; place-items: center; width: 34px; height: 30px; border: 1px solid #c4d6fc; background: #e9f0ff; border-radius: 8px; font-size: .75rem; font-weight: 650; color: #3d57b4; letter-spacing: .06em; margin-bottom: 15px; }
.install-steps h3 { font-size: 1.08rem; color: #2c51b5; }
.install-steps p { font-size: .87rem; color: var(--muted); margin-bottom: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource-grid a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 19px 23px; border: 1px solid #c5d7fb; border-radius: 15px; background: var(--glass); box-shadow: 0 3px 8px #6a87cc08; text-decoration: none; font-size: .93rem; font-weight: 600; }
.resource-grid a:hover { background: #e5edff; border-color: #92b4f3; }
.support-line { display: flex; gap: 45px; align-items: center; margin-top: 23px; }
.support-line p { font-size: .85rem; color: var(--muted); margin: 0; flex: 1; }
.support-line a { flex-shrink: 0; }
.faq-list { padding: 0 23px; border: 1px solid #ffffffe8; border-radius: 21px; background: var(--glass); box-shadow: var(--shadow), inset 0 0 0 1px #c7d8f866; }
.faq-list details:not(:last-child) { border-bottom: 1px solid #d1def7; }
.faq-list summary { padding: 13px 0; cursor: pointer; font-size: .95rem; font-weight: 600; color: #2f4ba0; }
.faq-list details[open] summary { color: #5c3bb7; }
.faq-list p { max-width: 78ch; color: var(--muted); font-size: .87rem; margin: 0 0 16px; line-height: 1.9; }
.faq-list details>a { display: inline-block; margin-bottom: 20px; font-size: .87rem; }
footer { margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid #c3d3f1; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.site-footer { align-items: center; margin-top: clamp(28px, 3vw, 42px); padding: 15px 0; gap: 8px 24px; }
.site-footer .brand { font-size: 1.08rem; }
.site-footer .brand img { width: 36px; height: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 3px 20px; align-items: center; }
.footer-links a { display: inline-flex; align-items: center; min-height: 28px; }
.hero>*, .architecture>*, .resource-grid>* { min-width: 0; }
/* Full privacy content retains a simple, readable document layout. */
body:not(.landing) .hero { text-align: left; max-width: 880px; padding: 48px 0 28px; }
body:not(.landing) .hero h1 { font-size: clamp(2.3rem, 2rem + 1vw, 3.5rem); margin: 20px 0; }
body:not(.landing) .hero p { color: var(--muted); font-size: 1.1rem; }
.tag { display: inline-block; border: 1px solid var(--line); background: var(--ice); padding: 5px 12px; border-radius: 25px; color: var(--muted); font-size: .76rem; }
.zh { display: block; margin-top: 8px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; }
.policy { padding: 35px 38px; }
.content { max-width: 920px; }
.content h1 { font-size: 1.6rem; }
.content h2 { font-size: 1.3rem; margin-top: 30px; }
.content p, .content li { font-size: .94rem; }
.content p { line-height: 1.9; }
code { font-family: Consolas, monospace; font-size: .9em; background: #eaf0f4; padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 1050px) {
  .site-header { gap: 15px; }
  .site-header nav { gap: 17px; }
  .brand { font-size: 1.18rem; }
  .brand img { width: 49px; height: 49px; }
  .hero h1 { font-size: clamp(2.45rem, 1.4rem + 2.8vw, 3.5rem); }
  .architecture { padding: 30px; gap: 30px; }
  .architecture-copy h2 { font-size: 1.9rem; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .landing .shell { width: calc(100% - 40px); }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 0; }
  .site-header nav { grid-row: 2; grid-column: 1/-1; margin: 0; justify-content: space-between; gap: 12px; }
  .release-badge { top: 100%; left: auto; right: 0; transform: none; padding-block: 0; line-height: 1.15; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .hero { padding: 35px 10px 28px; }
  .hero h1 { font-size: 2.65rem; }
  .hero h1 br { display: block; }
  .hero h1 span+br+span { margin-left: 0; }
  .hero-lede { font-size: 1rem; }
  .feature-card { padding: 24px; column-gap: 14px; }
  .feature-card h3 { font-size: 1.04rem; }
  .feature-card p { font-size: .87rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .architecture { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .install-steps { gap: 13px; }
  .install-steps li { padding: 20px; }
  .install-steps h3 { font-size: 1rem; }
  .release-notice { display: block; }
  .release-notice p { margin-top: 7px; }
  .support-line { gap: 20px; }
  body:not(.landing) header { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .landing .shell { width: calc(100% - 32px); }
  .hero { padding: 29px 0 25px; }
  .hero h1 { font-size: clamp(2.15rem, 1.3rem + 3.5vw, 2.65rem); }
  .hero-intro { margin-top: 17px; }
  .hero-lede { font-size: .96rem; line-height: 1.9; }
  .actions { gap: 13px 18px; margin-top: 20px; }
  .hero .actions .button { flex: 0 0 100%; }
  .platforms { font-size: .67rem; gap: 6px; margin-top: 17px; }
  .workspace-preview { padding: 5px; border-radius: 18px; }
  .preview-bar { padding: 8px 9px 11px; font-size: .73rem; }
  .preview-mark { width: 23px; height: 23px; }
  .screenshot-link { border-radius: 10px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature-card { padding: 24px 21px; column-gap: 15px; }
  .feature-card h3 { font-size: 1.07rem; }
  .feature-card p { font-size: .88rem; }
  .architecture { padding: 25px 20px; }
  .architecture-copy h2 { font-size: 1.75rem; }
  .route-diagram { padding: 22px 19px; }
  .install-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .install-steps li { padding: 23px; }
  .step-number { margin-bottom: 12px; }
  .resource-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .support-line { display: block; }
  .support-line a { margin-top: 13px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading>p { font-size: .87rem; }
  .release-notice { padding: 18px 20px; }
  .faq-list { padding: 0 19px; }
  .faq-list summary { font-size: .92rem; }
  .footer-links { gap: 2px 16px; }
  body:not(.landing) header { gap: 15px; }
  .policy { padding: 23px 20px; }
  .content p { overflow-wrap: anywhere; }
  footer { margin-top: 48px; }
}
@media (max-width: 360px) {
  .site-header { grid-template-columns: minmax(0, 1fr); }
  .site-header .language-switch { grid-column: 1; grid-row: 2; justify-self: start; }
  .site-header nav { grid-row: 3; justify-content: flex-start; }
  .source-link { margin-inline-start: auto; }
  .site-header .brand { white-space: normal; }
  .site-footer .brand { white-space: normal; }
  .hero h1 { overflow-wrap: anywhere; }
  .feature-card { grid-template-columns: minmax(0, 1fr); }
  .feature-symbol { grid-column: 1; grid-row: 1; margin-bottom: 17px; }
  .feature-card h3, .feature-card p { grid-column: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .resource-grid a, .language-switch button { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
}
@media (forced-colors: active) {
  .brand>span, .landing h1 span, .landing h2, .feature-card h3 { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .route-number, .language-switch button[aria-pressed="true"] { border: 2px solid CanvasText; }
  .screenshot-link:focus-visible { outline-offset: 3px; }
}
