:root {
  --cc-blue: #1769e0;
  --cc-blue-soft: rgba(23, 105, 224, 0.1);
  --cc-teal: #007f78;
  --cc-lime: #c9ef72;
  --cc-orange: #f18b2d;
  --cc-ink: #11151b;
  --cc-deep: #11151b;
  --cc-primary-bg: #1769e0;
  --cc-panel: rgba(255, 255, 255, 0.72);
  --cc-panel-solid: #ffffff;
  --cc-line: rgba(17, 21, 27, 0.11);
  --cc-line-strong: rgba(17, 21, 27, 0.2);
}

:root[data-theme="dark"] {
  --cc-blue: #75a9ff;
  --cc-blue-soft: rgba(117, 169, 255, 0.13);
  --cc-teal: #65d4bf;
  --cc-lime: #d2f58c;
  --cc-orange: #ffaf5e;
  --cc-ink: #f4f6f8;
  --cc-panel: rgba(255, 255, 255, 0.055);
  --cc-panel-solid: #13161a;
  --cc-line: rgba(255, 255, 255, 0.12);
  --cc-line-strong: rgba(255, 255, 255, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cc-blue: #75a9ff;
    --cc-blue-soft: rgba(117, 169, 255, 0.13);
    --cc-teal: #65d4bf;
    --cc-lime: #d2f58c;
    --cc-orange: #ffaf5e;
    --cc-ink: #f4f6f8;
    --cc-deep: #11151b;
    --cc-primary-bg: #1769e0;
    --cc-panel: rgba(255, 255, 255, 0.055);
    --cc-panel-solid: #13161a;
    --cc-line: rgba(255, 255, 255, 0.12);
    --cc-line-strong: rgba(255, 255, 255, 0.22);
  }
}

.chatwithchat-page {
  --bg: #f5f5f7;
  --card: transparent;
  --card-border: rgba(0, 0, 0, 0.08);
  --text: #1d1d1f;
  --text2: #6e6e73;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.1);
  --nav-bg: rgba(245, 245, 247, 0.78);
  --nav-border: rgba(0, 0, 0, 0.06);
  --cc-blue: #3b82f6;
  --cc-blue-soft: rgba(59, 130, 246, 0.1);
  --cc-teal: #2563eb;
  --cc-lime: #2563eb;
  --cc-orange: #2563eb;
  --cc-ink: #1d1d1f;
  --cc-deep: #f5f5f7;
  --cc-primary-bg: #3b82f6;
  --cc-panel: transparent;
  --cc-panel-solid: transparent;
  --cc-line: rgba(0, 0, 0, 0.1);
  --cc-line-strong: rgba(0, 0, 0, 0.18);
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.chatwithchat-page .bg-glow { display: block; }
.chatwithchat-page .bg-glow .glow-orb { opacity: 0.14; }
.chatwithchat-page .glow-1 { background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%); }
.chatwithchat-page .glow-2 { background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%); }
.chatwithchat-page .glow-3 { background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 70%); }
.chatwithchat-page .cc-hero::before { opacity: 0.45; }

:root[data-theme="dark"] .chatwithchat-page {
  --bg: #050505;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text2: #86868b;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --nav-bg: rgba(5, 5, 5, 0.78);
  --nav-border: rgba(255, 255, 255, 0.08);
  --cc-blue-soft: rgba(59, 130, 246, 0.1);
  --cc-teal: #60a5fa;
  --cc-lime: #60a5fa;
  --cc-orange: #3b82f6;
  --cc-ink: #f5f5f7;
  --cc-deep: #050505;
  --cc-line: rgba(255, 255, 255, 0.1);
  --cc-line-strong: rgba(255, 255, 255, 0.2);
  color-scheme: dark;
}

:root[data-theme="dark"] .chatwithchat-page .bg-glow .glow-orb {
  opacity: 0.35;
}

