:root {
  --ink: #171717;
  --muted: #77736e;
  --faint: #aaa49d;
  --line: #ded9d2;
  --paper: #f8f7f4;
  --panel: #ebe9e4;
  --pink: #ff5870;
  --teal: #087f78;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { position: relative; z-index: 2; height: 78px; display: flex; align-items: center; justify-content: space-between; max-width: 1220px; margin: auto; padding: 0 34px; }
.brand { display: block; line-height: 0; }
.brand img { display: block; width: 139px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--pink); }
.header-cta { display: inline-flex; align-items: center; gap: 13px; padding: 10px 14px; border-radius: 4px; background: var(--ink); color: #fff; }
.header-cta span, .primary-cta span { color: var(--pink); font-size: 16px; }
.header-store { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 6px; background: #1c1c1c; color: #fff; }
.header-store.is-soon { cursor: default; }
.header-store .store-apple { width: 17px; height: 17px; }
.header-store .store-text em { font-size: 8px; }
.header-store .store-text b { font-size: 12px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 45%); gap: 54px; align-items: center; max-width: 1220px; min-height: 610px; margin: auto; padding: 90px 34px 128px; border-top: 1px solid var(--line); }
.hero-copy { max-width: 560px; }
.hero-window { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #ececec; box-shadow: 0 30px 70px rgba(23, 23, 23, .13), 0 6px 16px rgba(23, 23, 23, .05); }
.hw-bar { display: flex; align-items: center; padding: 11px 15px; background: #fafafa; border-bottom: 1px solid #efefef; }
.hw-dots { display: flex; gap: 7px; }
.hw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e2e2e2; }
.hw-dots i:nth-child(1) { background: #ff5f57; }
.hw-dots i:nth-child(2) { background: #febc2e; }
.hw-dots i:nth-child(3) { background: #28c840; }
.hw-name { flex: 1; margin-right: 46px; text-align: center; color: #b7b3ad; font-size: 12px; letter-spacing: .02em; }
.hw-body { padding: 28px 30px 30px; }
.hw-title { margin: 0 0 18px; padding-bottom: 6px; color: #01847e; font-size: 22px; font-weight: 400; line-height: 1.4; border-bottom: 1px solid rgba(1, 132, 126, .1); }
.hw-p { margin: 0 0 15px; color: #1a1a1a; font-size: 14.5px; font-weight: 300; line-height: 1.95; }
.hw-quote { position: relative; margin: 0 0 16px; padding: 13px 18px 13px 46px; border-radius: 6px; background: linear-gradient(90deg, rgba(1, 132, 126, .08), rgba(255, 89, 113, .08)); color: #6b6b6b; font-size: 14px; font-weight: 300; line-height: 1.75; }
.hw-quote::before { content: "\201C"; position: absolute; left: 16px; top: 9px; color: rgba(1, 132, 126, .63); font-size: 30px; line-height: 1; }
.label { margin: 0 0 23px; color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.hero h1 { margin: 0; font-size: clamp(44px, 5.4vw, 74px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 490px; margin: 31px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.primary-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 16px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; transition: transform 140ms ease, box-shadow 140ms ease; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(23, 23, 23, .15); }
.store-cta { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 6px; background: #1c1c1c; color: #fff; }
.store-cta.is-soon { cursor: default; }
.store-apple { width: 21px; height: 21px; flex: 0 0 auto; fill: #fff; }
.store-text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-text em { font-style: normal; font-size: 9px; letter-spacing: .03em; color: #c7c4c1; }
.store-text b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.hero-note { display: block; margin-top: 16px; color: var(--faint); font-size: 11px; }

.showcase { max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); }
.reader-preview { max-width: none; margin: 0; overflow: hidden; border: 1px solid #d7d2cb; border-radius: 10px; background: #fff; box-shadow: 0 24px 44px rgba(41, 32, 23, .13); }
.preview-bar { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid #ebe8e4; color: #9b9792; font-size: 11px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ded9d3; }
.preview-actions { margin-left: auto; color: #85817c; font-size: 15px; }
.preview-main { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 360px; }
.preview-sidebar { display: grid; align-content: start; gap: 8px; padding: 28px 14px; background: #f1f0ee; color: #a19d98; font-size: 11px; }
.preview-sidebar strong { margin: 0 7px 15px; color: #5b5854; font-size: 12px; }
.preview-sidebar .folder { padding: 9px 8px; border-radius: 4px; }
.preview-sidebar .active { background: #fff0eb; color: var(--pink); }
.preview-document { min-width: 0; padding: 45px 48px; }
.document-path { margin: 0 0 23px; color: var(--pink); font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.window-dots i:nth-child(1) { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.doc-h { margin: 0 0 16px; font-size: 27px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; color: #1a1a1a; }
.doc-p { margin: 0 0 18px; color: #3a3a3a; font-size: 15px; line-height: 1.95; }
.doc-link { color: var(--teal); border-bottom: 1px solid rgba(8, 127, 120, .4); }
.doc-quote { position: relative; margin: 0 0 18px; padding: 12px 16px 12px 44px; border-radius: 6px; background: linear-gradient(90deg, rgba(1, 132, 126, .09), rgba(255, 89, 113, .08)); color: #4a4740; font-size: 14px; line-height: 1.7; }
.doc-quote::before { content: '\201C'; position: absolute; left: 15px; top: 9px; color: rgba(1, 132, 126, .6); font-size: 30px; line-height: 1; }
.doc-formula { padding: 13px 16px; border-radius: 6px; background: #f6f6f6; text-align: center; color: #2a2a2a; font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.doc-formula i { font-style: italic; }
.doc-formula sub { font-size: .68em; vertical-align: -.25em; }
.doc-formula { margin: 0 0 18px; }
.doc-link::before { content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2301847f' stroke-width='2'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E"); }
.doc-chart { margin: 0 0 18px; padding: 14px 16px 10px; border: 1px solid #ececec; border-radius: 8px; background: #fff; }
.doc-chart svg { display: block; width: 100%; height: auto; }
.doc-chart .ch-grid { stroke: #eef0ef; stroke-width: 1; }
.doc-chart .ch-area { fill: rgba(1, 132, 126, .1); }
.doc-chart .ch-line { fill: none; stroke: #01847f; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.doc-chart .ch-dots circle { fill: #fff; stroke: #01847f; stroke-width: 2.5; }
.doc-chart .ch-x text { fill: #9b9792; font: 11px ui-sans-serif, system-ui, sans-serif; text-anchor: middle; }
.doc-chart figcaption { margin-top: 7px; color: #8a867f; font-size: 12px; text-align: center; }
.doc-backlinks { margin: 22px 0 0; padding: 15px 18px; border-radius: 8px; background: #f4f6f7; }
.bl-head { margin: 0 0 9px; color: #5b5854; font-size: 12.5px; font-weight: 700; }
.bl-item { display: flex; align-items: center; gap: 7px; padding: 5px 0; color: var(--teal); font-size: 13.5px; }
.bl-item::before { content: ''; flex: 0 0 auto; width: 14px; height: 14px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2301847f' stroke-width='2'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E"); }

.statement { max-width: 1220px; margin: auto; padding: 70px 34px 96px; }
.statement-inner { padding: 76px 64px 80px; border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, #15313a 0%, #0d0d0d 55%); color: #fff; }
.statement-inner .label { color: #ff8095; }
.statement blockquote { max-width: 900px; margin: 0; font-size: clamp(34px, 5vw, 64px); font-weight: 400; line-height: 1.1; letter-spacing: -.07em; }
.statement blockquote em { color: #50e3c2; font-style: normal; }
.statement-sub { max-width: 560px; margin: 30px 0 0; color: rgba(255, 255, 255, .66); font-size: 15px; line-height: 1.9; }
.statement-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.primary-cta.on-dark { background: #fff; color: #171717; }
.primary-cta.on-dark:hover { box-shadow: 0 12px 25px rgba(0, 0, 0, .3); }
.statement-sub + .statement-cta { margin-top: 36px; }

.section-heading { max-width: 640px; margin: 0 0 44px; }
.section-heading .label { margin-bottom: 16px; }
.section-heading h2 { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; line-height: 1.18; letter-spacing: -.055em; }
.section-heading h2 em { color: var(--teal); font-style: normal; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }

.color-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 56px; max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); }
.color-swatch { position: relative; overflow: hidden; isolation: isolate; min-height: 320px; border-radius: 14px; box-shadow: 0 24px 55px rgba(11, 125, 120, .26); background: #0b6f6a; }
.color-swatch picture { position: absolute; inset: 0; display: block; }
.cs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transform-origin: 42% 46%; animation: cs-ken 26s ease-in-out infinite alternate; }
.color-swatch > span { position: absolute; }
.cs-wet { inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .14) 80%, rgba(255, 255, 255, 0) 100%); mix-blend-mode: screen; opacity: .7; animation: cs-wet 11s ease-in-out infinite; }
.cs-tag { z-index: 2; font: 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.cs-tag-sea { left: 20px; top: 18px; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.cs-tag-sand { right: 20px; bottom: 18px; color: rgba(1, 100, 94, .92); text-shadow: 0 1px 2px rgba(255, 255, 255, .45); }
@keyframes cs-ken { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.13) translate(-2%, -1.6%); } }
@keyframes cs-wet { 0%, 100% { transform: translateX(-6%); opacity: .5; } 50% { transform: translateX(6%); opacity: .78; } }
@media (prefers-reduced-motion: reduce) { .cs-photo, .cs-wet { animation: none; } }
.color-swatch.is-off .cs-photo, .color-swatch.is-off .cs-wet { animation-play-state: paused; }
.color-copy { align-self: center; }
.color-copy h2 { margin: 16px 0 18px; font-size: clamp(32px, 4vw, 50px); font-weight: 400; letter-spacing: -.06em; }
.color-copy > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.95; }

.history { max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); }
.history-panel { max-width: none; margin: 0; border: 1px solid #E6DCC9; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 26px 60px rgba(80, 66, 44, .14); }
.hp-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; background: #F7EEDD; border-bottom: 1px solid #E6DCC9; font-size: 13px; color: #3A322B; }
.hp-title b { font-weight: 600; }
.hp-title i { margin-left: 8px; color: #7A6E62; font-style: normal; }
.hp-chrome { color: #9A8F80; letter-spacing: 3px; }
.hp-timeline { position: relative; padding: 8px 26px 2px; }
.hp-track { position: relative; height: 2px; margin: 26px 6px 12px; background: #D1DBE7; }
.hp-seg { position: absolute; left: 0; width: 72%; height: 100%; background: linear-gradient(90deg, #FF5971, #00D1C7); }
.hp-knob { position: absolute; top: 50%; left: 0; width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid #fff; transform: translate(-50%, -50%); cursor: grab; touch-action: none; z-index: 2; }
.hp-knob:active { cursor: grabbing; }
.hp-knob.cue { animation: hp-cue 1.2s ease 3; }
.hp-knob::before { content: ''; position: absolute; inset: -11px; border-radius: 50%; }
.hp-hint { max-width: none; margin: 18px 0 0; color: var(--faint); font-size: 12px; }
@keyframes hp-cue { 0%, 100% { box-shadow: 0 0 0 4px rgba(3, 197, 148, .2); } 50% { box-shadow: 0 0 0 8px rgba(3, 197, 148, .3); } }
.hp-knob.red { background: #FF5971; box-shadow: 0 0 0 4px rgba(255, 89, 113, .18); }
.hp-knob.teal { background: #00D1C7; box-shadow: 0 0 0 4px rgba(3, 197, 148, .18); }
.hp-pdot { position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #FF5971; transform: translate(-50%, -50%); }
.hp-pdot.idle { background: #D1DBE7; }
.hp-tl { position: absolute; bottom: 12px; font-size: 11px; font-weight: 600; transform: translateX(-50%); white-space: nowrap; }
.hp-tl-red { left: 0; color: #FF5971; transform: translateX(0); }
.hp-tl-teal { left: 72%; color: #00B8AF; }
.hp-cols, .hp-diff { display: grid; grid-template-columns: 1fr 1fr; }
.hp-head { padding: 6px 12px; text-align: center; font-size: 12px; color: #8A7F72; background: #EFE7D8; border-top: 1px solid #E6DCC9; }
.hp-head + .hp-head, .hp-cell:nth-child(even) { border-left: 1px solid #E6DCC9; }
.hp-cell { position: relative; padding: 14px 16px; border-top: 1px solid #F0E9DB; }
.hp-removed { background: rgba(255, 59, 48, .14); }
.hp-empty { background: #FAF6EE; }
.hp-added { background: rgba(0, 200, 83, .14); }
.hp-h { margin: 0; font-size: 15px; font-weight: 700; color: #2B2B2B; border-bottom: 2px solid rgba(0, 0, 0, .12); padding-bottom: 4px; display: inline-block; }
.hp-p { margin: 0; font-size: 13px; line-height: 1.75; color: #3A322B; }
.hp-del { background: rgba(255, 59, 48, .40); text-decoration: line-through; border-radius: 2px; padding: 0 2px; }
.hp-ins { background: rgba(0, 200, 83, .40); border-radius: 2px; padding: 0 2px; }

.mindmap { max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); }
.mm-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: none; margin: 0; }
.mm-live { position: relative; min-height: 372px; display: flex; align-items: center; }
.mm-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.mm-root-node { position: relative; z-index: 1; flex: 0 0 auto; padding: 11px 15px; border-radius: 9px; background: #11112A; color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px #2F80ED; }
.mm-branches { position: relative; z-index: 1; margin-left: auto; display: flex; flex-direction: column; gap: 12px; width: 60%; }
.mm-branch { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 13px rgba(80, 66, 44, .13); touch-action: none; transition: transform 170ms cubic-bezier(.2, .7, .3, 1), box-shadow 140ms ease; }
.mm-branch.dragging { transition: box-shadow 140ms ease; box-shadow: 0 14px 30px rgba(80, 66, 44, .32); position: relative; z-index: 5; }
.mm-handle { display: inline-flex; cursor: grab; padding: 2px 1px; margin: -2px 0; opacity: .6; font-size: 13px; line-height: 1; letter-spacing: -2px; user-select: none; touch-action: none; }
.mm-handle:hover { opacity: 1; }
.mm-branch.dragging .mm-handle, body.mm-grabbing { cursor: grabbing; }
.mm-handle.cue { animation: mm-cue 1.1s ease 3; }
.mm-label { flex: 1; min-width: 0; }
.mm-ord { opacity: .8; font-weight: inherit; font-variant-numeric: tabular-nums; }
.mm-coach { position: absolute; top: -37px; left: 8px; z-index: 4; padding: 5px 11px; border-radius: 8px; background: #11112A; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 7px 18px rgba(0, 0, 0, .22); pointer-events: none; animation: mm-bob 1.1s ease-in-out infinite; }
.mm-coach::after { content: ''; position: absolute; left: 17px; bottom: -4px; width: 9px; height: 9px; background: #11112A; transform: rotate(45deg); }
@keyframes mm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.coach-hand { position: absolute; left: 0; top: 0; width: 30px; height: 30px; z-index: 6; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.coach-hand.on { opacity: 1; }
.coach-hand svg { display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .28)); transition: transform .12s ease; }
.coach-hand.pressing svg { transform: scale(.88); }
.coach-ripple { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: rgba(47, 128, 237, .4); transform: scale(0); opacity: 0; }
.coach-hand.pressing .coach-ripple { animation: coach-press .5s ease; }
@keyframes coach-press { 0% { transform: scale(0); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mm-cue { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(3px); opacity: 1; } }
.mm-branch-txt { flex: 1; min-width: 0; outline: none; cursor: text; border-radius: 4px; border-bottom: 1px dashed transparent; }
.mm-branch-txt:hover { border-bottom-color: rgba(255, 255, 255, .55); }
.mm-branch-txt:focus { background: rgba(255, 255, 255, .28); border-bottom-color: transparent; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.mm-guide { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.mm-guide-chip { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 12px; }
.mm-foot { margin: 20px 0 0; color: var(--faint); font-size: 12px; }
.mm-doc { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 26px 28px; box-shadow: 0 18px 44px rgba(80, 66, 44, .1); }
.mm-doc h1 { margin: 0 0 16px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #1a1a1a; }
.mm-doc h2 { margin: 17px 0 7px; font-size: 15px; font-weight: 700; color: var(--teal); }
.mm-doc h2:first-of-type { margin-top: 0; }
.mm-doc p { margin: 0; color: #46423c; font-size: 13.5px; line-height: 1.8; }

.capabilities { max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); }
.paste-demo { max-width: none; margin: 0 0 54px; }
.app-demo { border: 1px solid #d7d2cb; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 26px 56px rgba(41, 32, 23, .15); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid #ebe8e4; background: #f7f5f2; }
.app-dots { display: flex; gap: 7px; flex: 0 0 auto; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; }
.app-dots i:nth-child(1) { background: #ff5f57; }
.app-dots i:nth-child(2) { background: #febc2e; }
.app-dots i:nth-child(3) { background: #28c840; }
.app-crumb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6f6a64; font-size: 12.5px; font-weight: 600; }
.app-tools { flex: 0 0 auto; color: #a7a29b; font-size: 14px; letter-spacing: 1px; }
.app-body { padding: 26px 28px 30px; }
.pd-cap { margin: 0 0 14px; color: var(--ink); font-size: 14px; line-height: 1.85; }
.pd-code { margin: 0 0 26px; border-radius: 8px; background: #f5f5f5; overflow: hidden; }
.pd-code-head { padding: 10px 16px 0; color: #6b6b6b; font: 12.6px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.pd-code pre { margin: 0; padding: 6px 16px 15px; overflow-x: auto; color: #1a1a1a; font: 12.6px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.pd-code .t-k { color: #8250df; }
.pd-code .t-s { color: #c7254e; }
.pd-code .t-f { color: #0b6e99; }
.pd-table-wrap { overflow-x: auto; }
.pd-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.pd-table th, .pd-table td { border: 1px solid #d8d8d8; padding: 8px 13px; text-align: left; }
.pd-table th { background: #eaeaea; color: #1a1a1a; font-weight: 600; }
.pd-table code { padding: 2px 6px; border: 1px solid #f7e9f2; border-radius: 4px; background: #faf4f8; color: #ff5971; font: 12.6px ui-monospace, "SFMono-Regular", Consolas, monospace; }
.cap-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-list > div { padding-top: 20px; border-top: 2px solid var(--ink); }
.cap-list b { display: block; margin-bottom: 30px; color: var(--pink); font-size: 20px; line-height: 1; }
.cap-list strong { display: block; margin-bottom: 9px; font-size: 16px; font-weight: 600; }
.cap-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.local-agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; max-width: 1220px; margin: auto; padding: 104px 34px; border-top: 1px solid var(--line); align-items: center; }
.la-copy .la-block + .la-block { margin-top: 40px; }
.la-block h2 { margin: 14px 0 14px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 400; line-height: 1.3; letter-spacing: -.04em; }
.la-block p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.agent-demo { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(80, 66, 44, .12); overflow: hidden; }
.ad-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #0F1419; color: #CDD6E0; font-size: 12px; }
.ad-live { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .22); }
.ad-chip { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #9FB0C0; font-size: 11px; }
.ad-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 10px; }
.ad-row { display: flex; gap: 10px; align-items: flex-start; }
.ad-who { flex: 0 0 auto; margin-top: 3px; font-size: 11px; font-weight: 700; color: #9A8F80; }
.ad-who.ad-flow { color: var(--teal); }
.ad-ask p { margin: 0; padding: 9px 12px; border-radius: 10px 10px 10px 2px; background: var(--panel); color: #3A322B; font-size: 13px; line-height: 1.6; }
.ad-files { display: flex; flex-direction: column; gap: 7px; }
.ad-file { padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: #FBFAF8; font-size: 13px; color: #3A322B; }
.ad-file::before { content: '\1F4C4\00A0'; }
.ad-foot { margin: 0; padding: 11px 16px 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11.5px; }
.ad-live.pulse { animation: ad-pulse 1.9s ease-in-out infinite; }
@keyframes ad-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(61, 220, 151, .24); } 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, .05); } }
.ad-caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; background: var(--teal); vertical-align: -2px; animation: ad-caretblink 1s step-end infinite; }
@keyframes ad-caretblink { 50% { opacity: 0; } }
.ad-dots { display: inline-flex; gap: 5px; padding: 6px 2px; }
.ad-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9c3ba; animation: ad-bounce 1.1s ease-in-out infinite; }
.ad-dots i:nth-child(2) { animation-delay: .15s; }
.ad-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ad-bounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.statement-meta { display: flex; align-items: center; gap: 11px; margin-top: 48px; color: var(--faint); font-size: 11px; }
.statement-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--pink); }

.site-footer { display: flex; align-items: center; justify-content: space-between; max-width: 1220px; margin: auto; padding: 24px 34px 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.site-footer > span:last-child { display: flex; align-items: center; gap: 22px; }
.footer-soon { cursor: default; }

@media (max-width: 900px) {
  .reader-preview { max-width: 100%; }
  .mm-demo { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .color-story { display: block; }
  .color-copy { margin-top: 28px; }
  .local-agent { display: block; }
  .la-copy .la-block + .la-block { margin-top: 36px; }
  .agent-demo { margin-top: 36px; }
}

.legal { max-width: 720px; margin: auto; padding: 56px 34px 110px; }
.legal-back { display: inline-block; margin-bottom: 34px; color: var(--muted); font-size: 13px; }
.legal-back:hover { color: var(--pink); }
.legal-eyebrow { margin: 0 0 14px; color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.legal h1 { margin: 0 0 10px; font-size: 38px; font-weight: 500; letter-spacing: -.04em; }
.legal-meta { margin: 0 0 26px; color: var(--faint); font-size: 12px; }
.legal-note { display: flex; gap: 10px; margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fcfbf9; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.legal-note::before { content: '!'; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 18px; }
.legal-summary { margin: 30px 0 8px; padding: 22px 24px; border-radius: 10px; background: var(--panel); }
.legal-summary h2 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.legal-summary ul { margin: 0; padding-left: 18px; color: #46423c; font-size: 13px; line-height: 1.95; }
.legal-summary li { margin-bottom: 4px; }
.legal section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.legal section:first-of-type { border-top: 0; }
.legal h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.legal h2 .legal-no { flex: 0 0 auto; color: var(--pink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.legal p { margin: 0 0 12px; color: #46423c; font-size: 14px; line-height: 1.95; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0; padding-left: 19px; color: #46423c; font-size: 14px; line-height: 1.95; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--faint); }
.legal code { padding: 2px 6px; border-radius: 4px; background: var(--panel); color: var(--teal); font-size: .9em; }
.legal a { color: var(--teal); }
.legal-flag { color: var(--pink); font-size: 12px; }
.legal-contact { color: var(--muted); font-size: 13px; line-height: 1.95; }

@media (max-width: 640px) {
  .legal { padding: 40px 20px 76px; }
  .legal h1 { font-size: 31px; }
  .legal-summary { padding: 18px 18px; }
  .legal { padding: 52px 20px 80px; }
  .legal h1 { font-size: 36px; }
  .site-header { height: 66px; padding: 0 20px; }
  .brand img { width: 120px; }
  .site-header nav { gap: 12px; }
  .site-header nav a:not(.header-cta) { display: none; }
  .site-header nav .header-store { display: none; }
  .header-cta { display: none; }
  .hero { display: block; min-height: 0; padding: 61px 20px 78px; }
  .hero-copy { max-width: none; }
  .hero-window { margin-top: 34px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 52px); }
  .hero-lead { margin-top: 25px; font-size: 14px; }
  .hero-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-action .primary-cta, .hero-action .store-cta { width: 100%; justify-content: center; }
  .hero-action small { display: block; margin-top: 15px; }
  .showcase { padding: 64px 20px; }
  .preview-main { grid-template-columns: 104px minmax(0, 1fr); min-height: 310px; }
  .preview-sidebar { padding: 21px 8px; font-size: 10px; }
  .preview-sidebar strong { margin-left: 5px; }
  .preview-document { padding: 32px 19px; }
  .preview-document h3 { font-size: 25px; }
  .document-copy { font-size: 11px; }
  .statement { padding: 56px 20px 72px; }
  .statement-inner { padding: 48px 24px 52px; border-radius: 18px; }
  .statement blockquote { font-size: 36px; }
  .site-footer { display: block; padding: 23px 20px 30px; line-height: 1.8; }
  .site-footer > span:last-child { flex-wrap: wrap; gap: 12px 18px; margin-top: 10px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .color-story { display: block; padding: 64px 20px; }
  .color-swatch { min-height: 190px; }
  .color-copy { margin-top: 30px; }
  .history, .mindmap, .capabilities, .local-agent { padding: 64px 20px; }
  .mm-demo { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mm-live { display: block; min-height: 0; }
  .mm-wires { display: none; }
  .mm-root-node { display: inline-block; max-width: 100%; white-space: normal; margin-bottom: 16px; }
  .mm-branches { width: 100%; margin-left: 0; }
  .hp-p { font-size: 11.5px; line-height: 1.6; }
  .hp-cell { padding: 11px 11px; }
  .hp-cols, .hp-diff { grid-template-columns: 1fr; }
  .hp-cols .hp-head + .hp-head, .hp-diff .hp-cell:nth-child(even) { border-left: 0; }
  .cap-list { grid-template-columns: 1fr; gap: 28px; }
  .cap-list > div { padding-top: 16px; }
  .cap-list b { margin-bottom: 16px; }
  .local-agent { display: block; }
  .la-copy .la-block + .la-block { margin-top: 44px; }
  .agent-demo { margin-top: 44px; }
}

.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0 30px; }
.feedback-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.feedback-card .fb-tag { color: var(--pink); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.feedback-card h2 { margin: 10px 0 8px; font-size: 19px; font-weight: 600; }
.feedback-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.feedback-card .fb-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 15px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; }
.feedback-card .fb-cta span { color: var(--pink); font-size: 16px; }
.feedback-tips { margin: 10px 0 0; padding: 18px 20px; border-radius: 10px; background: var(--panel); }
.feedback-tips h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.feedback-tips ul { margin: 0; padding-left: 18px; color: #46423c; font-size: 13px; line-height: 1.95; }
.feedback-direct { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.feedback-direct a { color: var(--teal); }

/* 邮件兜底：CTA 下的提示行 + 「邮件窗口没有自动打开」面板。mailto 靠系统里注册的邮件
   客户端接手，缺了就静默无反应，这两块是那种机器的出口（feed00-73740）。色值全部取自
   上面 :root 的既有变量，不另起一份。 */
.fb-mail-hint { margin: 14px 0 0; color: var(--faint); font-size: 12px; line-height: 1.7; }
.fb-mail-hint code, .fb-unsent code { font: inherit; color: var(--teal); user-select: all; cursor: copy; border-bottom: 1px dashed currentColor; }
.fb-unsent { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(23, 23, 23, .45); }
.fb-unsent[hidden] { display: none; }
.fb-unsent-card { width: min(560px, 100%); max-height: 100%; overflow: auto; padding: 24px 26px; border-radius: 12px; background: #fff; box-shadow: 0 26px 60px rgba(23, 23, 23, .28); }
.fb-unsent-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.fb-unsent-desc { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.fb-unsent-lbl { display: block; margin: 14px 0 5px; color: var(--faint); font-size: 11px; letter-spacing: .04em; }
.fb-unsent-card input, .fb-unsent-card textarea { display: block; width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: 13px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
.fb-unsent-card textarea { min-height: 168px; resize: vertical; white-space: pre-wrap; }
.fb-unsent-actions { display: flex; gap: 10px; margin-top: 18px; }
.fb-unsent-actions button { flex: 1; padding: 10px 14px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.fb-unsent-actions .fb-unsent-close { flex: 0 0 auto; background: var(--panel); color: var(--ink); }

/* 页脚语言切换器：颜色跟着页脚走，下拉项固定深字白底，深色主题下也读得清 */
.lang-switch { appearance: none; -webkit-appearance: none; color: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 5px 28px 5px 29px; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; background-color: transparent; background-repeat: no-repeat; background-position: left 10px center, right 11px center; background-size: 13px, 9px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236f6a64' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.6 2.7 2.6 15.3 0 18M12 3c-2.6 2.7-2.6 15.3 0 18'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236f6a64' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); transition: border-color .15s ease, color .15s ease; }
.lang-switch:hover { border-color: var(--pink); color: var(--pink); }
.lang-switch:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.lang-switch option { color: #111; background: #fff; }

.legal .feedback-direct { margin-top: 24px; }
