/* The guide, product and release pages share the same quiet reading surface. */
:root {
  --paper: #FCFBFD;
  --ink: #17131C;
  --muted: #655E6C;
  --purple: #6B238E;
  --line: #DED9E2;
  --deep-paper: #FCFBFD;
  --deep-ink: #17131C;
  --deep-muted: #655E6C;
  --deep-brand: #6B238E;
  --deep-line: #DED9E2;
  --serif: "Songti SC", "Noto Serif CJK SC", STSong, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
html { scroll-padding-top: 100px; }
body { background: var(--paper); font-family: var(--sans); }
img { max-width: 100%; }
:is(a, button, summary, input):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  box-shadow: 0 0 0 3px #fff;
}
:is(h1, h2) { text-wrap: balance; }
:is(.guide-header, .site-header, .branch-bar) {
  background: rgba(252, 251, 253, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}
.family-home-mark {
  min-height: 44px;
  gap: 10px;
  font: 13px var(--sans);
}
.family-home-mark::after { content: "← 返回主页"; }
.family-home-mark[data-return="apps"]::after { content: "← 返回应用中心"; }
.family-home-mark img { width: 36px; height: 36px; filter: none; }
.family-home-mark:hover img { filter: none; transform: none; }
.family-lockup { gap: 20px; }
.family-divider { background: var(--line); }
.return-anchor {
  min-height: 48px;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 550;
}
.deep-siblings { padding-block: 64px; }
.deep-siblings h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; font-weight: 600; }
.deep-sibling-grid { gap: 32px; }
.deep-sibling-grid a {
  min-height: 124px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.deep-sibling-grid a:hover { transform: none; color: var(--purple); }
.deep-sibling-grid a[aria-current="page"] { color: var(--ink); border-color: var(--purple); background: transparent; }
.deep-sibling-grid a[aria-current="page"] small { color: var(--muted); }
.deep-sibling-grid small { font-size: 13px; line-height: 1.75; }

/* Thirteen practical guides: numbered instructions, generous line spacing. */
[data-feature-detail] .shell { width: min(1200px, calc(100% - 64px)); }
[data-feature-detail] .guide-header { min-height: 80px; padding-inline: max(32px, calc((100vw - 1200px) / 2)); }
[data-feature-detail] .guide-icon { box-shadow: none; border-radius: 8px; background: #EEE8F3; color: var(--purple); font-weight: 600; }
[data-feature-detail] .guide-icon.caps { background: #CAFF3D; color: var(--ink); }
[data-feature-detail] .guide-hero { min-height: 0; padding-block: 80px 88px; }
[data-feature-detail] :is(.hero-grid, .hero-grid.real-hero-grid) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
[data-feature-detail] :is(.guide-hero h1, .guide-section h2, .closing h2, .more-heading h2, .value-main h3) {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.045em;
}
[data-feature-detail] .guide-hero h1 { font-size: clamp(42px, 5.2vw, 72px); }
[data-feature-detail] :is(.guide-section h2, .closing h2) { font-size: clamp(32px, 3.7vw, 50px); }
[data-feature-detail] .hero-lead { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.9; }
[data-feature-detail] .eyebrow { font-weight: 600; letter-spacing: .1em; }
[data-feature-detail] .hero-outcome { gap: 8px 18px; margin-top: 24px; }
[data-feature-detail] .hero-outcome span { padding: 4px 0; background: none; border: 0; border-radius: 0; color: var(--muted); font-size: 12px; font-weight: 500; }
[data-feature-detail] .hero-stage { padding: 20px; border-color: #D5CDDE; border-radius: 16px; background: #F1EDF4; box-shadow: none; animation: none; }
[data-feature-detail] .hero-stage::before { display: none; }
[data-feature-detail] .product-shot-stage { padding: 12px; }
[data-feature-detail] .product-shot-stage img { border-radius: 8px; box-shadow: none; }
[data-feature-detail] .demo-window { border-radius: 10px; box-shadow: none; }
[data-feature-detail] .demo-body { padding: 24px; gap: 16px; }
[data-feature-detail] .demo-card { border-radius: 8px; background: #fff; padding: 16px; }
[data-feature-detail] .demo-card.active { background: var(--purple); }
[data-feature-detail] .demo-search { border-width: 1px; border-radius: 8px; box-shadow: none; }
[data-feature-detail] .demo-result { border-radius: 8px; }
[data-feature-detail] .demo-result strong { min-width: 0; }
[data-feature-detail] .key { border-radius: 6px; font-weight: 550; }
[data-feature-detail] .status-chip { max-width: 100%; width: fit-content; background: #EEE8F3; color: var(--purple); font-weight: 500; line-height: 1.6; }
[data-feature-detail] .status-chip::before { flex-shrink: 0; background: var(--purple); }
[data-feature-detail] .guide-section { padding-block: 80px; }
[data-feature-detail] .guide-section.alt { background: transparent; }
[data-feature-detail] .section-heading { grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 40px; }
[data-feature-detail] .section-intro { font-size: 16px; }
[data-feature-detail] .problem-grid { gap: 32px; }
[data-feature-detail] .problem-card { min-height: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
[data-feature-detail] .problem-card h3 { margin: 28px 0 12px; font-size: 20px; font-weight: 550; }
[data-feature-detail] .problem-card.result { color: var(--ink); border-color: var(--purple); }
[data-feature-detail] .problem-card.result span { color: var(--purple); }
[data-feature-detail] .problem-card.result p { color: var(--muted); }
[data-feature-detail] .steps { grid-template-columns: 1fr 1fr; gap: 0 48px; }
[data-feature-detail] .step { min-height: 0; display: grid; grid-template-columns: 36px 1fr; align-content: start; gap: 8px 20px; padding: 28px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
[data-feature-detail] .step::before { grid-row: 1 / 3; color: var(--purple); background: none; width: auto; height: auto; display: block; padding-top: 4px; border-radius: 0; font-size: 12px; font-weight: 500; }
[data-feature-detail] .step h3 { margin: 0; font-size: 19px; font-weight: 550; }
[data-feature-detail] .step p { grid-column: 2; font-size: 14px; line-height: 1.85; }
[data-feature-detail] .step:first-child { background: none; }
[data-feature-detail] .step:first-child::before { color: var(--purple); background: none; }
[data-feature-detail] .value-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
[data-feature-detail] .value-main { padding: 0; color: var(--ink); border-radius: 0; background: none; box-shadow: none; }
[data-feature-detail] .value-main .eyebrow { color: var(--purple); }
[data-feature-detail] .value-main h3 { font-size: clamp(32px, 3.4vw, 46px); }
[data-feature-detail] .value-main p { color: var(--muted); font-size: 15px; }
[data-feature-detail] .boundary-card { padding: 0 0 0 32px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; }
[data-feature-detail] .boundary-card h3 { font-size: 20px; font-weight: 550; }
[data-feature-detail] .boundary-list li::before { width: 4px; height: 4px; top: .65em; background: var(--purple); box-shadow: none; }
[data-feature-detail] .boundary-list li { padding-left: 16px; }
[data-feature-detail] .shortcut-strip { margin-top: 40px; padding: 24px; border-color: var(--line); border-radius: 8px; background: #F4F1F6; }
[data-feature-detail] .more-guides { padding-block: 64px; }
[data-feature-detail] .more-heading h2 { font-size: clamp(28px, 3vw, 40px); }
[data-feature-detail] .guide-links { gap: 32px; }
[data-feature-detail] .guide-links a { min-height: 124px; padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
[data-feature-detail] .guide-links a:hover { transform: none; color: var(--purple); }
[data-feature-detail] .guide-links strong { font-weight: 550; }
[data-feature-detail] .guide-links span { font-size: 13px; }
[data-feature-detail] .closing { padding-block: 72px; border-top: 1px solid var(--line); color: var(--ink); background: #F4F1F6; }
[data-feature-detail] .closing .eyebrow { color: var(--purple); }
[data-feature-detail] .closing p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
[data-feature-detail] .closing .return-anchor { color: #fff; border-color: var(--ink); background: var(--ink); }

/* Product pages retain their actual demonstrations and page interactions. */
body:has(.hero-translation-title) :is(.hero, .section), .pdf-site .hero { background-image: none; }
body:has(.hero-translation-title) .host-section { color: var(--ink); background: var(--paper); }
body:has(.hero-translation-title) .host-section h2 { color: var(--ink); }
body:has(.hero-translation-title) .host-section p { color: var(--muted); }
body:has(.hero-translation-title) .host-section .eyebrow { color: var(--purple); }
body:has(.hero-translation-title) .host-section .text-link-light { color: var(--purple); border-color: var(--line); }
.pdf-site .hero { background: var(--paper); padding-block: 80px; }
.pdf-site :is(.hero::before, .hero-orb, .hero-arc, .capability-section::after) { display: none; }
.pdf-site .hero h1 span { color: var(--purple); background: none; -webkit-text-fill-color: currentColor; }
.pdf-site :is(h1, h2), body:has(.hero-translation-title) :is(h1, h2) { font-family: var(--serif); font-weight: 600; line-height: 1.18; }
.pdf-site .hero h1, body:has(.hero-translation-title) .hero h1 { font-size: clamp(46px, 5.7vw, 78px); }
.pdf-site :is(.capability-card, .creed-grid article, .product-demo), body:has(.hero-translation-title) :is(.hero-stage, .translate-workspace, .shortcut-stage) { box-shadow: none; border-radius: 12px; }
.pdf-site .capability-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; }
.pdf-site .capability-card--platform { color: var(--ink); }
.pdf-site .capability-card--platform :is(p, small) { color: var(--muted); }
.pdf-site .capability-card--platform .capability-status { color: var(--purple); background: #EEE8F3; }
.pdf-site .capability-card--platform > a { color: var(--purple); }
.pdf-site :is(.creed-section, .status-section) { background: #F4F1F6; }
.pdf-site .capability-grid { gap: 32px; }
.pdf-site .capability-card h3 { font-family: var(--sans); font-size: 23px; }
.pdf-site .feel-section { background: var(--ink); }

/* Releases read as a dated journal, with a single current entry. */
body:has(.branch-bar) { overflow-x: visible; }
html:has(.branch-bar) { overflow-x: visible; }
.branch-inner { min-height: 80px; }
.branch-inner strong { font-size: 16px; font-weight: 550; }
.branch-inner a { padding: 10px 0; border-radius: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.branch-inner a:hover { color: var(--purple); }
body:has(.branch-bar) main { padding-top: 48px; }
body:has(.branch-bar) h1 { font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 600; line-height: 1.18; }
body:has(.branch-bar) .hero { gap: 56px; padding-block: 24px 72px; }
body:has(.branch-bar) .lead { font-size: 16px; line-height: 1.9; }
.current { min-height: 232px; padding: 24px 0 24px 28px; border-radius: 0; border-left: 1px solid var(--line); color: var(--ink); background: transparent; box-shadow: none; }
.current small { color: var(--purple); font-weight: 550; }
.current strong { font-size: 52px; font-weight: 300; letter-spacing: -.06em; }
.current span { color: var(--muted); font-size: 13px; }
.current p { margin-top: 24px; font-size: 15px; font-weight: 500; }
.story h2, .section-head h2 { font-family: var(--serif); font-size: clamp(32px, 3.5vw, 46px); line-height: 1.25; font-weight: 600; }
.story { padding-block: 64px; }
.milestones { margin-top: 40px; }
.milestones article { min-height: 0; }
.milestones time { font-weight: 500; }
.milestones strong { margin-top: 28px; font-size: 18px; font-weight: 550; }
.releases { padding-top: 64px; }
.timeline { display: block; }
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px 48px; min-height: 0; padding: 40px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.release .meta { grid-row: 1 / 5; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; font-weight: 500; line-height: 1.6; padding-top: 5px; }
.release :is(h3, p, .tags) { grid-column: 2; margin: 0; }
.release h3 { font-size: 24px; line-height: 1.4; font-weight: 550; }
.release p { font-size: 15px; line-height: 1.9; }
.release .tags { gap: 10px 20px; padding-top: 8px; }
.tags span { background: none; border-radius: 0; padding: 0; color: var(--muted); font-weight: 500; }
.current-release { color: var(--ink); border-top: 2px solid var(--purple); background: transparent; }
.current-release .meta { color: var(--purple); }
.current-release .meta time, .current-release p { color: var(--muted); }
.current-release .tags span { background: none; color: var(--purple); }
.footer { font-size: 12px; }

@media (max-width: 900px) {
  [data-feature-detail] :is(.hero-grid, .hero-grid.real-hero-grid) { grid-template-columns: 1fr; gap: 40px; }
  [data-feature-detail] .hero-stage { max-width: 680px; width: 100%; margin-inline: auto; }
  [data-feature-detail] .guide-hero { padding-block: 56px 64px; }
  [data-feature-detail] .section-heading { gap: 32px; }
  [data-feature-detail] .value-grid { gap: 32px; }
  .release { grid-template-columns: 140px minmax(0, 1fr); gap: 16px 32px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  [data-feature-detail] .shell { width: calc(100% - 40px); }
  [data-feature-detail] .guide-header { min-height: 72px; padding-inline: 20px; }
  .family-lockup { gap: 12px; }
  .family-home-mark { gap: 6px; font-size: 11px; }
  .family-home-mark img { width: 30px; height: 30px; }
  .family-home-mark::after { content: "← 返回主页"; }
  .family-home-mark[data-return="apps"]::after { content: "← 应用中心"; }
  .family-lockup :is(.guide-identity small, .brand-copy small, .product-brand small) { display: none; }
  .family-lockup :is(.guide-icon, .brand > img, .product-brand > img) { display: none; }
  .family-lockup :is(.guide-identity strong, .brand-copy strong, .product-brand strong) { font-size: 14px; }
  [data-feature-detail] .guide-hero h1 { font-size: clamp(38px, 10.6vw, 58px); }
  [data-feature-detail] .hero-lead { font-size: 16px; }
  [data-feature-detail] .hero-stage { padding: 12px; border-radius: 12px; }
  [data-feature-detail] .demo-body { padding: 16px; }
  [data-feature-detail] .demo-card strong { font-size: 19px; }
  [data-feature-detail] .demo-result { flex-wrap: wrap; }
  [data-feature-detail] :is(.section-heading, .value-grid, .problem-grid, .steps) { grid-template-columns: 1fr; }
  [data-feature-detail] .problem-card.result { grid-column: auto; }
  [data-feature-detail] .problem-card h3 { margin-top: 20px; }
  [data-feature-detail] .guide-section { padding-block: 56px; }
  [data-feature-detail] .guide-section h2, [data-feature-detail] .closing h2 { font-size: 34px; }
  [data-feature-detail] .step { padding-block: 24px; }
  [data-feature-detail] .boundary-card { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  [data-feature-detail] .shortcut-strip { padding: 20px; margin-top: 28px; }
  [data-feature-detail] .closing { padding-block: 56px; }
  [data-feature-detail] .more-guides { padding-block: 48px; }
  [data-feature-detail] .guide-links, .deep-sibling-grid { gap: 0; }
  .deep-siblings { padding: 48px 20px; }
  .pdf-site .hero { padding-block: 56px; }
  .pdf-site .hero h1, body:has(.hero-translation-title) .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .wrap, .branch-inner { width: calc(100% - 40px); }
  .branch-inner { min-height: 72px; gap: 16px; }
  .branch-inner a { font-size: 12px; }
  body:has(.branch-bar) .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
  body:has(.branch-bar) h1 { font-size: clamp(36px, 10vw, 50px); }
  .current { min-height: 0; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .current strong { margin-top: 20px; font-size: 44px; }
  .current p { margin-top: 16px; }
  .release { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 14px; }
  .release .meta { grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; padding-top: 0; }
  .release :is(h3, p, .tags) { grid-column: 1; }
  .release h3 { font-size: 22px; }
  .release p { font-size: 14px; }
  .story, .releases { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
