@charset "UTF-8";
:root {
  --bg: #f7f8f2;
  --surface: #fffef9;
  --surface-low: #eef0e8;
  --ink: #252c26;
  --muted: #626b61;
  --line: #dce1d6;
  --accent: #41644a;
  --accent-soft: #e0eada;
  --accent-ink: #24402a;
  --on-accent: #fff;
  --shadow: 0 24px 70px -35px #23332838;
  --serif: Georgia,"Noto Serif SC","Songti SC",SimSun,serif;
  --sans: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
:root[data-color=indigo] {
  --accent: #4b5c97;
  --accent-soft: #e3e8f7;
  --accent-ink: #344371;
}
:root[data-color=clay] {
  --accent: #98543d;
  --accent-soft: #f3e3da;
  --accent-ink: #753f2b;
}
:root[data-color=violet] {
  --accent: #74558b;
  --accent-soft: #eee3f4;
  --accent-ink: #5b3d70;
}
:root[data-theme=dark] {
  --bg: #171b18;
  --surface: #202622;
  --surface-low: #292f29;
  --ink: #e9eee5;
  --muted: #afb9ac;
  --line: #3b443c;
  --accent: #b0ceab;
  --accent-soft: #304433;
  --accent-ink: #c5dfbf;
  --on-accent: #1d3421;
  --shadow: 0 24px 70px -35px #0009;
  color-scheme: dark;
}
:root[data-theme=dark][data-color=indigo] {
  --accent: #b8c6ff;
  --accent-soft: #303b57;
  --accent-ink: #d1daff;
  --on-accent: #253054;
}
:root[data-theme=dark][data-color=clay] {
  --accent: #efb49b;
  --accent-soft: #513a30;
  --accent-ink: #f3c5b2;
  --on-accent: #44291e;
}
:root[data-theme=dark][data-color=violet] {
  --accent: #d5b6ed;
  --accent-soft: #45334f;
  --accent-ink: #e5cef7;
  --on-accent: #3c2848;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body,nav,button,.feature-card,.device,.assistant-pane,.article-paragraph,.answer-block {
  transition: background-color .28s,color .28s,border-color .28s;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
p,h1,h2,h3,h4 {
  margin: 0;
}
button svg {
  pointer-events: none;
}
[hidden] {
  display: none!important;
}
::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.section-width {
  max-width: 1184px;
  margin-inline: auto;
  width: calc(100% - 96px);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 99;
  background: var(--surface);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 20;
  padding-top: 16px;
  margin-top: -16px;
}
.nav {
  position: relative;
  max-width: 1280px;
  width: calc(100% - 48px);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 13px 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb,var(--surface) 84%,transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 5px 22px #15291c04;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.6px;
}
.brand img {
  object-fit: contain;
}
.brand-cn {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: .1em;
  margin-left: 10px;
}
.menu-button.icon-button {
  display: none;
}
.nav-links {
  display: flex;
  gap: 27px;
  margin: auto;
  font-size: 14px;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 11px;
}
.color-picker {
  display: flex;
  gap: 3px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
.swatch {
  width: 26px;
  height: 30px;
  position: relative;
  border-radius: 50%;
}
.swatch:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: 6px;
  top: 8px;
  background: var(--swatch);
  transition: transform .2s;
}
.swatch:hover:before {
  transform: scale(1.2);
}
.swatch[aria-pressed=true]:after {
  content: "";
  position: absolute;
  inset: 4px 2px;
  border: 1px solid var(--swatch);
  border-radius: 50%;
}
.sage {
  --swatch: #73956c;
}
.indigo {
  --swatch: #7482b1;
}
.clay {
  --swatch: #bd8065;
}
.violet {
  --swatch: #a084b9;
}
.language-button {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 5px;
  min-width: 32px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--accent-soft);
}
.hero {
  padding: 64px 0 45px;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 65px;
  align-items: end;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 25px;
}
.tiny-book {
  color: var(--accent);
}
.tiny-book .icon {
  width: 18px;
  height: 18px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(44px,5.3vw,72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.3;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-intro {
  padding-bottom: 5px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 450px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  transition: transform .2s,background-color .25s,box-shadow .2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button .icon {
  width: 19px;
  height: 19px;
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.primary:hover {
  background: color-mix(in srgb,var(--accent) 90%,var(--ink));
  color: var(--on-accent);
  box-shadow: 0 5px 18px color-mix(in srgb,var(--accent) 15%,transparent);
}
.secondary {
  border-color: var(--line);
  background: var(--surface);
}
.secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.meta-divider {
  height: 10px;
  width: 1px;
  background: var(--line);
}
.hero-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.source-link {
  margin-left: 3px;
}
.desktop-link {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
}
.desktop-link .icon {
  width: 16px;
  height: 16px;
}
.experience {
  scroll-margin-top: 12px;
}
.experience-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.experience-heading h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .02em;
}
.segmented {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 50px;
  gap: 2px;
  background: var(--surface-low);
}
.segmented button {
  font-size: 12px;
  border-radius: 30px;
  padding: 7px 14px;
  line-height: 1.5;
  white-space: nowrap;
}
.segmented button[aria-pressed=true] {
  background: var(--surface);
  box-shadow: 0 1px 5px #0000000b;
  color: var(--accent-ink);
}
#demo-stage {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb,var(--accent) 18%,var(--line));
  border-radius: 24px;
  padding: 17px 22px 0;
  transition: background-color .3s;
}
.sandbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 16px;
}
.sandbox-label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-weight: 550;
}
.sandbox-label .icon {
  width: 17px;
  height: 17px;
}
.sandbox-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}
.translation-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}
.switch-track {
  display: inline-flex;
  position: relative;
  width: 31px;
  height: 19px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb,var(--accent) 40%,var(--line));
  background: var(--surface);
  transition: background .25s;
  flex-shrink: 0;
}
.switch-track:after {
  content: "";
  position: absolute;
  height: 11px;
  width: 11px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s,background .2s;
}
[aria-checked=true] .switch-track {
  background: var(--accent);
  border-color: var(--accent);
}
[aria-checked=true] .switch-track:after {
  background: var(--on-accent);
  transform: translateX(12px);
}
.view-toggle {
  display: flex;
  gap: 7px;
  align-items: center;
  border-left: 1px solid color-mix(in srgb,var(--accent) 25%,transparent);
  padding: 5px 0 5px 17px;
}
.view-toggle .icon {
  width: 17px;
  height: 17px;
}
.device {
  background: var(--surface);
  border: 1px solid color-mix(in srgb,var(--accent) 22%,var(--line));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: auto;
  max-width: 100%;
  width: 100%;
  container-type: inline-size;
}
.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 21px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.device-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
}
.device-top-title {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}
.device-dots {
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--muted);
}
.reading-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 380px;
}
.reader-pane,.assistant-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.assistant-pane {
  background: color-mix(in srgb,var(--accent-soft) 30%,var(--surface));
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.pane-heading {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 1px solid color-mix(in srgb,var(--line) 60%,transparent);
  min-height: 48px;
}
.pane-heading>span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pane-heading .icon {
  width: 15px;
  height: 15px;
}
.sample-label {
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
  letter-spacing: 0;
}
.pane-scroll {
  height: 333px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-behavior: smooth;
}
.article-scroll {
  padding: 22px 40px 30px 36px;
}
.article-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .12em;
  font-family: var(--sans);
  margin-bottom: 13px;
}
.article-title {
  font-family: var(--serif);
  font-size: 33px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.03em;
  margin-bottom: 13px;
}
.article-deck {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 20px;
}
.article-paragraph {
  font: 16px/1.85 var(--serif);
  position: relative;
  border-radius: 5px;
  margin: 0 -8px 13px;
  padding: 5px 8px;
  scroll-margin: 20px;
  border: 1px solid transparent;
}
.article-paragraph.cited {
  padding-right: 30px;
}
.article-paragraph.is-highlighted,.answer-block.is-highlighted {
  background: var(--accent-soft);
  border-color: color-mix(in srgb,var(--accent) 35%,var(--line));
  box-shadow: inset 3px 0 var(--accent);
}
.citation {
  min-width: 28px;
  min-height: 28px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 5px;
  font: 600 12px/1.6 var(--sans);
  border: 1px solid color-mix(in srgb,var(--accent) 18%,transparent);
  transition: background .2s,transform .2s;
  vertical-align: baseline;
}
.citation:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--on-accent);
}
.source-marker {
  position: absolute;
  right: 0;
  top: 8px;
  font-size: 12px;
  padding: 2px 3px;
}
.translation {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .3s,opacity .3s;
}
.translation>p {
  overflow: hidden;
  font: 13px/1.9 var(--sans);
  color: var(--accent);
  margin: 0;
}
.translations-on .translation {
  grid-template-rows: 1fr;
  opacity: 1;
}
.translations-on .translation>p {
  padding-top: 9px;
}
.article-end {
  font: italic 16px var(--serif);
  color: var(--accent);
  padding: 15px 0;
}
.assistant-scroll {
  padding: 20px 24px;
  height: 289px;
  flex: 1;
}
.question {
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 11px 15px;
  margin-left: 45px;
  border-radius: 13px 13px 3px 13px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.answer-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 13px;
}
.assistant-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.assistant-avatar .icon {
  width: 16px;
  height: 16px;
}
.answer-block {
  font-size: 14px;
  line-height: 1.9;
  padding: 8px 11px;
  margin: 0 -11px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  scroll-margin: 18px;
}
.answer-block h4 {
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}
.answer-block p {
  color: var(--muted);
}
.answer-footnote {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 12px;
}
.assistant-bottom {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  height: 44px;
}
.assistant-bottom .icon {
  width: 12px;
  height: 12px;
}
.assistant-bottom>span:last-child {
  margin-left: auto;
  font-size: 12px;
}
.sandbox-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 13px 4px;
  color: var(--accent-ink);
  font-size: 12px;
  min-height: 48px;
}
.demo-disclaimer {
  font-size: 12px;
  white-space: nowrap;
  opacity: .8;
}
.mobile-panel-tabs {
  display: none;
}
.device.phone-mode {
  width: 420px;
}
.phone-mode .device-top-title {
  display: none;
}
.phone-mode .reading-layout {
  display: block;
  height: auto;
}
.phone-mode .reader-pane,.phone-mode .assistant-pane {
  height: 425px;
}
.phone-mode .mobile-panel-tabs {
  display: flex;
  width: max-content;
  margin: 12px auto;
}
.phone-mode .reading-layout[data-panel=article] .assistant-pane,.phone-mode .reading-layout[data-panel=assistant] .reader-pane {
  display: none;
}
.phone-mode .pane-scroll {
  height: 333px;
}
.phone-mode .assistant-pane {
  border-left: 0;
}
.hero-photo {
  min-height: 498px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding: 30px 65px;
}
.hero-photo .photo-button {
  height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-photo img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.photo-button {
  padding: 0;
  cursor: zoom-in;
}
.photo-kicker {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent);
}
.hero-photo h3 {
  font: 400 30px/1.5 var(--serif);
  margin: 15px 0;
}
.hero-photo p {
  color: var(--muted);
  font-size: 15px;
}
.text-button {
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 0 0 3px;
  margin-top: 25px;
}
.hero-photo.is-tablet {
  grid-template-columns: 1.8fr 1fr;
  padding-inline: 30px;
  gap: 35px;
}
.hero-photo.is-tablet .photo-button {
  height: auto;
}
.hero-photo.is-tablet img {
  border: 7px solid var(--ink);
  border-radius: 18px;
}
.features {
  padding-top: 110px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
  gap: 30px;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 500;
}
.section-heading h2,.download h2 {
  font: 400 42px/1.4 var(--serif);
  letter-spacing: -.03em;
}
.section-heading>p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 6px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  min-width: 0;
  overflow: hidden;
}
.feature-card h3 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 550;
  letter-spacing: -.03em;
  margin: 17px 0 11px;
}
.feature-card>p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.feature-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.feature-icon .icon {
  width: 21px;
  height: 21px;
}
.discovery-card {
  grid-column: span 3;
}
.ai-card {
  grid-column: span 3;
  background: color-mix(in srgb,var(--accent-soft) 34%,var(--surface));
}
.translation-card,.adaptive-card {
  grid-column: span 3;
}
.privacy-card {
  grid-column: span 3;
}
.notes-card {
  grid-column: span 3;
}
.discovery-demo {
  margin: 22px 0 0;
}
.source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 13px;
}
.source-tabs button {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 9px;
}
.source-tabs button[aria-pressed=true] {
  background: var(--accent-soft);
  border-color: color-mix(in srgb,var(--accent) 25%,var(--line));
  color: var(--accent-ink);
}
.demo-url {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  background: var(--surface-low);
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 9px;
  margin-bottom: 12px;
}
.demo-url .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.demo-url code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.demo-url>span {
  font-size: 12px;
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}
.probe-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.probe-steps li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  min-height: 27px;
  transition: background .25s,color .25s;
}
.probe-steps li:before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  margin-right: 9px;
}
.probe-steps li>span:first-child {
  margin-right: auto;
}
.probe-steps li.is-active {
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.probe-steps li.is-active:before {
  background: var(--accent);
  border-color: var(--accent);
}
.probe-steps li.is-done {
  color: var(--accent);
}
.step-state {
  font-size: 12px;
}
.discovery-result {
  margin-top: 11px;
  min-height: 91px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  background: var(--surface-low);
}
.result-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent-ink);
}
.result-title>span {
  font-size: 12px;
  font-weight: 400;
}
.result-article {
  font-size: 12px;
  color: var(--muted);
  padding-top: 6px;
}
.feature-card p.card-note {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}
.ai-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.ai-visual {
  margin: 26px 0 0;
  padding: 25px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  min-height: 296px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}