:root[data-theme="dark"] .chatwithchat-page .cc-hero::before {
  opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chatwithchat-page {
    --bg: #050505;
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #f5f5f7;
    --text2: #86868b;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --nav-bg: rgba(5, 5, 5, 0.78);
    --nav-border: rgba(255, 255, 255, 0.08);
    --cc-blue-soft: rgba(59, 130, 246, 0.1);
    --cc-teal: #60a5fa;
    --cc-lime: #60a5fa;
    --cc-orange: #3b82f6;
    --cc-ink: #f5f5f7;
    --cc-deep: #050505;
    --cc-line: rgba(255, 255, 255, 0.1);
    --cc-line-strong: rgba(255, 255, 255, 0.2);
    color-scheme: dark;
  }

  :root:not([data-theme="light"]) .chatwithchat-page .bg-glow .glow-orb { opacity: 0.35; }
  :root:not([data-theme="light"]) .chatwithchat-page .cc-hero::before { opacity: 0.8; }
}
.chatwithchat-page .cc-detail-scroll { position: relative; z-index: 1; }
.chatwithchat-page .home-scroll { height: auto; overflow: visible; scroll-snap-type: none; }
.chatwithchat-page nav { z-index: 110; }
.chatwithchat-page section[id] { scroll-margin-top: 116px; }
.cc-container { margin: 0 auto; max-width: 1180px; width: min(1180px, calc(100% - 48px)); }

.cc-hero {
  background-color: transparent;
  border-bottom: 1px solid var(--cc-line);
  min-height: 790px;
  overflow: hidden;
  padding: 136px 0 76px;
  position: relative;
}

.cc-hero::before {
  background: radial-gradient(circle at 78% 34%, rgba(59, 130, 246, 0.12), transparent 34%), radial-gradient(circle at 25% 82%, rgba(37, 99, 235, 0.06), transparent 32%);
  content: "";
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
  position: absolute;
}

