/* Inner pages. Home keeps its own story styles in index.html. */
.sheet { background: #fff; color: #1a1a1a; }
.brand-mark { display: block; height: 1.75rem; width: auto; max-width: min(11.5rem, 46vw); }
.sheet section[id] { scroll-margin-top: 5.25rem; }
.sheet-banner { background: #041433; color: #f4f7fb; }
.banner-frame,
.sheet-wrap,
.cta-line { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.banner-frame { display: grid; gap: 1.75rem; align-items: center; padding: 1.75rem 0 2.4rem; }
.sheet-banner h1 { margin: 0.45rem 0 0; color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14em; }
.banner-tag { margin: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fd4c6; }
.banner-text { margin: 1rem 0 0; max-width: 40rem; font-size: 1.05rem; line-height: 1.55; color: #e7eef8; }
.sheet-banner img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 440px; object-fit: contain; }
.sheet-banner img.ui-hero { width: auto; max-width: min(100%, 520px); max-height: 300px; margin-inline: auto; justify-self: end; border-radius: 0.85rem; }
.ui-shots { display: grid; gap: 0.85rem; width: min(640px, 100%); margin: 1.5rem auto 0; }
.ui-shots img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0.75rem; }
@media (min-width: 800px) {
  .ui-shots.ui-pair { width: min(920px, 100%); grid-template-columns: 1fr 1fr; }
  .ui-shots.ui-pair img:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: min(100%, 440px); }
}
.banner-centered { text-align: center; }
.banner-centered h1,
.banner-centered .banner-text { margin-inline: auto; }
.banner-centered h1 { max-width: 18ch; }
.crumb-trail { margin: 0 0 1.1rem; font-size: 0.875rem; }
.crumb-trail ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.sheet-banner .crumb-trail,
.sheet-banner .crumb-trail a { color: #d5deea; }
.crumb-trail a { text-decoration: underline; text-underline-offset: 3px; }
.jump-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.jump-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.3rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.38); color: #fff; text-decoration: none; font-size: 0.95rem; }
.jump-pills a:hover { background: #fff; color: #111; }
.tone-base { background: #fff; }
.tone-raise { background: #f7f6f2; }
.tone-deep { background: #111; color: #f7f6f2; }
.tone-deep h2,
.tone-deep h3,
.page-navy h2,
.cta-band h2 { color: #fff; }
.sheet-wrap { padding: 3.5rem 0; }
.sheet h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); max-width: 18ch; }
.split-pane { display: grid; gap: 1.75rem; align-items: center; }
.copy-flow p { margin: 0.85rem 0 0; font-size: 1.05rem; line-height: 1.55; }
.copy-flow p:first-child { margin-top: 0; }
.tile-grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
.info-tile { background: #f4f5f7; border-radius: 1.2rem; padding: 1.15rem 1.15rem 1.3rem; }
.tone-deep .info-tile { background: #1c1c1c; }
.info-tile h2 { max-width: none; }
.info-tile h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.info-tile p,
.info-tile li { margin: 0; font-size: 1rem; line-height: 1.5; }
.info-tile h2 + p,
.info-tile h3 + p,
.info-tile h3 + ul,
.info-tile p + p,
.info-tile ul + p,
.info-tile ul { margin-top: 0.75rem; }
.sheet h2 + .copy-flow { margin-top: 0.85rem; }
.split-start { align-items: start; }
.block-gap { margin-top: 1.4rem; }
.sub-title { margin: 2.2rem 0 0.8rem; font-size: 1.6rem; }
.banner-centered .crumb-trail ol,
.banner-centered .jump-pills,
.banner-centered .banner-actions { justify-content: center; }
.titles-centered h2,
.titles-centered h3,
.titles-centered caption { text-align: center; margin-inline: auto; }
.titles-centered .sheet h2 { max-width: 22ch; }
.titles-centered .copy-flow { max-width: 46rem; margin-inline: auto; text-align: center; }
.titles-centered .info-tile h3 { max-width: none; }
.titles-centered .cta-line { flex-direction: column; align-items: center; text-align: center; }
.titles-centered .cta-band p { margin-inline: auto; }
.titles-centered .fact-grid dt { text-align: center; }
.titles-centered .fact-grid dd { text-align: center; }
.titles-centered .split-pane .copy-flow { text-align: start; margin-inline: 0; max-width: none; }
.banner-stats { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: 0 0 2.2rem; }
.tile-navy { background: #13284d; color: #f4f7fb; }
.tile-navy h2 { color: #fff; }
.info-tile img,
.page-shot { display: block; width: 100%; max-width: min(100%, 480px); height: auto; margin-inline: auto; border-radius: 0.85rem; background: #fff; }
.info-tile img { margin-bottom: 0.9rem; }
.step-stack { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.step-stack li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.85rem; align-items: start; background: #f4f5f7; color: #1a1a1a; border-radius: 1rem; padding: 0.95rem 1rem; font-size: 1.02rem; line-height: 1.5; }
.step-stack li a { color: #0E6B5C; }
.tone-deep .step-stack li { background: #1c1c1c; color: #f7f6f2; }
.tone-deep .step-stack li a { color: #8fd4c6; }
.step-index { width: 2.4rem; height: 2.4rem; border-radius: 999px; background: #041433; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.tone-deep .step-index { background: #0E6B5C; }
.fact-grid { display: grid; gap: 0.7rem; margin: 0; }
.fact-grid div { background: #f4f5f7; border-radius: 0.95rem; padding: 0.9rem 1rem; }
.fact-grid dt { font-family: var(--font-display); font-size: 1.05rem; }
.fact-grid dd { margin: 0.2rem 0 0; font-size: 1rem; line-height: 1.45; }
.stat-row { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.stat-row li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 1rem; padding: 1rem 1rem 1.05rem; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.stat-row span { display: block; margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.4; color: #d5deea; }
.rev-list { list-style: none; margin: 0; padding: 0; }
.rev-list li { position: relative; padding: 0 0 1.35rem 1.3rem; border-left: 2px solid #d5d0c6; }
.rev-list li::before { content: ""; position: absolute; left: -6px; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: #0E6B5C; }
.rev-list time { font-family: var(--font-mono); font-size: 0.8rem; color: #555; }
.rev-list strong { display: block; margin-top: 0.15rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; }
.rev-list p { margin: 0.2rem 0 0; font-size: 1rem; line-height: 1.45; }
.mono-chip { margin: 1rem 0 0; padding: 0.95rem 1rem; background: #111; color: #f4f6f2; border-radius: 0.85rem; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.5; overflow-wrap: anywhere; }
.sheet .table-frame { border: 1px solid #e4e0d6; border-radius: 1.1rem; background: #fff; }
.sheet table th,
.sheet table td { padding: 0.85rem 1rem; }
.sheet caption { padding: 1rem 1rem 0.2rem; text-align: left; }
.titles-centered caption { text-align: center; }
.family-grid { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.family-grid li { background: #f4f5f7; border-radius: 1rem; padding: 0.8rem 0.7rem 0.95rem; text-align: center; }
.family-grid img { width: min(100%, 220px); height: 110px; object-fit: contain; margin: 0 auto 0.35rem; }
.family-grid span { display: block; font-family: var(--font-display); font-size: 0.95rem; line-height: 1.2; }
.qa-list { max-width: 860px; }
.qa-list details { border-bottom: 1px solid #e4e0d6; }
.qa-list details:first-child { border-top: 1px solid #e4e0d6; }
.qa-list summary { padding: 1.05rem 0; font-size: 1.2rem; }
.qa-list .fold-panel p { padding-bottom: 1rem; font-size: 1.02rem; line-height: 1.55; }
.source-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.source-list a { display: block; background: #f4f5f7; border-radius: 0.9rem; padding: 0.85rem 1rem; text-decoration: none; }
.source-list a:hover { background: #111; color: #fff; }
.cta-band { background: #0E6B5C; color: #f7f6f2; }
.cta-line { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-end; justify-content: space-between; padding: 2.6rem 0; }
.cta-band p { margin: 0.55rem 0 0; max-width: 36rem; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
@media (min-width: 800px) {
  .banner-frame.has-art { grid-template-columns: 1.05fr 0.95fr; padding: 2.4rem 0 2.8rem; }
  .split-pane { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split-pane.split-start { align-items: start; }
  .tile-grid-2 { grid-template-columns: 1fr 1fr; }
  .tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .family-grid { grid-template-columns: repeat(3, 1fr); }
  .titles-centered .fact-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stat-row-4 { grid-template-columns: repeat(4, 1fr); }
  .family-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 700px) {
  .sheet-wrap { padding: 2.4rem 0 2.8rem; }
  .sheet-banner h1 { max-width: none; }
}
.locale-pick { position: relative; }
.locale-toggle { min-height: 44px; padding: 0.45rem 0.8rem; border: 1px solid var(--color-ink); background: transparent; color: var(--color-ink); font-family: var(--font-display); font-weight: 600; cursor: pointer; }
.locale-list { position: absolute; top: calc(100% + 0.35rem); inset-inline-end: 0; z-index: 50; min-width: 11.5rem; margin: 0; padding: 0.3rem 0; list-style: none; background: #fff; border: 1px solid var(--color-line); box-shadow: 0 10px 28px rgba(28, 25, 21, 0.12); }
.locale-list a { display: block; padding: 0.55rem 0.9rem; color: var(--color-ink); text-decoration: none; }
.locale-list a:hover, .locale-list a[aria-current="page"] { background: var(--color-paper); }
.locale-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.2rem; width: min(1440px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 1.4rem; }
.locale-row a { color: inherit; text-decoration: none; }
.locale-row a:hover, .locale-row a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
html[lang="zh-CN"] .rail-link { letter-spacing: 0.14em; }
html[lang="zh-CN"] body, html[lang="zh-CN"] .font-display { font-family: "Noto Sans SC", "Source Sans 3", sans-serif; }
html[lang="ar"] body, html[lang="ar"] .font-display { font-family: "Noto Sans Arabic", "Source Sans 3", sans-serif; }
html[lang="ru"] .act-btn, html[lang="ru"] .dock-cta, html[lang="ru"] .locale-toggle, html[lang="ru"] .jump-pills a { padding: 0.75rem 1.35rem; }
html[dir="rtl"] .sheet caption, html[dir="rtl"] .sheet th, html[dir="rtl"] .sheet td { text-align: right; }
html[dir="rtl"] .border-l-4 { border-left-width: 0; border-right-width: 4px; }
html[dir="rtl"] .pl-5 { padding-left: 0; padding-right: 1.25rem; }
.dock-clear .banner-frame,
.dock-clear .sheet-wrap,
.dock-clear .cta-line,
.dock-clear .banner-stats {
  width: auto;
  max-width: 1180px;
  margin-left: max(1.25rem, calc((100% - 1180px) / 2));
  margin-right: max(18.5rem, calc((100% - 1180px) / 2));
}
.dock-clear h2 { max-width: 36ch; }
html[lang="ru"] .dock-clear .banner-frame,
html[lang="ru"] .dock-clear .sheet-wrap,
html[lang="ru"] .dock-clear .cta-line,
html[lang="ru"] .dock-clear .banner-stats { margin-right: max(22rem, calc((100% - 1180px) / 2)); }
@media (max-width: 800px) {
  .dock-clear .banner-frame,
  .dock-clear .sheet-wrap,
  .dock-clear .cta-line,
  .dock-clear .banner-stats { margin-left: 1.25rem; margin-right: 1.25rem; }
  .dock-clear { padding-bottom: 4.75rem; }
}