.reading-line {
  height: 4px;
  background: var(--line);
  width: 58%;
  border-radius: 5px;
  margin: 4px auto;
}
.reading-line.long {
  width: 75%;
}
.reading-line.short {
  width: 38%;
}
.ai-state-icon {
  display: grid;
  place-items: center;
  height: 51px;
  width: 51px;
  border-radius: 17px;
  margin: 20px auto 12px;
  background: var(--surface-low);
  color: var(--accent);
  transition: background .25s,transform .25s;
}
.ai-state-icon .icon {
  width: 26px;
  height: 26px;
}
.ai-visual.enabled .ai-state-icon {
  background: var(--accent-soft);
  transform: rotate(-5deg);
}
.ai-visual h4 {
  font: 400 23px var(--serif);
  margin-bottom: 12px;
}
.ai-visual>p {
  font-size: 13px;
  color: var(--muted);
  max-width: 330px;
  line-height: 1.8;
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
}
.ai-chips span {
  padding: 3px 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 7px;
  font-size: 12px;
}
.translation-card {
  grid-column: span 2;
}
.adaptive-card {
  grid-column: span 2;
}
.notes-card {
  grid-column: span 2;
}
.privacy-card {
  grid-column: span 6;
  display: grid;
  grid-template-columns: auto 1fr 1.1fr;
  column-gap: 24px;
  align-items: start;
  order: 1;
}
.privacy-card .feature-icon {
  grid-row: span 2;
}
.privacy-card h3 {
  margin: 2px 0 10px;
}
.privacy-card>p:not(.card-note) {
  grid-column: 2;
  max-width: 520px;
}
.privacy-note {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-low);
  border-radius: 12px;
  padding: 18px;
  font-size: 13px;
  color: var(--accent-ink);
  align-self: center;
}
.privacy-card p.card-note {
  grid-column: 2 / span 2;
  margin-top: 14px;
}
.translation-sample {
  margin-top: 27px;
  padding: 19px 0 6px;
}
.translation-sample p:first-child {
  font: 400 23px/1.5 var(--serif);
  color: var(--ink);
}
.translation-sample>div {
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin: 18px 0;
}
.translation-sample p:last-child {
  font-size: 12px;
  color: var(--accent);
}
.adaptive-visual {
  margin: 35px -5px 8px;
  position: relative;
  height: 112px;
}
.mini-tablet {
  display: flex;
  gap: 8px;
  padding: 12px;
  width: 215px;
  height: 130px;
  border: 3px solid var(--ink);
  border-radius: 13px;
  background: var(--surface-low);
  transform: rotate(-5deg);
}
.mini-sidebar {
  width: 28px;
  background: var(--accent-soft);
  border-radius: 5px;
}
.mini-article {
  flex: 1;
  padding-top: 12px;
}
.mini-article i,.mini-ai i,.mini-phone i {
  height: 4px;
  border-radius: 3px;
  background: var(--line);
  display: block;
  margin-bottom: 8px;
  width: 100%;
}
.mini-article i:first-child {
  background: var(--accent);
  width: 70%;
  height: 6px;
  margin-bottom: 14px;
}
.mini-ai {
  width: 53px;
  background: var(--accent-soft);
  padding: 8px;
  border-radius: 5px;
}
.mini-ai .icon {
  width: 15px;
  height: 15px;
  margin-bottom: 9px;
  color: var(--accent);
}
.mini-ai i {
  background: color-mix(in srgb,var(--accent) 20%,var(--accent-soft));
}
.mini-phone {
  position: absolute;
  width: 58px;
  height: 104px;
  border: 3px solid var(--ink);
  background: var(--surface);
  border-radius: 11px;
  right: 0;
  bottom: -24px;
  transform: rotate(8deg);
  padding: 20px 8px;
}
.mini-phone i:first-child {
  background: var(--accent);
  height: 6px;
}
.note-paper {
  padding: 19px 16px;
  margin-top: 27px;
  background: var(--surface-low);
  border: 1px solid var(--line);
  border-radius: 4px 13px 13px 13px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 16px #00000003;
}
.note-paper>span:first-child {
  font-size: 12px;
  font-weight: 600;
}
.note-quote {
  margin: 13px 0;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
  font: 14px/1.8 var(--serif);
  color: var(--muted);
}
.note-source {
  font: 12px var(--sans);
  color: var(--accent);
}
.screenshots {
  padding-top: 110px;
}
.gallery {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-low);
  padding: 40px;
  align-items: center;
}
.gallery-tabs {
  display: grid;
  gap: 6px;
}
.gallery-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-align: left;
}
.gallery-tabs button .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.gallery-tabs button[aria-pressed=true] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--accent-ink);
}
.gallery-tabs button[aria-pressed=true] .icon {
  color: var(--accent);
}
#gallery-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 24px 17px 0;
  min-height: 54px;
}
.gallery-hint {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin: 20px 17px 0;
}
.gallery-stage {
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-width: 0;
}
.gallery-stage img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px #17271b15);
  transition: opacity .2s,transform .3s;
}
.gallery-stage:hover img {
  transform: translateY(-4px);
}
.gallery-stage.is-tablet img {
  border: 7px solid var(--ink);
  border-radius: 19px;
  max-height: 100%;
  width: 100%;
  height: auto;
}
.zoom-caption {
  position: absolute;
  bottom: 15px;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--muted);
}
.download {
  padding-top: 110px;
}
.download-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}
.download-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  border-radius: 27px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.download .section-kicker {
  margin-bottom: 9px;
}
.download h2 {
  font-size: 36px;
}
.release-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 18px;
}
.release-bar strong {
  font-size: 13px;
  color: var(--accent);
  font-weight: 550;
  margin-left: 8px;
}
.release-bar a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.release-status {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr .88fr;
  gap: 17px;
  margin-top: 22px;
}
.package-card,.desktop-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  background: var(--surface);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.package-card.recommended {
  border-color: color-mix(in srgb,var(--accent) 45%,var(--line));
  background: color-mix(in srgb,var(--accent-soft) 35%,var(--surface));
}
.package-label {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .08em;
}
.package-card h3 {
  font: 400 30px var(--serif);
  margin: 17px 0 15px;
}
.edition-x {
  color: var(--accent);
}
.package-card p,.desktop-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 21px;
  min-height: 50px;
}
.package-card code {
  font-size: 12px;
  overflow-wrap: anywhere;
  color: var(--muted);
  margin-bottom: 21px;
}
.package-card .button,.desktop-card .button {
  width: 100%;
  margin-top: auto;
  font-size: 13px;
}
.package-id {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  align-self: center;
}
.desktop-card {
  background: var(--surface-low);
  justify-content: space-between;
}
.desktop-card>.icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 20px;
}
.desktop-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 13px;
}
.desktop-card>span {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.desktop-card p {
  font-size: 15px;
  min-height: auto;
  margin-bottom: 20px;
}
.edition-note {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}
.footer {
  margin-top: 90px;
  padding: 33px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-top .brand {
  font-size: 17px;
}
.footer-top>p {
  font: italic 15px var(--serif);
  color: var(--muted);
}
.footer-top>div {
  display: flex;
  gap: 24px;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lightbox {
  width: min(1150px,95vw);
  max-width: 95vw;
  max-height: 95dvh;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.lightbox::backdrop {
  background: #101710b8;
  backdrop-filter: blur(8px);
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.lightbox-image-wrap {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(90dvh - 130px);
  min-height: 150px;
}
.lightbox-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}
.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px 15px;
}
.lightbox-bottom>span {
  font-size: 12px;
  color: var(--muted);
}
.lightbox-bottom .button {
  font-size: 12px;
  min-height: 35px;
  padding: 7px 13px;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  font-size: 13px;
}
html[lang=en] h1 {
  font-size: clamp(40px,4.5vw,62px);
  line-height: 1.13;
  letter-spacing: -.045em;
}
html[lang=en] h1 em {
  font-style: italic;
}
html[lang=en] .hero-description {
  font-size: 16px;
  line-height: 1.8;
}
html[lang=en] .hero {
  gap: 50px;
}
html[lang=en] .feature-card h3 {
  font-size: 21px;
}
html[lang=en] .hero-heading h1 br {
  display: none;
}
html[lang=en] .hero-heading h1 span {
  display: block;
  margin-bottom: 5px;
}
html[lang=en] .section-heading h2 {
  line-height: 1.15;
}
html[lang=en] .hero-kicker {
  letter-spacing: .02em;
}
@container (max-width:600px) {
  .reading-layout {
    display: block;
    height: auto;
  }
  .reader-pane,.assistant-pane {
    height: 425px;
  }
  .mobile-panel-tabs {
    display: flex;
    width: max-content;
    margin: 12px auto;
  }
  .reading-layout[data-panel=article] .assistant-pane,.reading-layout[data-panel=assistant] .reader-pane {
    display: none;
  }
  .assistant-pane {
    border-left: 0;
  }
  .pane-scroll {
    height: 333px;
  }
  .device-top-title {
    display: none;
  }
}
@media(min-width:1500px) {
  .hero {
    padding-top: 100px;
  }
}
@media(max-width:1100px) {
  .nav {
    gap: 20px;
    padding-inline: 18px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-tools {
    gap: 5px;
  }
  .brand-cn {
    display: none;
  }
  .section-width {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 35px;
    padding-top: 65px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    padding-inline: 15px;
  }
  .article-scroll {
    padding-inline: 25px;
  }
  .assistant-scroll {
    padding-inline: 20px;
  }
  .feature-card {
    padding: 23px;
  }
  .feature-card h3 {
    font-size: 19px;
  }
  .gallery {
    grid-template-columns: 280px 1fr;
    padding: 30px;
    gap: 25px;
  }
  .gallery-stage {
    height: 445px;
  }
  .source-tabs button {
    font-size: 12px;
    padding-inline: 8px;
  }
  .download-cards {
    gap: 12px;
  }
  .package-card,.desktop-card {
    padding: 22px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top>p {
    margin-left: auto;
  }
  .footer-top>div {
    width: 100%;
    justify-content: end;
  }
  .privacy-card {
    grid-template-columns: auto 1fr 1fr;
  }
  .adaptive-visual {
    transform: scale(.85);
    transform-origin: left center;
  }
  .hero-intro .desktop-link {
    font-size: 12px;
  }
  html[lang=en] .nav-links {
    gap: 16px;
  }
}
@media(max-width:820px) {
  .nav-links {
    display: none;
  }
  .menu-button.icon-button {
    display: inline-flex;
  }
  .github-nav {
    display: none;
  }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    justify-content: space-around;
    gap: 8px;
    padding: 17px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .nav-tools {
    margin-left: auto;
    gap: 10px;
  }
  .nav {
    width: calc(100% - 32px);
    border-radius: 18px;
  }
  .brand-cn {
    display: inline;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 63px 0 43px;
  }
  .hero-intro {
    max-width: 580px;
  }
  .hero-heading h1 {
    font-size: 62px;
    line-height: 1.2;
  }
  .hero-heading h1 br {
    display: none;
  }
  .hero-heading h1 em {
    display: block;
  }
  .hero-kicker {
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-description br {
    display: none;
  }
  .hero-meta {
    font-size: 12px;
  }
  .hero-intro .desktop-link {
    font-size: 12px;
    margin-top: 17px;
  }
  .experience-heading {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .hero-tabs {
    width: auto;
  }
  .sandbox-controls {
    gap: 10px;
  }
  .sandbox-label {
    font-size: 12px;
  }
  .sandbox-toolbar {
    flex-wrap: wrap;
  }
  .sandbox-controls {
    margin-left: auto;
  }
  .sandbox-footer {
    flex-direction: column;
    align-items: start;
    gap: 5px;
    font-size: 12px;
  }
  .demo-disclaimer {
    font-size: 12px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .features,.screenshots,.download {
    padding-top: 80px;
  }
  .feature-card {
    padding: 25px;
  }
  .translation-card,.adaptive-card,.notes-card {
    grid-column: span 3;
  }
  .privacy-card {
    grid-column: span 3;
    display: block;
    order: 0;
  }
  .privacy-card h3 {
    margin-top: 17px;
  }
  .privacy-note {
    margin-top: 20px;
    padding: 14px;
    font-size: 12px;
  }
  .privacy-note .icon {
    width: 18px;
    height: 18px;
  }
  .feature-card>p {
    font-size: 13px;
  }
  .discovery-card,.ai-card {
    grid-column: span 6;
  }
  .ai-visual {
    min-height: 270px;
  }
  .source-tabs button {
    font-size: 12px;
  }
  .feature-card p.card-note {
    font-size: 12px;
  }
  .gallery {
    grid-template-columns: 230px 1fr;
    padding: 25px;
    gap: 20px;
  }
  .gallery-stage {
    height: 390px;
  }
  .gallery-tabs button {
    padding: 13px 12px;
    font-size: 13px;
  }
  #gallery-description {
    font-size: 12px;
    margin-left: 12px;
  }
  .gallery-stage.is-tablet img {
    border-width: 4px;
    border-radius: 12px;
  }
  .download-cards {
    grid-template-columns: 1fr 1fr;
  }
  .desktop-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 20px;
  }
  .desktop-card>.icon {
    grid-row: span 2;
    margin: 0;
  }
  .desktop-card h3 {
    margin: 0 0 5px;
  }
  .desktop-card p {
    margin: 0;
    font-size: 13px;
  }
  .desktop-card p br {
    display: none;
  }
  .desktop-card>span {
    grid-column: 2;
    margin: 6px 0 0;
  }
  .desktop-card .button {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: auto;
  }
  .download h2 {
    font-size: 31px;
  }
  .download-mark {
    width: 75px;
    height: 75px;
    border-radius: 22px;
  }
  .download-mark img {
    width: 50px;
  }
  .hero-photo {
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    gap: 30px;
  }
  .hero-photo h3 {
    font-size: 25px;
  }
  .hero-photo.is-tablet {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }
  .hero-photo.is-tablet>div {
    padding: 0 8px 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  html[lang=en] .hero-heading h1 {
    font-size: 62px;
    max-width: 620px;
  }
  html[lang=en] .hero-heading h1 em {
    display: block;
    max-width: 580px;
  }
  html[lang=en] .hero {
    gap: 30px;
  }
}
@media(max-width:540px) {
  :root {
    scroll-padding-top: 100px;
  }
  .section-width {
    width: calc(100% - 36px);
  }
  .nav-wrap {
    top: 10px;
    padding-top: 10px;
    margin-top: -10px;
  }
  .nav {
    width: calc(100% - 20px);
    padding: 10px 12px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
    gap: 7px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .brand-cn {
    display: none;
  }
  .nav-tools {
    gap: 2px;
  }
  .color-picker {
    gap: 0;
    padding-right: 4px;
  }
  .swatch {
    width: 21px;
  }
  .swatch:before {
    left: 5px;
    width: 13px;
    height: 13px;
  }
  .swatch[aria-pressed=true]:after {
    inset: 5px 1px;
  }
  .language-button {
    font-size: 12px;
    min-width: 25px;
  }
  .icon-button {
    width: 30px;
    height: 32px;
  }
  .icon-button .icon {
    width: 18px;
    height: 18px;
  }
  .github-nav {
    display: none;
  }
  .hero {
    padding-top: 45px;
    padding-bottom: 35px;
    gap: 23px;
  }
  .hero-kicker {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .hero-heading h1 {
    font-size: 47px;
    line-height: 1.3;
    letter-spacing: -.05em;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.95;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 11px 15px;
  }
  .hero-meta {
    gap: 9px;
    font-size: 12px;
  }
  .hero-intro .desktop-link {
    font-size: 12px;
  }
  .experience-heading h2 {
    font-size: 16px;
  }
  .hero-tabs {
    padding: 3px;
  }
  .hero-tabs button {
    font-size: 12px;
    padding: 7px 12px;
  }
  #demo-stage {
    padding: 13px 10px 0;
    border-radius: 19px;
  }
  .sandbox-toolbar {
    padding: 0 3px 12px;
    gap: 10px;
  }
  .sandbox-label {
    width: 100%;
    font-size: 12px;
  }
  .sandbox-controls {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    font-size: 12px;
    gap: 6px;
  }
  .translation-toggle {
    gap: 7px;
  }
  .view-toggle {
    padding-left: 12px;
  }
  .device {
    border-radius: 12px;
  }
  .device-top {
    padding: 11px 16px;
  }
  .pane-heading {
    padding: 12px 17px;
    font-size: 12px;
    min-height: 43px;
  }
  .article-scroll {
    padding: 20px 22px;
  }
  .article-title {
    font-size: 30px;
  }
  .article-deck {
    font-size: 12px;
  }
  .article-paragraph {
    font-size: 15px;
    line-height: 1.85;
  }
  .assistant-scroll {
    padding: 18px 21px;
  }
  .pane-scroll {
    height: 340px;
  }
  .sandbox-footer {
    padding: 12px 3px;
    min-height: 66px;
    font-size: 12px;
    line-height: 1.7;
  }
  .demo-disclaimer {
    font-size: 12px;
  }
  .hero-photo {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 22px;
  }
  .hero-photo .photo-button {
    height: 385px;
  }
  .hero-photo h3 {
    font-size: 24px;
    margin: 10px 0;
  }
  .hero-photo p {
    font-size: 13px;
  }
  .hero-photo .text-button {
    font-size: 12px;
    margin-top: 16px;
  }
  .features,.screenshots,.download {
    padding-top: 67px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 33px;
    line-height: 1.4;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .section-heading>p {
    margin-top: 18px;
    font-size: 13px;
  }
  .section-heading>p br {
    display: none;
  }
  .bento {
    gap: 13px;
    grid-template-columns: 1fr;
  }
  .feature-card,.discovery-card,.ai-card,.translation-card,.adaptive-card,.privacy-card,.notes-card {
    grid-column: auto;
    border-radius: 18px;
    padding: 24px;
  }
  .feature-card h3 {
    font-size: 21px;
  }
  .feature-card>p {
    font-size: 14px;
  }
  .source-tabs button {
    font-size: 12px;
  }
  .probe-steps li {
    font-size: 12px;
    min-height: 29px;
  }
  .demo-url {
    font-size: 12px;
  }
  .demo-url code {
    font-size: 12px;
  }
  .demo-url>span {
    font-size: 12px;
  }
  .feature-card p.card-note {
    font-size: 12px;
  }
  .ai-visual {
    margin-top: 23px;
    min-height: 285px;
  }
  .translation-sample {
    margin-top: 17px;
    padding-bottom: 10px;
  }
  .adaptive-visual {
    transform: none;
    height: 150px;
    max-width: 285px;
    margin: 30px auto 0;
  }
  .mini-tablet {
    width: 260px;
    height: 145px;
  }
  .mini-phone {
    right: 0;
    bottom: 0;
    width: 65px;
    height: 117px;
  }
  .note-paper {
    margin: 25px 0 8px;
  }
  .privacy-note {
    font-size: 13px;
  }
  .gallery {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 19px;
    gap: 22px;
  }
  .gallery-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .gallery-tabs button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .gallery-tabs button .icon {
    width: 16px;
    height: 16px;
  }
  #gallery-description {
    margin: 15px 8px 0;
    min-height: 0;
    font-size: 12px;
  }
  .gallery-hint {
    margin: 9px 8px 0;
    font-size: 12px;
  }
  .gallery-stage {
    height: 430px;
  }
  .gallery-stage.is-tablet {
    height: 240px;
  }
  .zoom-caption {
    font-size: 12px;
    bottom: 5px;
    right: 5px;
  }
  .download-heading {
    gap: 15px;
    align-items: start;
  }
  .download-mark {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }
  .download-mark img {
    width: 38px;
  }
  .download h2 {
    font-size: 28px;
    line-height: 1.4;
  }
  .download-heading .section-kicker {
    font-size: 12px;
    margin-bottom: 9px;
  }
  .release-bar {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 12px;
  }
  .release-bar strong {
    font-size: 12px;
    display: block;
    margin: 4px 0 0;
  }
  .release-status {
    font-size: 12px;
    line-height: 1.8;
  }
  .download-cards {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .package-card,.desktop-card {
    padding: 25px;
    border-radius: 17px;
  }
  .package-card p br {
    display: none;
  }
  .package-card p {
    min-height: 0;
    font-size: 14px;
    margin-bottom: 16px;
  }
  .package-card h3 {
    margin-block: 13px;
  }
  .package-card code {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .desktop-card {
    grid-column: auto;
    display: flex;
    align-items: start;
    gap: 0;
  }
  .desktop-card>.icon {
    margin-bottom: 20px;
  }
  .desktop-card h3 {
    margin-bottom: 11px;
  }
  .desktop-card p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .desktop-card>span {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .desktop-card .button {
    width: 100%;
  }
  .edition-note {
    font-size: 12px;
    line-height: 1.9;
  }
  .footer {
    margin-top: 55px;
    padding: 25px 0;
  }
  .footer-top {
    display: block;
  }
  .footer-top .brand {
    margin-bottom: 17px;
  }
  .footer-top>p {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .footer-top>div {
    justify-content: start;
    gap: 24px;
    font-size: 12px;
  }
  .footer-bottom {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.8;
  }
  .lightbox {
    max-width: 96vw;
    width: 96vw;
    border-radius: 12px;
  }
  .lightbox-toolbar {
    font-size: 12px;
  }
  .lightbox-image-wrap {
    padding: 10px;
    height: calc(85dvh - 130px);
  }
  .lightbox-bottom>span {
    font-size: 12px;
    max-width: 135px;
    text-align: center;
  }
  html[lang=en] .hero-heading h1 {
    font-size: 45px;
    line-height: 1.13;
  }
  html[lang=en] .hero-heading h1 em {
    margin-top: 4px;
  }
  html[lang=en] .hero-description {
    font-size: 14px;
  }
  html[lang=en] .download h2 {
    font-size: 28px;
  }
  html[lang=en] .hero-kicker {
    font-size: 12px;
  }
}
@media(max-width:380px) {
  .nav {
    gap: 6px;
  }
  .nav .brand {
    font-size: 16px;
    gap: 5px;
  }
  .nav .brand img {
    width: 23px;
    height: 23px;
  }
  .nav-tools {
    gap: 0;
  }
  .nav-tools .icon-button {
    width: 28px;
  }
  .color-picker {
    padding-right: 3px;
  }
  .swatch {
    width: 19px;
  }
  .swatch:before {
    left: 3px;
  }
  .swatch[aria-pressed=true]:after {
    inset: 5px 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
  .button:hover,.gallery-stage:hover img,.citation:hover {
    transform: none;
  }
}