.cc-hero-grid { align-items: center; display: grid; gap: 88px; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); position: relative; z-index: 1; }
.cc-hero-copy { max-width: 650px; }
.cc-eyebrow, .cc-section-index, .cc-release-label { color: var(--cc-blue); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cc-eyebrow { margin-bottom: 32px; }
.cc-brandline { align-items: center; display: flex; gap: 14px; margin-bottom: 28px; }
.cc-mark { background: transparent; border: 0; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); height: 52px; object-fit: cover; padding: 0; width: 52px; }
.cc-kicker { color: var(--text); font-size: 13px; font-weight: 650; letter-spacing: 0.03em; margin-bottom: 6px; }
.cc-version { color: var(--text2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; letter-spacing: 0.08em; }
.cc-title { color: var(--cc-ink); font-size: 76px; font-weight: 760; letter-spacing: 0; line-height: 1.02; margin: 0 0 12px; max-width: 680px; }
.cc-thesis { color: var(--cc-ink); font-size: 30px; font-weight: 640; letter-spacing: 0; line-height: 1.25; margin: 0 0 20px; }
.cc-lead { color: var(--text2); font-size: 19px; line-height: 1.78; max-width: 620px; }
.cc-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cc-button { align-items: center; border-radius: 8px; display: inline-flex; font-size: 13px; font-weight: 650; gap: 9px; justify-content: center; min-height: 44px; padding: 0 18px; text-decoration: none; transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease; }
.cc-button:hover { transform: translateY(-2px); }
.cc-button--primary { background: var(--cc-primary-bg); color: #fff; }
.cc-button--primary:hover { background: #0b56c2; box-shadow: 0 12px 28px var(--accent-glow); }
.cc-button--quiet { border: 1px solid var(--cc-line-strong); color: var(--text); }
.cc-button--quiet:hover { border-color: var(--cc-blue); color: var(--cc-blue); }
.cc-boundary { border-left: 2px solid var(--cc-lime); color: var(--text2); font-size: 12px; line-height: 1.65; margin-top: 28px; max-width: 560px; padding-left: 12px; }

.cc-hero-visual { align-items: center; display: flex; flex-direction: column; justify-self: end; margin: 0; position: relative; width: min(100%, 380px); }
.cc-device { background: transparent; border: 0; border-radius: 0; box-shadow: none; max-height: 610px; overflow: hidden; padding: 0; position: relative; transform: none; width: min(100%, 294px); }
.cc-device img { border-radius: 0; display: block; height: 560px; object-fit: contain; object-position: top; width: 100%; }
.cc-device-speaker { display: none; }
.cc-hero-visual figcaption { color: var(--text2); display: flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; gap: 18px; letter-spacing: 0.09em; margin-top: 24px; text-transform: uppercase; }
.cc-hero-stamp { align-items: center; background: transparent; border: 1px solid var(--cc-blue); border-radius: 50%; color: var(--cc-blue); display: flex; flex-direction: column; height: 88px; justify-content: center; position: absolute; right: -2px; top: 52px; transform: rotate(12deg); width: 88px; }
.cc-hero-stamp span { font-size: 10px; letter-spacing: 0.2em; }
.cc-hero-stamp strong { font-size: 19px; letter-spacing: 0.04em; }
.cc-scroll-prompt { align-items: center; display: flex; gap: 12px; margin-top: 56px; position: relative; z-index: 1; }
.cc-scroll-prompt span { background: var(--cc-blue); display: block; height: 1px; width: 42px; }
.cc-scroll-prompt a { color: var(--text2); font-size: 12px; text-decoration: none; }
.cc-scroll-prompt b { color: var(--cc-blue); font-size: 16px; font-weight: 400; margin-left: 6px; }

.cc-local-nav {
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(17, 21, 27, 0.13);
  max-height: min(520px, calc(100vh - 96px));
  overflow: hidden;
  padding: 10px;
  position: fixed;
  right: clamp(16px, 2.4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: 132px;
  z-index: 80;
}
.cc-local-nav-inner {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  max-width: none;
  max-height: min(490px, calc(100vh - 116px));
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: none;
}
.cc-local-nav-inner::-webkit-scrollbar { display: none; height: 0; width: 0; }
.cc-local-nav-label {
  color: var(--text2);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  margin: 2px 8px 7px;
  text-transform: uppercase;
}
.cc-local-nav a {
  border-left: 2px solid transparent;
  border-bottom: 0;
  color: var(--text2);
  display: block;
  font-size: 12px;
  padding: 8px 8px;
  text-decoration: none;
  white-space: nowrap;
}
.cc-local-nav a:hover, .cc-local-nav a.is-active {
  background: transparent;
  border-left-color: var(--cc-blue);
  color: var(--text);
}

@media (min-width: 1101px) {
  .chatwithchat-page section[id] { scroll-margin-top: 72px; }
  .cc-local-nav-inner { width: 100%; }
}

.cc-metrics { border-bottom: 1px solid var(--cc-line); }
.cc-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cc-metric { border-left: 1px solid var(--cc-line); display: flex; flex-direction: column; gap: 5px; min-height: 150px; padding: 28px 22px; }
.cc-metric:last-child { border-right: 1px solid var(--cc-line); }
.cc-metric strong { color: var(--cc-ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 24px; font-weight: 650; letter-spacing: 0; }
.cc-metric span { color: var(--text); font-size: 13px; font-weight: 650; }
.cc-metric small { color: var(--text2); font-size: 11px; line-height: 1.5; }

.cc-section { border-bottom: 1px solid var(--cc-line); padding: 116px 0; }
.cc-section-head { display: grid; gap: 58px; grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr); margin-bottom: 56px; }
.cc-section-head h2, .cc-section-copy h2, .cc-start-copy h2 { color: var(--cc-ink); font-size: 44px; font-weight: 720; letter-spacing: 0; line-height: 1.12; margin: 0 0 18px; max-width: 690px; }
.cc-section-head p:not(.cc-section-index), .cc-section-copy > p:not(.cc-note) { color: var(--text2); font-size: 16px; line-height: 1.8; max-width: 700px; }
.cc-section-index { padding-top: 7px; }
.cc-feature-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.cc-feature-card { background: var(--cc-panel); border: 1px solid var(--cc-line); border-radius: 8px; display: flex; flex-direction: column; min-height: 248px; padding: 26px; transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease; }
.cc-feature-card:hover { border-color: var(--cc-blue); transform: translateY(-3px); }
.cc-feature-card--primary { background: transparent; border-color: var(--cc-blue); color: var(--cc-ink); grid-column: span 2; min-height: 300px; }
.cc-feature-card--primary:hover { background: transparent; }
.cc-feature-card--dark { background: transparent; border-color: var(--cc-line); color: var(--cc-ink); }
.cc-feature-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 34px; }
.cc-feature-number { color: var(--cc-lime); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.cc-feature-label { color: var(--text2); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.cc-feature-card--primary .cc-feature-label, .cc-feature-card--dark .cc-feature-label { color: var(--cc-blue); }
.cc-feature-card h3 { font-size: 22px; font-weight: 680; letter-spacing: 0; line-height: 1.25; margin: 0 0 12px; max-width: 450px; }
.cc-feature-card p { color: var(--text2); font-size: 13px; line-height: 1.72; margin: 0; }
.cc-feature-card--primary p, .cc-feature-card--dark p { color: var(--text2); }
.cc-feature-card code, .cc-release-note code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.92em; }
.cc-inline-link { color: var(--cc-blue); font-size: 12px; margin-top: auto; padding-top: 24px; text-decoration: none; }
.cc-inline-link span { color: var(--cc-lime); margin-left: 8px; }

.cc-section--memory { background: transparent; }
.cc-split { display: grid; gap: 76px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.cc-section-copy { min-width: 0; }
.cc-tag-row, .cc-provider-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cc-tag-row span, .cc-provider-list span { border: 1px solid var(--cc-line-strong); border-radius: 999px; color: var(--text2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; padding: 7px 10px; }
.cc-memory-layout { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 190px; }
.cc-pipeline { list-style: none; margin: 0; padding: 0; }
.cc-pipeline li { border-top: 1px solid var(--cc-line-strong); display: grid; gap: 16px; grid-template-columns: 30px 1fr; padding: 17px 0; }
.cc-pipeline li:last-child { border-bottom: 1px solid var(--cc-line-strong); }
.cc-pipeline li > span { color: var(--cc-blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; padding-top: 3px; }
.cc-pipeline strong { color: var(--cc-ink); font-size: 14px; }
.cc-pipeline p { color: var(--text2); font-size: 12px; line-height: 1.65; margin: 6px 0 0; }
.cc-memory-shot { margin: 0; }
.cc-shot { background: transparent; border: 0; border-radius: 0; cursor: zoom-in; display: block; overflow: hidden; padding: 0; position: relative; width: 100%; }
.cc-shot::after { background: rgba(17, 21, 27, 0.6); content: ""; inset: 0; opacity: 0; pointer-events: none; position: absolute; transition: opacity 0.25s ease; }
.cc-shot:hover::after { opacity: 1; }
.cc-shot img { display: block; height: auto; max-height: 640px; object-fit: contain; width: 100%; }
.cc-shot > span { bottom: 14px; color: #fff; font-size: 11px; left: 16px; opacity: 0; position: absolute; transition: opacity 0.25s ease; z-index: 1; }
.cc-shot:hover > span { opacity: 1; }
.cc-memory-shot figcaption, .cc-platform-shot figcaption { color: var(--text2); font-size: 11px; line-height: 1.5; margin-top: 10px; }

.cc-section--history { background: transparent; }
.cc-context-grid { border-bottom: 1px solid var(--cc-line-strong); border-top: 1px solid var(--cc-line-strong); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-context-column { min-height: 350px; padding: 34px 38px 36px 0; }
.cc-context-column + .cc-context-column { border-left: 1px solid var(--cc-line-strong); padding-left: 38px; }
.cc-context-label { color: var(--cc-blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: 0.12em; margin: 0 0 42px; }
.cc-context-column--history .cc-context-label { color: var(--cc-teal); }
.cc-context-column h3 { color: var(--cc-ink); font-size: 28px; font-weight: 680; letter-spacing: 0; line-height: 1.2; margin: 0 0 14px; }
.cc-context-column > p:not(.cc-context-label) { color: var(--text2); font-size: 13px; line-height: 1.78; margin: 0; max-width: 440px; }
.cc-context-list { border-top: 1px solid var(--cc-line); margin: 28px 0 0; }
.cc-context-list div { align-items: baseline; border-bottom: 1px solid var(--cc-line); display: grid; gap: 16px; grid-template-columns: 84px 1fr; padding: 10px 0; }
.cc-context-list dt { color: var(--text2); font-size: 10px; }
.cc-context-list dd { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; margin: 0; }
.cc-history-note { border-left: 2px solid var(--cc-blue); color: var(--text2); font-size: 12px; line-height: 1.65; margin: 24px 0 0; padding-left: 12px; }

.cc-platform-grid { align-items: center; display: grid; gap: 80px; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); }
.cc-provider-list span { background: var(--cc-panel); }
.cc-tool-list { margin-top: 12px; }
.cc-tool-list span { border-color: color-mix(in srgb, var(--cc-teal) 45%, var(--cc-line-strong)); color: var(--cc-teal); }
.cc-note { color: var(--text2); font-size: 11px; line-height: 1.65; margin-top: 20px; }
.cc-platform-evidence { align-items: end; display: grid; gap: 16px; grid-template-columns: 1.15fr 0.85fr; }
.cc-platform-shot { margin: 0; }
.cc-platform-shot--large { grid-row: span 2; }

.cc-gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.cc-gallery-item { margin: 0; min-width: 0; }
.cc-gallery-item--hero { grid-column: span 2; grid-row: span 2; }
.cc-gallery-item .cc-shot { aspect-ratio: 9 / 13; }
.cc-gallery-item--hero .cc-shot { aspect-ratio: 9 / 16; }
.cc-gallery-item .cc-shot img { height: 100%; object-fit: contain; }
.cc-gallery-item figcaption { color: var(--text2); font-size: 11px; line-height: 1.4; margin-top: 9px; }

.cc-architecture-grid { display: grid; gap: 86px; grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr); }
.cc-stack-table { border-top: 1px solid var(--cc-line-strong); margin-top: 30px; }
.cc-stack-table div { align-items: baseline; border-bottom: 1px solid var(--cc-line); display: grid; gap: 18px; grid-template-columns: 70px 1fr; padding: 14px 0; }
.cc-stack-table span { color: var(--cc-blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.cc-stack-table strong { color: var(--text); font-size: 12px; font-weight: 600; }
.cc-architecture-map { background: transparent; border: 1px solid var(--cc-line); border-radius: 8px; color: var(--text); min-height: 500px; overflow: hidden; padding: 48px 42px 36px; position: relative; }
.cc-flow-node { border: 1px solid var(--cc-line-strong); border-radius: 6px; color: var(--text); font-size: 16px; font-weight: 650; margin: 0 auto; max-width: 330px; padding: 16px 18px; position: relative; text-align: center; }
.cc-flow-node span { color: var(--text2); display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; font-weight: 400; letter-spacing: 0.04em; margin-top: 6px; }
.cc-flow-node--accent { background: transparent; border-color: var(--cc-blue); color: var(--cc-blue); }
.cc-flow-node--accent span { color: var(--cc-blue); }
.cc-flow-node--wide { max-width: 440px; }
.cc-flow-arrow { color: var(--cc-lime); font-size: 18px; height: 42px; line-height: 42px; text-align: center; }
.cc-flow-branches { display: grid; grid-template-columns: repeat(3, 1fr); height: 56px; position: relative; }
.cc-flow-branches::before { border-top: 1px solid var(--cc-line-strong); content: ""; left: 16.66%; position: absolute; right: 16.66%; top: 15px; }
.cc-flow-branches i { border-left: 1px solid var(--cc-line-strong); display: block; height: 42px; justify-self: center; position: relative; top: 15px; }
.cc-flow-branch-labels { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.cc-flow-branch-labels span { border-top: 1px solid var(--cc-line); color: var(--text); font-size: 12px; line-height: 1.5; padding-top: 14px; }
.cc-flow-branch-labels small { color: var(--text2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }
.cc-flow-branches--four, .cc-flow-branch-labels--four { grid-template-columns: repeat(4, 1fr); }
.cc-flow-branches--four::before { left: 12.5%; right: 12.5%; }

.cc-section--comparison { background: transparent; }
.cc-table-wrap { border: 1px solid var(--cc-line); border-radius: 8px; overflow-x: auto; }
.cc-comparison-table { border-collapse: collapse; min-width: 850px; width: 100%; }
.cc-comparison-table th, .cc-comparison-table td { border-bottom: 1px solid var(--cc-line); font-size: 12px; line-height: 1.55; padding: 15px 16px; text-align: left; vertical-align: top; }
.cc-comparison-table thead th { background: var(--cc-panel); color: var(--text2); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.cc-comparison-table tbody tr:last-child th, .cc-comparison-table tbody tr:last-child td { border-bottom: 0; }
.cc-comparison-table tbody th { color: var(--text); font-weight: 650; width: 120px; }
.cc-comparison-table td { color: var(--text2); }
.cc-comparison-table .cc-table-current { background: transparent; box-shadow: inset 2px 0 var(--cc-blue); color: var(--text); }
.cc-comparison-table thead .cc-table-current { color: var(--cc-blue); }
.cc-comparison-note { color: var(--text2); font-size: 11px; line-height: 1.6; margin: 13px 0 0; }

.cc-section--start { background: transparent; color: var(--text); }
.cc-start-grid { align-items: start; display: grid; gap: 90px; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr); }
.cc-start-copy h2 { color: var(--cc-ink); max-width: 560px; }
.cc-start-copy > p { color: var(--text2); font-size: 16px; line-height: 1.8; max-width: 590px; }
.cc-start-copy .cc-button--quiet { border-color: var(--cc-line-strong); color: var(--text); }
.cc-release-note { border: 1px solid var(--cc-line-strong); border-radius: 8px; padding: 24px; }
.cc-release-label { color: var(--cc-lime); margin-bottom: 16px; }
.cc-release-row { border-top: 1px solid var(--cc-line); display: flex; gap: 16px; justify-content: space-between; padding: 13px 0; }
.cc-release-row span { color: var(--text2); font-size: 11px; }
.cc-release-row strong, .cc-release-row code { color: var(--text); font-size: 11px; text-align: right; }
.cc-release-footnote { border-left: 2px solid var(--cc-blue); color: var(--text2); font-size: 11px; line-height: 1.65; margin: 20px 0 0; padding-left: 10px; }
.cc-footer { background: transparent; border-top: 1px solid var(--cc-line); bottom: auto; color: var(--text2); padding: 28px 24px; position: relative; }
.cc-footer a { color: var(--text); }

.cc-lightbox { background: var(--bg); border: 0; box-shadow: none; color: var(--cc-ink); left: 50%; margin: 0; max-height: 92vh; max-width: min(920px, calc(100% - 32px)); padding: 18px; position: fixed; top: 4vh; transform: translateX(-50%); width: min(920px, calc(100% - 32px)); }
.cc-lightbox::backdrop { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px); }
.cc-lightbox figure { align-items: center; display: flex; flex-direction: column; margin: 0; }
.cc-lightbox img { display: block; max-height: 78vh; max-width: 100%; object-fit: contain; }
.cc-lightbox figcaption { color: var(--text2); font-size: 12px; line-height: 1.5; padding: 12px 4px 2px; }
.cc-lightbox-close { background: transparent; border: 0; color: var(--cc-ink); cursor: pointer; font-size: 28px; line-height: 1; padding: 6px 10px; position: absolute; right: 8px; top: 6px; z-index: 1; }

.cc-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.cc-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .cc-local-nav {
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border-bottom: 1px solid var(--cc-line);
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    position: sticky;
    right: auto;
    top: 48px;
    transform: none;
    width: 100%;
  }
  .cc-local-nav-inner {
    align-items: center;
    flex-direction: row;
    gap: 26px;
    min-height: 55px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
  }
  .cc-local-nav-label { margin: 0 auto 0 0; }
  .cc-local-nav a {
    border-left: 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
    padding: 19px 0 16px;
  }
  .cc-local-nav a:hover, .cc-local-nav a.is-active {
    background: transparent;
    border-bottom-color: var(--cc-blue);
    border-left-color: transparent;
  }
}

@media (max-width: 980px) {
  .cc-hero { min-height: 0; padding-top: 112px; }
  .cc-hero-grid { gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr); }
  .cc-title { font-size: 58px; }
  .cc-thesis { font-size: 26px; }
  .cc-device img { height: 500px; }
  .cc-device { width: min(100%, 260px); }
  .cc-section-head, .cc-split, .cc-platform-grid, .cc-architecture-grid, .cc-start-grid { gap: 44px; }
  .cc-section-head h2, .cc-section-copy h2, .cc-start-copy h2 { font-size: 37px; }
  .cc-memory-layout { grid-template-columns: minmax(0, 1fr) 150px; }
  .cc-feature-card--primary { min-height: 280px; }
}

@media (max-width: 720px) {
  .cc-container { width: min(100% - 36px, 560px); }
  .cc-hero { padding: 76px 0 24px; }
  .cc-hero::before { inset: 0; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent); }
  .cc-hero-grid, .cc-section-head, .cc-split, .cc-platform-grid, .cc-architecture-grid, .cc-start-grid, .cc-context-grid { grid-template-columns: 1fr; }
  .cc-hero-grid { gap: 20px; }
  .cc-eyebrow { margin-bottom: 18px; }
  .cc-brandline { margin-bottom: 16px; }
  .cc-title { font-size: 45px; letter-spacing: 0; }
  .cc-thesis { font-size: 23px; }
  .cc-lead { font-size: 16px; line-height: 1.6; }
  .cc-actions { margin-top: 22px; }
  .cc-boundary { font-size: 11px; margin-top: 18px; }
  .cc-hero-visual { justify-self: center; }
  .cc-device { max-height: 175px; padding: 0; width: 160px; }
  .cc-device img { border-radius: 0; height: 155px; }
  .cc-device-speaker { top: 2px; width: 38px; }
  .cc-hero-visual figcaption { margin-top: 10px; }
  .cc-hero-stamp { height: 56px; right: -14px; top: 19px; width: 56px; }
  .cc-hero-stamp span { font-size: 8px; }
  .cc-hero-stamp strong { font-size: 12px; }
  .cc-scroll-prompt { margin-top: 18px; }
  .cc-local-nav { top: 48px; }
  .cc-local-nav-label { display: none; }
  .cc-local-nav-inner { gap: 22px; }
  .cc-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-metric { min-height: 126px; padding: 20px 16px; }
  .cc-metric:nth-child(2) { border-right: 1px solid var(--cc-line); }
  .cc-metric:nth-child(3), .cc-metric:nth-child(4) { border-top: 1px solid var(--cc-line); }
  .cc-section { padding: 78px 0; }
  .cc-section-head { margin-bottom: 36px; }
  .cc-section-head h2, .cc-section-copy h2, .cc-start-copy h2 { font-size: 33px; }
  .cc-feature-grid { grid-template-columns: 1fr; }
  .cc-feature-card--primary { grid-column: auto; min-height: 0; }
  .cc-feature-card { min-height: 0; }
  .cc-memory-layout, .cc-platform-evidence { grid-template-columns: 1fr; }
  .cc-context-column { min-height: 0; padding: 28px 0; }
  .cc-context-column + .cc-context-column { border-left: 0; border-top: 1px solid var(--cc-line-strong); padding-left: 0; }
  .cc-context-label { margin-bottom: 28px; }
  .cc-memory-shot { max-width: 220px; }
  .cc-platform-shot--large { grid-row: auto; }
  .cc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-gallery-item--hero { grid-column: span 2; grid-row: auto; }
  .cc-gallery-item--hero .cc-shot { aspect-ratio: 9 / 15; }
  .cc-architecture-map { min-height: 450px; padding: 34px 20px 28px; }
  .cc-flow-branch-labels span { font-size: 10px; }
  .cc-start-grid { gap: 38px; }
  .cc-release-row { align-items: start; flex-direction: column; gap: 5px; }
  .cc-release-row strong, .cc-release-row code { text-align: left; }
}

@media (max-width: 420px) {
  .cc-container { width: min(100% - 28px, 560px); }
  .cc-title { font-size: 39px; }
  .cc-thesis { font-size: 21px; }
  .cc-device { padding: 0; width: 236px; }
  .cc-device img { height: 470px; }
  .cc-hero-stamp { height: 72px; right: -9px; width: 72px; }
  .cc-hero-stamp strong { font-size: 15px; }
  .cc-metric strong { font-size: 20px; }
  .cc-metric span { font-size: 12px; }
  .cc-metric small { font-size: 10px; }
  .cc-section-head h2, .cc-section-copy h2, .cc-start-copy h2 { font-size: 29px; }
}

@media (max-width: 360px) {
  .cc-boundary { display: none; }
  .cc-device { max-height: 110px; width: 160px; }
  .cc-device img { height: 90px; }
  .cc-hero-stamp { height: 48px; right: -10px; width: 48px; }
  .cc-hero-stamp strong { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-reveal { opacity: 1; transform: none; transition: none; }
  .cc-button, .cc-feature-card, .cc-shot > span, .cc-shot::after { transition: none; }
}

/* v1.2.0 additions: hero release flags, changelog ledger, context tiers, three-column split */
.cc-hero-new { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cc-hero-new > strong {
  color: var(--cc-blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-right: 4px;
  text-transform: uppercase;
}
.cc-hero-new span {
  border: 1px solid color-mix(in srgb, var(--cc-blue) 42%, var(--cc-line-strong));
  border-radius: 999px;
  color: var(--text);
  font-size: 11px;
  padding: 6px 11px;
}

.cc-feature-card--wide { grid-column: span 2; }

.cc-new-list { border-top: 1px solid var(--cc-line-strong); list-style: none; margin: 0; padding: 0; }
.cc-new-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--cc-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 96px minmax(0, 0.78fr) minmax(0, 1.42fr);
  padding: 22px 0;
  transition: border-color 0.25s ease;
}
.cc-new-list li:hover { border-bottom-color: var(--cc-blue); }
.cc-new-flag { align-items: center; display: flex; gap: 8px; }
.cc-new-flag i {
  border: 1px solid color-mix(in srgb, var(--cc-teal) 50%, var(--cc-line-strong));
  border-radius: 3px;
  color: var(--cc-teal);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
  padding: 3px 6px;
}
.cc-new-flag em {
  color: var(--text2);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-style: normal;
}
.cc-new-list h3 { color: var(--cc-ink); font-size: 15px; font-weight: 650; letter-spacing: 0; line-height: 1.45; margin: 0; }
.cc-new-list p { color: var(--text2); font-size: 13px; line-height: 1.72; margin: 0; }
.cc-new-list code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.92em; }

.cc-tier-table { border-top: 1px solid var(--cc-line-strong); margin-top: 34px; }
.cc-tier-row {
  align-items: baseline;
  border-bottom: 1px solid var(--cc-line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.86fr) 128px minmax(0, 1.5fr);
  padding: 15px 0;
}
.cc-tier-row--head { border-bottom-color: var(--cc-line-strong); padding: 0 0 10px; }
.cc-tier-row--head span { color: var(--text2); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.cc-tier-name { align-items: baseline; color: var(--text); display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 650; gap: 8px; line-height: 1.55; }
.cc-tier-tag {
  border: 1px solid color-mix(in srgb, var(--cc-blue) 45%, var(--cc-line-strong));
  border-radius: 3px;
  color: var(--cc-blue);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  padding: 2px 6px;
}
.cc-tier-cost { color: var(--text); font-size: 12px; line-height: 1.55; }
.cc-tier-row p { color: var(--text2); font-size: 12px; line-height: 1.55; margin: 0; }

/* Chip rows holding Chinese labels keep the body font; the monospace chip style is for latin identifiers. */
.cc-chips-cn span { font-family: inherit; font-size: 11px; letter-spacing: 0; }

/*
 * Monospace is reserved for latin identifiers,版本号 and numerals: Consolas has no CJK glyphs, so any
 * Chinese inside a monospace element falls back to a serif face (宋体) and breaks the page's type.
 * Everything below carries Chinese, so it uses the body font at the same optical size.
 */
.cc-local-nav-label { font-family: inherit; font-size: 10px; letter-spacing: 0.05em; }
.cc-hero-visual figcaption { font-family: inherit; font-size: 11px; letter-spacing: 0.04em; }
.cc-hero-new > strong { font-family: inherit; letter-spacing: 0.02em; }
.cc-context-label { font-family: inherit; font-size: 11px; letter-spacing: 0.04em; }
.cc-context-list dd { font-family: inherit; font-size: 11px; }
.cc-stack-table span { font-family: inherit; font-size: 11px; letter-spacing: 0.02em; }
.cc-flow-node span { font-family: inherit; font-size: 11px; letter-spacing: 0; }
.cc-flow-branch-labels small { font-family: inherit; font-size: 10px; }
.cc-version { font-family: inherit; font-size: 12px; letter-spacing: 0.02em; }

.cc-context-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-context-grid--three .cc-context-column { min-height: 300px; }
.cc-context-column--tools .cc-context-label { color: var(--cc-orange); }
.cc-section--memory .cc-context-grid { margin-top: 74px; }
.cc-steps { margin-top: 34px; }
.cc-steps li { grid-template-columns: 26px 1fr; }

@media (max-width: 980px) {
  .cc-new-list li { gap: 10px 20px; grid-template-columns: 84px minmax(0, 1fr); }
  .cc-new-list p { grid-column: 2; }
  .cc-context-grid--three { grid-template-columns: 1fr; }
  .cc-context-grid--three .cc-context-column { min-height: 0; padding: 28px 0; }
  .cc-context-grid--three .cc-context-column + .cc-context-column { border-left: 0; border-top: 1px solid var(--cc-line-strong); padding-left: 0; }
  .cc-context-grid--three .cc-context-label { margin-bottom: 26px; }
  .cc-section--memory .cc-context-grid { margin-top: 50px; }
}

@media (max-width: 720px) {
  .cc-hero-new { gap: 6px; margin-top: 18px; }
  .cc-hero-new span { font-size: 10px; padding: 5px 9px; }
  .cc-feature-card--wide { grid-column: auto; }
  .cc-new-list li { gap: 8px; grid-template-columns: 1fr; padding: 18px 0; }
  .cc-new-list p { grid-column: auto; }
  .cc-tier-row { gap: 6px; grid-template-columns: 1fr; padding: 16px 0; }
  .cc-tier-row--head { display: none; }
  .cc-section--memory .cc-context-grid { margin-top: 38px; }
}
