:root {
  --bg: #10120f;
  --panel: #151713;
  --panel-raised: #1b1e19;
  --line: #2a2e27;
  --line-soft: rgba(42, 46, 39, .62);
  --line-strong: #3b4037;
  --text: #e9e8e1;
  --muted: #959b8d;
  --faint: #666c61;
  --accent: #d7855f;
  --accent-soft: #efb38f;
  --green: #add18b;
  --yellow: #ecc574;
  --blue: #8ebecc;
  --pink: #ff2d9a;
  --red: #e68b82;
  --max: 1380px;
  font-family: "Segoe UI Variable", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100svh; margin: 0; overflow-x: hidden; color: var(--text); background: radial-gradient(circle at 74% 44%, rgba(75, 112, 72, .16), transparent 33rem), linear-gradient(140deg, #10120f 0%, #121711 52%, #0d100d 100%); font-size: 16px; line-height: 1.5; }
body::before { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 80%); content: ""; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.site-header { display: flex; width: min(var(--max), calc(100% - 72px)); height: 78px; margin: 0 auto; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-grid; width: 35px; height: 35px; place-items: center; color: var(--green); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { display: grid; gap: 1px; }
.brand-text strong { color: var(--text); font-size: 17px; letter-spacing: -.04em; }
.brand-text small { color: var(--faint); font: 9px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.host-state { color: var(--faint); font-size: 11px; }
.host-state i, .live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(173 209 139 / 10%); }
.header-download { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); font-size: 12px; transition: border-color .2s ease, background .2s ease; }
.header-download:hover, .header-download:focus-visible { border-color: var(--accent); background: rgb(215 133 95 / 8%); }

.hero { display: grid; min-height: calc(100svh - 78px); grid-template-columns: minmax(330px, .72fr) minmax(620px, 1.28fr); align-items: center; gap: clamp(45px, 6vw, 105px); padding: 24px 0 48px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 4px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .18em; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(173 209 139 / 12%); }
h1 { max-width: 540px; margin: 0 0 25px; color: var(--text); font-size: clamp(50px, 5.4vw, 82px); line-height: .99; letter-spacing: -.08em; }
h1 em { color: var(--accent-soft); font-style: normal; }
.hero-lede { max-width: 490px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 17px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #17140f; background: var(--accent); }.button-primary:hover, .button-primary:focus-visible { background: #f0ae83; }
.button-secondary { border-color: var(--line-strong); color: var(--text); background: rgb(255 255 255 / 2.5%); }.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent); background: rgb(215 133 95 / 9%); }
.hero-note { margin: 0; color: var(--faint); font-size: 11px; }.hero-note span { color: var(--green); }
.hero-stats { display: flex; max-width: 410px; margin-top: 43px; padding-top: 18px; border-top: 1px solid var(--line); }.hero-stats div { display: grid; gap: 2px; min-width: 108px; padding-right: 20px; border-right: 1px solid var(--line); }.hero-stats div + div { padding-left: 20px; }.hero-stats div:last-child { border-right: 0; }.hero-stats strong { color: var(--accent-soft); font: 700 26px/1 ui-monospace, monospace; }.hero-stats span { color: var(--faint); font-size: 10px; }

.hero-stage { position: relative; min-width: 0; padding: 15px 22px 38px 0; }.stage-glow { position: absolute; top: 20%; right: 12%; width: 480px; height: 330px; border-radius: 50%; background: rgb(86 159 113 / 16%); filter: blur(45px); pointer-events: none; }
.demo-window { position: relative; z-index: 1; overflow: hidden; min-height: 560px; border: 1px solid #3a473a; border-radius: 13px; background: rgb(21 23 19 / 96%); box-shadow: 0 28px 75px rgb(0 0 0 / 38%), inset 0 1px 0 rgb(255 255 255 / 4%); }
.demo-topbar { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 17px; border-bottom: 1px solid var(--line); background: rgb(27 30 25 / 92%); }
.window-title { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; color: var(--faint); font: 10px ui-monospace, monospace; }.window-title strong { overflow: hidden; color: var(--text); font: 600 11px "Segoe UI Variable", sans-serif; text-overflow: ellipsis; white-space: nowrap; }.workspace-breadcrumb b { color: var(--muted); font-weight: 400; }.window-lights { display: flex; gap: 5px; margin-right: 4px; }.window-lights i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }.window-lights i:nth-child(2) { background: var(--yellow); }.window-lights i:nth-child(3) { background: var(--green); }
.workspace-status { display: flex; align-items: center; gap: 11px; color: var(--faint); font-size: 9px; white-space: nowrap; }.workspace-status > span { display: inline-flex; align-items: center; }.workspace-status .status-dot { margin-right: 5px; }.workspace-more { padding: 2px 0 2px 8px; border: 0; border-left: 1px solid var(--line); color: var(--muted); background: transparent; }
.demo-scenes { position: relative; min-height: 456px; }.demo-scene { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility .5s; }.demo-scene.is-active { visibility: visible; opacity: 1; }
.scene-desktop { position: absolute; inset: 14px 104px 14px 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }.scene-phone { position: absolute; right: 10px; bottom: 8px; z-index: 4; width: 157px; padding: 7px; border: 1px solid rgb(215 133 95 / 55%); border-radius: 23px; background: #1b201a; box-shadow: 0 24px 48px rgb(0 0 0 / 48%); }
.phone-speaker { width: 36px; height: 4px; margin: 2px auto 7px; border-radius: 99px; background: #384538; }.phone-screen { position: relative; min-height: 330px; padding: 12px 10px 38px; overflow: hidden; border-radius: 17px; background: #11130f; }.phone-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 8px; }.phone-top b { color: var(--green); font: 7px ui-monospace, monospace; letter-spacing: .08em; }
.demo-footer { display: flex; position: absolute; right: 16px; bottom: 13px; left: 16px; z-index: 8; align-items: center; gap: 10px; min-height: 19px; color: var(--faint); font-size: 9px; }.scene-index { color: var(--accent); font: 10px ui-monospace, monospace; }.scene-title { color: var(--muted); font-size: 10px; white-space: nowrap; }.scene-copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.scene-controls { display: flex; width: 86px; height: 4px; margin-left: auto; gap: 3px; }.scene-control { position: relative; min-width: 0; flex: 1; padding: 0; border: 0; border-radius: 3px; background: rgb(255 255 255 / 10%); cursor: pointer; }.scene-control i { position: absolute; inset: 0; display: block; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; }.scene-control.is-progressing i { animation: scene-progress var(--scene-duration) linear both; }.scene-control:hover, .scene-control:focus-visible { background: rgb(255 255 255 / 25%); }.demo-window.is-paused .scene-control.is-progressing i { animation-play-state: paused; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--faint); }.status-dot.running-one { background: var(--accent); box-shadow: 0 0 0 3px rgb(215 133 95 / 12%); animation: running-pulse 1.55s ease-in-out infinite; }.status-dot.running-two { background: var(--green); box-shadow: 0 0 0 3px rgb(173 209 139 / 12%); animation: running-pulse 1.55s .62s ease-in-out infinite; }.status-dot.done { background: var(--green); box-shadow: 0 0 0 3px rgb(173 209 139 / 8%); }

.scene-control.is-complete i { transform: scaleX(1); }

/* ChatPanel / Sidebar / Composer */
.chat-layout { display: grid; grid-template-columns: 166px minmax(0, 1fr); }.chat-sidebar { min-width: 0; padding: 10px 8px; overflow: hidden; border-right: 1px solid var(--line); background: #151713; }.sidebar-toolbar, .sidebar-node { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: 9px; }.sidebar-toolbar { padding: 3px 4px 10px; }.sidebar-toolbar button, .sidebar-toolbar span { border: 0; color: var(--faint); background: transparent; }.sidebar-toolbar strong { flex: 1; color: var(--text); font-size: 10px; }.sidebar-add { width: 100%; margin-bottom: 9px; padding: 6px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--panel-raised); font-size: 8px; text-align: left; }.sidebar-node { padding: 7px 4px 5px; }.sidebar-node strong { min-width: 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.sidebar-node > span:first-child { color: var(--faint); }.sidebar-node-actions { margin-left: auto; color: var(--faint); }.project-node { margin-top: 9px; border-top: 1px solid var(--line); }.session-item { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 6px; align-items: start; margin: 1px 0; padding: 7px 5px; border: 1px solid transparent; border-radius: 6px; }.session-item.active { border-color: rgb(215 133 95 / 28%); background: rgb(215 133 95 / 8%); }.session-item.nested { margin-left: 8px; }.session-item > span { min-width: 0; display: grid; gap: 2px; }.session-item strong, .session-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.session-item strong { color: var(--text); font-size: 8px; font-weight: 600; }.session-item small { color: var(--faint); font-size: 7px; }
.chat-main { display: flex; min-width: 0; min-height: 0; flex-direction: column; }.chat-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 52px; padding: 8px 13px; border-bottom: 1px solid var(--line); background: var(--panel); }.chat-menu-button, .chat-header-actions button { border: 0; color: var(--muted); background: transparent; }.chat-header > div { display: grid; gap: 2px; min-width: 0; }.chat-breadcrumb { overflow: hidden; color: var(--faint); font: 8px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.chat-header strong { overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.chat-header-actions { display: flex !important; align-items: center; gap: 6px; }.chat-provider { color: var(--green); font-size: 8px; }.conversation-scroll-region { position: relative; width: 100%; min-width: 0; flex: 1; min-height: 0; }.conversation-scroll { width: 100%; height: 100%; overflow: hidden; }.conversation-inner { width: calc(100% - 28px); min-width: 0; max-width: 100%; margin: 0 auto; padding: 18px 0 12px; }.timeline { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 11px; }.message { min-width: 0; max-width: 100%; display: flex; gap: 8px; }.message--user { flex-direction: column; align-items: flex-end; margin: 4px 0; }.message-label { color: var(--faint); font: 8px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }.user-bubble { max-width: 88%; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 9px 9px 2px 9px; background: var(--panel-raised); color: #dcddd5; font-size: 10px; line-height: 1.55; }.user-bubble-text { overflow-wrap: anywhere; }.assistant-avatar { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border: 1px solid #5a3f31; border-radius: 6px; color: var(--accent); background: #241b16; font: 500 10px ui-monospace, monospace; }.assistant-body { min-width: 0; max-width: 100%; padding-top: 1px; flex: 1; }.assistant-body .message-label { margin-bottom: 4px; }.markdown-body { color: #d9dad3; font-size: 10px; line-height: 1.6; }.markdown-body p { margin: 0; }.assistant-activity-body { flex: 1; }.execution-process, .tool-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }.execution-process { margin-top: 4px; }.execution-process > summary, .tool-card > summary { min-width: 0; display: flex; align-items: center; gap: 6px; padding: 7px 8px; color: var(--muted); cursor: default; list-style: none; font-size: 9px; }.execution-process > summary::-webkit-details-marker, .tool-card > summary::-webkit-details-marker { display: none; }.execution-process strong, .tool-card strong { color: var(--text); font-size: 9px; font-weight: 600; }.tool-icon { color: var(--accent); font: 12px ui-monospace, monospace; }.tool-state { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--yellow); white-space: nowrap; }.tool-state .status-dot { width: 5px; height: 5px; flex-basis: 5px; }.done-state { color: var(--green); }.disclosure-icon { color: var(--faint); }.execution-process-items { display: grid; gap: 5px; padding: 0 6px 6px; }.tool-card { border-radius: 5px; background: #11130f; }.tool-card > summary { padding: 6px 7px; }.tool-card code { min-width: 0; overflow: hidden; color: var(--faint); font: 8px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.tool-details { padding: 0 8px 7px; color: var(--faint); font-size: 8px; }.composer-wrap { flex: none; padding: 0 13px 10px; }.composer { min-height: 41px; padding: 9px 10px; display: flex; align-items: center; gap: 10px; border: 1px solid #4b5145; border-radius: 8px; color: var(--faint); background: #171914; font-size: 9px; }.composer button { width: 22px; height: 22px; margin-left: auto; border: 0; border-radius: 5px; color: #17140f; background: var(--accent); }.composer-footer { padding-top: 5px; color: var(--faint); font: 7px ui-monospace, monospace; text-align: center; }

/* Mobile chat drawer */
.phone-chat-head, .phone-tool-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 18px 0 12px; color: var(--muted); font-size: 9px; }.phone-chat-head strong, .phone-tool-head strong { overflow: hidden; color: var(--text); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.mobile-timeline { display: grid; gap: 8px; }.mobile-message { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px; align-items: start; }.mobile-message.user { display: flex; flex-direction: column; align-items: flex-end; }.mobile-label { color: var(--faint); font: 6px ui-monospace, monospace; }.mobile-user-bubble { max-width: 92%; padding: 6px 7px; border-radius: 6px 6px 2px 6px; color: var(--text); background: rgb(215 133 95 / 12%); font-size: 7px; line-height: 1.45; }.mobile-avatar { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 4px; color: var(--accent); background: #241b16; font-size: 7px; }.mobile-message.assistant p { margin: 3px 0 0; color: var(--muted); font-size: 7px; }.mobile-execution { display: flex; align-items: center; gap: 5px; padding: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 7px; }.mobile-execution span:last-child { margin-left: auto; color: var(--yellow); }.phone-composer { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; justify-content: space-between; padding: 6px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--faint); background: #171914; font-size: 7px; }.phone-composer b { color: var(--accent); }.phone-chat-drawer { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 79%; padding: 9px 7px; border-right: 1px solid var(--line-strong); background: #171b16; box-shadow: 8px 0 22px rgb(0 0 0 / 30%); animation: drawer-slide 5.8s ease-in-out infinite; }.drawer-title { display: flex; align-items: center; justify-content: space-between; margin: 8px 4px 11px; color: var(--text); font-size: 8px; }.drawer-title span { color: var(--faint); font-size: 12px; }.drawer-node { display: flex; align-items: center; gap: 4px; padding: 6px 3px; color: var(--muted); font-size: 7px; }.drawer-node strong { flex: 1; }.drawer-node span { margin-left: auto; color: var(--faint); }.drawer-item { display: grid; grid-template-columns: 7px 1fr; gap: 5px; padding: 7px 4px; color: var(--muted); font-size: 7px; }.drawer-item.selected { border-radius: 5px; background: rgb(215 133 95 / 12%); }.drawer-item > span { display: grid; gap: 2px; min-width: 0; }.drawer-item small { overflow: hidden; color: var(--faint); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.drawer-project { margin-top: 5px; border-top: 1px solid var(--line); }

/* GitToolbar / GitGraph */
.git-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }.git-toolbar { min-height: 52px; padding: 6px 8px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); background: #151713; }.git-picker { min-width: 0; height: 34px; padding: 3px 7px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); background: #171914; font-size: 9px; }.git-picker > span { min-width: 0; display: grid; text-align: left; }.git-picker small, .git-picker b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.git-picker small { color: var(--faint); font-size: 7px; }.git-picker b { color: var(--text); font-size: 8px; font-weight: 500; }.git-ref-picker { width: 115px; }.git-remote-toggle { height: 30px; display: inline-flex; align-items: center; gap: 3px; color: var(--faint); font-size: 7px; white-space: nowrap; }.git-remote-toggle input { width: 10px; height: 10px; accent-color: var(--accent); }.git-search { min-width: 80px; height: 30px; padding: 0 6px; display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 5px; color: var(--faint); background: #11130f; font-size: 8px; }.git-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.git-branch-status { min-width: 0; margin-left: auto; overflow: hidden; color: var(--faint); font: 7px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.git-operation-buttons { display: flex; gap: 2px; }.git-operation-buttons button, .git-refresh { height: 28px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--muted); background: #171914; font-size: 7px; white-space: nowrap; }.git-refresh { display: inline-flex; align-items: center; gap: 3px; }
.git-history-scroll { min-width: 0; min-height: 0; flex: 1; overflow: hidden; }.git-history-list { min-width: 540px; height: 100%; }.git-history-columns { grid-template-columns: 50px minmax(180px, 1fr) 64px 60px; }.git-history-header, .git-history-row { display: grid; }.git-history-header { min-height: 37px; align-items: stretch; border-bottom: 1px solid var(--line); color: var(--faint); background: #171914; }.git-history-heading { min-width: 0; padding: 6px 6px; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 8px; }.git-history-heading strong { color: var(--text); font-size: 9px; }.git-history-heading small { color: var(--faint); font: 7px ui-monospace, monospace; }.git-history-row { width: 100%; min-height: 54px; align-items: stretch; border-bottom: 1px solid var(--line-soft); color: var(--text); background: transparent; }.git-history-row--working { background: #151713; }.git-history-row--head { background: rgb(215 133 95 / 5%); }.git-graph-cell { position: relative; min-width: 0; overflow: hidden; border-right: 1px solid var(--line-soft); }.graph-lane { position: absolute; top: 0; bottom: 0; left: 23px; width: 2px; background: var(--green); }.lane-orange { background: #ff9f1a; }.lane-blue { left: 14px; background: #18a7ff; }.lane-pink { left: 32px; background: var(--pink); }.commit-dot { position: absolute; top: 21px; left: 18px; width: 10px; height: 10px; border: 2px solid #ff9f1a; border-radius: 50%; background: var(--panel); }.commit-dot.blue { left: 9px; border-color: #18a7ff; }.commit-dot.pink { left: 27px; border-color: var(--pink); }.git-history-summary { min-width: 0; padding: 6px 7px; display: flex; flex-direction: column; justify-content: center; gap: 3px; }.git-history-summary > strong { overflow: hidden; color: var(--text); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }.git-working-counts { display: flex; gap: 7px; color: var(--muted); font-size: 7px; }.git-history-meta, .git-history-title { min-width: 0; display: flex; align-items: baseline; gap: 6px; }.git-history-meta small, .git-history-title time { min-width: 0; overflow: hidden; color: var(--faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.git-history-title strong { min-width: 0; overflow: hidden; color: var(--text); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }.git-history-title time { flex: none; }.git-history-author, .git-history-hash { min-width: 0; padding: 0 5px; display: flex; align-items: center; overflow: hidden; color: var(--faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.git-history-hash { font-family: ui-monospace, monospace; }.git-reference-list { display: flex; gap: 3px; min-width: 0; overflow: hidden; }.git-head-reference, .git-branch-badge { flex: none; max-width: 130px; overflow: hidden; padding: 2px 4px; border-radius: 4px; font: 7px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.git-head-reference { color: #10120f; background: #ff9f1a; font-weight: 800; }.git-branch-badge { border: 1px solid rgb(173 209 139 / 35%); color: var(--green); background: rgb(173 209 139 / 7%); }.git-branch-badge.current { border-color: #ff9f1a; color: #10120f; background: #ff9f1a; }.git-branch-badge em { padding-left: 3px; color: inherit; font-style: italic; opacity: .76; }

/* GitDiffView / GitDiffRows */
.diff-viewer { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; background: #11130f; }.file-viewer-header { min-height: 45px; padding: 6px 9px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: #171914; }.file-icon { flex: none; color: var(--accent); font-size: 12px; }.file-viewer-heading { min-width: 0; flex: 1; display: grid; gap: 1px; }.file-viewer-heading strong { overflow: hidden; color: var(--text); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.file-viewer-heading small { overflow: hidden; color: var(--faint); font: 7px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.file-viewer-header button { padding: 3px 5px; border: 0; color: var(--muted); background: transparent; font-size: 10px; }.git-diff-view-switch { min-height: 35px; padding: 4px 6px; display: flex; align-items: center; justify-content: flex-end; gap: 4px; border-bottom: 1px solid var(--line-soft); background: #141612; }.git-diff-change-navigation, .git-diff-layout-switch { display: inline-flex; align-items: center; gap: 2px; }.git-diff-change-navigation { margin-right: auto; padding-right: 6px; border-right: 1px solid var(--line-soft); }.git-diff-change-navigation span { min-width: 30px; color: var(--faint); font: 7px ui-monospace, monospace; text-align: center; }.git-diff-view-switch button { height: 24px; padding: 0 6px; border: 1px solid transparent; border-radius: 4px; color: var(--faint); background: transparent; font-size: 8px; }.git-diff-view-switch button.is-active { border-color: var(--line-strong); color: var(--text); background: #272b24; }.git-diff-split { min-width: 540px; min-height: 0; flex: 1; overflow: hidden; color: #c8c9c1; background: #0e100d; font: 8px/1.6 ui-monospace, monospace; }.git-diff-split-head, .git-diff-split-row { display: grid; grid-template-columns: 1fr 1fr; }.git-diff-split-head { min-height: 27px; align-items: center; color: var(--faint); background: #171914; font: 8px sans-serif; }.git-diff-split-head span { padding: 0 7px; border-right: 1px solid var(--line-soft); }.git-diff-split-cell { min-width: 0; min-height: 23px; display: grid; grid-template-columns: 34px minmax(0, 1fr); border-right: 1px solid var(--line-soft); font: inherit; }.git-diff-line-number { min-width: 0; padding: 0 5px; border-right: 1px solid var(--line-soft); color: #697065; background: rgb(255 255 255 / 2%); text-align: right; user-select: none; }.git-diff-code { min-width: 0; padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.git-diff-cell--deleted { color: var(--red); background: rgb(230 139 130 / 8%); }.git-diff-cell--added { color: var(--green); background: rgb(173 209 139 / 8%); }.git-diff-gap-row { background: #151c22; }.git-diff-gap-cell { grid-column: 1 / -1; min-height: 25px; padding: 4px; color: #8795a2; text-align: center; }
.phone-file-path { overflow: hidden; padding: 5px 3px; color: var(--faint); font: 6px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.phone-diff-switch { min-height: 28px; padding: 3px 0; }.phone-diff-switch .git-diff-change-navigation span { min-width: 23px; }.phone-diff-split { overflow: hidden; border-top: 1px solid var(--line); color: var(--muted); font: 6px/1.5 ui-monospace, monospace; }.phone-diff-head, .phone-diff-row { display: grid; grid-template-columns: 1fr 1fr; }.phone-diff-head { color: var(--faint); background: var(--panel-raised); }.phone-diff-head span, .phone-diff-row code { min-width: 0; padding: 5px 4px; overflow: hidden; border-right: 1px solid var(--line-soft); text-overflow: ellipsis; white-space: nowrap; }.phone-diff-row code { display: block; }

/* ProjectFileBrowser / FileReader */
.files-layout { background: #11130f; }.project-file-browser { display: grid; grid-template-columns: 142px 5px minmax(0, 1fr); height: 100%; }.project-directory-pane { min-width: 0; display: flex; flex-direction: column; background: #151713; }.project-directory-toolbar { min-height: 39px; padding: 5px 6px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); }.project-file-icon-button { width: 23px; height: 23px; flex: none; display: grid; place-items: center; border: 0; border-radius: 4px; color: var(--muted); background: transparent; font-size: 11px; }.project-directory-breadcrumbs { min-width: 0; flex: 1; display: flex; align-items: center; gap: 3px; overflow: hidden; color: var(--faint); font-size: 7px; }.project-directory-breadcrumbs span { display: flex; align-items: center; min-width: 0; }.project-directory-breadcrumbs button { min-width: 0; overflow: hidden; padding: 2px; border: 0; color: var(--muted); background: transparent; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.project-directory-list { min-height: 0; flex: 1; padding: 6px; overflow: hidden; }.project-directory-entry { width: 100%; min-width: 0; min-height: 31px; padding: 4px 5px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; text-align: left; font-size: 8px; }.project-directory-entry > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.project-directory-entry > span:last-child { margin-left: auto; color: var(--faint); }.project-directory-entry--selected { color: var(--text); background: rgb(215 133 95 / 10%); }.directory-icon { color: var(--faint); }.folder-icon { color: var(--accent); }.project-file-resize-handle { position: relative; background: var(--line); }.project-file-resize-handle::after { position: absolute; top: 50%; left: 1px; width: 2px; height: 30px; border-radius: 2px; background: var(--faint); content: ""; transform: translateY(-50%); }.project-file-preview { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #11130f; }.file-viewer-content { min-height: 0; flex: 1; overflow: hidden; }.file-code-scroll { width: 100%; height: 100%; overflow: hidden; }.file-code-lines { min-width: 100%; width: max-content; padding: 10px 0 20px; color: #d2d5cb; font: 8px/1.8 ui-monospace, monospace; }.file-code-line { min-height: 15px; display: flex; }.file-code-line--selected { background: #35271c; box-shadow: inset 2px 0 var(--accent); }.file-code-number { width: 35px; padding: 0 7px 0 4px; flex: 0 0 35px; color: #565c52; text-align: right; user-select: none; }.file-code-line--selected .file-code-number { color: var(--accent); }.file-code-text { padding-right: 18px; white-space: pre; }
.phone-path { overflow: hidden; padding: 6px 3px; border-bottom: 1px solid var(--line); color: var(--faint); font: 6px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }.phone-file-list { display: grid; gap: 1px; padding-top: 6px; color: var(--muted); font-size: 7px; }.phone-file-list > div { min-height: 22px; padding: 5px 4px; }.phone-file-list .folder { color: var(--green); }.phone-file-list .selected { display: flex; justify-content: space-between; border-radius: 4px; color: var(--text); background: rgb(215 133 95 / 10%); }.phone-file-list em { color: var(--accent-soft); font-size: 6px; font-style: normal; }.phone-file-preview { display: grid; gap: 3px; margin-top: 10px; padding: 7px 5px; border-top: 1px solid var(--line); color: var(--muted); }.phone-file-preview strong { color: var(--text); font-size: 8px; }.phone-file-preview small { overflow: hidden; color: var(--faint); font: 6px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }

/* QuickCommandsDialog */
.commands-layout { background: rgb(7 8 7 / 72%); }.modal-backdrop { width: 100%; height: 100%; padding: 16px 26px; display: grid; place-items: center; background: rgb(5 6 5 / 58%); }.modal { width: min(530px, 100%); max-height: 100%; overflow: hidden; border: 1px solid #41463c; border-radius: 9px; color: var(--text); background: #171915; box-shadow: 0 24px 70px rgb(0 0 0 / 45%); }.modal-header { min-height: 40px; padding: 6px 8px 6px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }.modal-header > button { width: 24px; height: 24px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; }.modal-title { display: flex; align-items: center; gap: 6px; }.modal-title h2, .modal-title strong { margin: 0; color: var(--text); font-size: 11px; }.quick-icon { color: var(--accent); font-size: 16px; }.quick-commands-body { max-height: 405px; padding: 10px; display: grid; gap: 8px; overflow: hidden; }.quick-command-section { padding: 9px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }.quick-command-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--faint); font-size: 8px; }.quick-command-section-heading > div { display: flex; align-items: center; gap: 5px; color: var(--accent); }.quick-command-section-heading strong { color: var(--text); font-size: 10px; }.quick-command-section-heading button, .quick-command-preview-heading button { padding: 4px 6px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); background: var(--panel-raised); font-size: 7px; }.quick-command-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.quick-command-options fieldset { min-width: 0; margin: 0; padding: 6px 7px; border: 1px solid var(--line-soft); border-radius: 5px; }.quick-command-options legend { padding: 0 3px; color: var(--faint); font-size: 7px; }.quick-command-options label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }.quick-command-options input { width: 9px; height: 9px; accent-color: var(--accent); }.quick-command-preview { display: grid; gap: 4px; color: var(--faint); font-size: 7px; }.quick-command-preview-heading { display: flex; align-items: center; justify-content: space-between; }.quick-prompt { min-height: 45px; padding: 7px; border: 1px solid var(--line-soft); border-radius: 5px; color: var(--muted); background: var(--panel); font: 7px/1.55 ui-monospace, monospace; }.quick-command-primary-action { display: flex; justify-content: flex-end; }.quick-command-primary-action .button, .quick-command-section > .button { min-height: 25px; padding: 4px 8px; font-size: 8px; }.button-ghost { min-height: 25px; padding: 4px 7px; }.quick-command-list { display: grid; gap: 5px; }.quick-command-item { min-width: 0; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line-soft); border-radius: 5px; background: var(--panel); }.quick-command-run { min-width: 0; flex: 1; padding: 7px; display: flex; align-items: center; gap: 6px; border: 0; color: var(--accent); background: transparent; text-align: left; }.quick-command-run > span:last-child { min-width: 0; display: grid; gap: 2px; }.quick-command-run strong, .quick-command-run small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.quick-command-run strong { color: var(--text); font-size: 8px; }.quick-command-run small { color: var(--faint); font-size: 7px; }.quick-command-item-actions { display: flex; gap: 2px; padding-right: 4px; }.quick-command-item-actions button { padding: 3px; border: 0; color: var(--faint); background: transparent; font-size: 8px; }.mobile-modal { max-height: 276px; overflow: hidden; border-radius: 10px; background: #171915; }.mobile-modal .modal-header { min-height: 34px; }.mobile-modal .quick-commands-body { max-height: 242px; padding: 7px; gap: 6px; }.mobile-modal .quick-command-section { padding: 7px; gap: 6px; }.mobile-modal .quick-command-options { grid-template-columns: 1fr; gap: 4px; }.mobile-modal .quick-command-options fieldset { padding: 4px 5px; }.mobile-modal .quick-command-section-heading strong { font-size: 8px; }.mobile-modal .quick-command-section-heading { font-size: 7px; }.mobile-modal .quick-command-item { padding: 4px; }.mobile-modal .quick-command-item > span:last-child { min-width: 0; display: grid; gap: 1px; }.mobile-modal .quick-command-item strong { font-size: 7px; }.mobile-modal .quick-command-item small { overflow: hidden; color: var(--faint); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }

.git-history-list { position: relative; }
.git-history-list::before { position: absolute; top: 37px; bottom: 0; left: 0; z-index: 1; width: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 220' preserveAspectRatio='none'%3E%3Cpath d='M12 0V220' fill='none' stroke='%2318a7ff' stroke-width='1.6'/%3E%3Cpath d='M30 0V220' fill='none' stroke='%23ff2d9a' stroke-width='1.6'/%3E%3Cpath d='M43 81C43 96 39 105 34 114C29 124 24 127 18 132C15 134 13 135 12 135' fill='none' stroke='%23ffb000' stroke-width='1.6'/%3E%3C/svg%3E") center top / 50px 100% no-repeat; content: ""; pointer-events: none; }
.git-graph-cell { position: relative; z-index: 2; background: transparent; }
.git-graph-cell .graph-lane { display: none; }
.git-graph-cell .commit-dot { left: 38px; border-color: #ffb000; }
.git-graph-cell .commit-dot.blue { left: 7px; border-color: #18a7ff; }
.git-graph-cell .commit-dot.pink { left: 25px; border-color: #ff2d9a; }
@keyframes running-pulse { 0%, 100% { opacity: .62; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.14); } }
@keyframes drawer-slide { 0%, 16% { transform: translateX(-104%); opacity: .2; } 30%, 73% { transform: translateX(0); opacity: 1; } 87%, 100% { transform: translateX(-104%); opacity: .2; } }
@keyframes scene-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1180px) { .hero { grid-template-columns: minmax(290px, .7fr) minmax(550px, 1.3fr); gap: 35px; }.workspace-status > span:nth-child(2) { display: none; }.scene-phone { right: 5px; }.git-remote-toggle, .git-search, .git-branch-status { display: none; } }
@media (max-width: 940px) { body { overflow-y: auto; }.hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }.hero-copy { max-width: 680px; }.hero-lede { max-width: 620px; }.hero-stage { width: min(100%, 820px); margin: 12px auto 0; } }
@media (max-width: 650px) {
  .hero, .hero-copy { min-width: 0; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(44px, 11.3vw, 64px); line-height: 1.05; overflow-wrap: anywhere; }
  .hero-lede { max-width: 100%; overflow-wrap: anywhere; }
  .section-shell, .site-header { width: min(var(--max), calc(100% - 36px)); }.site-header { height: 68px; }.header-actions { gap: 0; }.host-state { display: none; }.header-download { padding: 7px 9px; font-size: 10px; }
  .hero { padding: 50px 0 40px; }.hero-copy { min-width: 0; }h1 { font-size: clamp(38px, 10vw, 56px); line-height: 1.08; letter-spacing: -.06em; overflow-wrap: anywhere; }.eyebrow { margin-bottom: 16px; }.hero-lede { font-size: 15px; }.hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }.hero-stats { margin-top: 32px; }.hero-stats div { min-width: 0; flex: 1; padding-right: 10px; }.hero-stats div + div { padding-left: 10px; }.hero-stats strong { font-size: 22px; }
  .hero-stage { padding: 5px 0 39px; }.demo-window { min-height: 536px; }.demo-topbar { align-items: flex-start; flex-direction: column; gap: 9px; padding: 11px 12px 10px; }.window-title { grid-template-columns: auto minmax(0, 1fr); width: 100%; }.window-title strong { grid-column: 2; }.workspace-status { width: 100%; justify-content: space-between; gap: 7px; overflow: hidden; }.workspace-status > span { flex: 0 0 auto; }.workspace-status > span:nth-child(2) { display: inline-flex; }.workspace-sync { display: none !important; }.demo-scenes { min-height: 425px; }.scene-desktop { inset: 12px; opacity: .18; }.scene-phone { right: -5px; bottom: 4px; width: 143px; }.phone-screen { min-height: 309px; padding: 11px 9px 37px; }.demo-footer { right: 10px; bottom: 12px; left: 10px; gap: 7px; }.scene-copy { display: none; }.scene-controls { width: 60px; }.scene-desktop.chat-layout { opacity: .48; }.chat-sidebar { display: none; }.chat-layout { grid-template-columns: 1fr; }.chat-header { padding: 10px; }.conversation-inner { width: calc(100% - 20px); }.composer-wrap { padding: 0 10px 8px; }.diff-viewer .git-diff-split { opacity: .7; }.files-layout .project-file-browser { grid-template-columns: 118px 4px minmax(0, 1fr); }.modal-backdrop { padding: 10px; }.quick-commands-body { padding: 7px; }.quick-command-options { grid-template-columns: 1fr; }.commands-layout .modal { max-height: 360px; }.phone-commands .phone-screen { padding-left: 6px; padding-right: 6px; }.scene-desktop { border-radius: 7px; }
}

.phone-git-toolbar { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 4px; margin-top: 7px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--faint); font-size: 6px; line-height: 1.3; }.phone-git-toolbar > span:first-child { grid-column: 1 / -1; }.phone-git-toolbar b { min-width: 0; overflow: hidden; color: var(--text); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.phone-history-title { display: flex; justify-content: space-between; gap: 3px; margin-top: 12px; padding: 5px 2px; border-bottom: 1px solid var(--line); font-size: 7px; }.phone-history-title small { color: var(--faint); font-size: 6px; }.phone-history-row { position: relative; min-width: 0; display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 5px; align-items: center; min-height: 44px; padding: 5px 2px; border-bottom: 1px solid var(--line-soft); }.phone-history-row .commit-dot { position: static; width: 8px; height: 8px; }.phone-history-row .commit-dot.orange { border-color: #ff9f1a; }.phone-history-row .commit-dot.blue { border-color: #18a7ff; }.phone-history-row > span { min-width: 0; display: grid; gap: 2px; }.phone-history-row b, .phone-history-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.phone-history-row b { color: var(--text); font-size: 7px; }.phone-history-row small { color: var(--faint); font-size: 6px; }.phone-history-row em { display: none; }.phone-history-row mark { color: var(--bg); background: var(--accent); }
.phone-diff-unified { display: grid; margin-top: 5px; border-top: 1px solid var(--line); color: var(--muted); font: 6px/1.5 ui-monospace, monospace; }.phone-diff-unified .phone-diff-head { padding: 5px; color: var(--faint); }.phone-diff-unified code { min-width: 0; padding: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Accessibility & header navigation */
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 40; padding: 10px 14px; border-radius: 7px; color: #17140f; background: var(--accent); font-size: 13px; font-weight: 700; }
.skip-link:focus { left: 16px; }
.site-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.site-nav a { padding: 6px 2px; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.hero-actions { align-items: center; }
.hero-text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 0 6px; color: var(--accent-soft); font-size: 13px; font-weight: 600; transition: color .2s ease; }
.hero-text-link:hover, .hero-text-link:focus-visible { color: var(--text); }
.hero-stats { max-width: 470px; }
.hero-stats strong { white-space: nowrap; }

/* Landing sections below hero */
.content-section { padding: 72px 0 28px; border-top: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin: 0 0 14px; color: var(--text); font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; letter-spacing: -.04em; }
.section-head h2 em { color: var(--accent-soft); font-style: normal; }
.section-lede { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-lede code, .surface-card code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--accent-soft); background: rgb(255 255 255 / 3%); font: 12px/1.5 ui-monospace, monospace; }

.direct-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.pillar-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: rgb(21 23 19 / 76%); }
.pillar-item strong { display: block; margin-bottom: 6px; color: var(--green); font-size: 14px; }
.pillar-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.connect-grid, .hosting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.surface-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 12px; background: linear-gradient(180deg, rgb(27 30 25 / 92%), rgb(21 23 19 / 96%)); box-shadow: 0 16px 40px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 255 255 / 3%); }
.card-head { display: grid; gap: 10px; }
.card-head h3 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: -.02em; }
.card-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-badge { display: inline-flex; width: fit-content; align-items: center; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .04em; }
.card-badge--green { border-color: rgb(173 209 139 / 35%); color: var(--green); background: rgb(173 209 139 / 8%); }
.card-badge--accent { border-color: rgb(215 133 95 / 40%); color: var(--accent-soft); background: rgb(215 133 95 / 10%); }
.card-badge--blue { border-color: rgb(142 190 204 / 38%); color: var(--blue); background: rgb(142 190 204 / 9%); }
.card-badge--muted { border-color: var(--line-strong); color: var(--muted); background: rgb(255 255 255 / 3%); }

.step-list { margin: 0; padding: 0 0 0 20px; display: grid; gap: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.step-list li::marker { color: var(--accent-soft); font-weight: 700; }
.step-list strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.step-list--continued { margin-top: 2px; }

.code-block { margin: 2px 0; padding: 13px 15px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #0e100d; color: var(--text); font: 12.5px/1.65 ui-monospace, monospace; }
.code-block code { padding: 0; border: 0; background: transparent; color: var(--green); font: inherit; }

.card-footer { display: grid; gap: 10px; margin-top: auto; padding-top: 6px; }
.card-footer .button { width: fit-content; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-meta { margin: 0; color: var(--faint); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.headless-install { display: grid; gap: 12px; }
.headless-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.inline-link { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover, .inline-link:focus-visible { color: var(--text); }

.feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-list li { position: relative; padding-left: 16px; }
.feature-list li::before { position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: ""; }
.feature-list strong { color: var(--text); }

.contact-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 24px 28px; border: 1px solid rgb(215 133 95 / 35%); border-radius: 12px; background: radial-gradient(circle at 88% 50%, rgb(215 133 95 / 12%), transparent 28rem), rgb(24 27 22 / 96%); }
.contact-copy { display: grid; gap: 6px; max-width: 680px; }
.contact-copy strong { color: var(--text); font-size: 18px; }
.contact-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-actions { flex-shrink: 0; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer-brand strong { color: var(--text); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); }

@media (max-width: 1180px) {
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .site-nav { display: none; }
  .direct-pillars, .connect-grid, .download-grid, .hosting-grid { grid-template-columns: 1fr; }
  .download-card--headless { grid-column: auto; }
  .contact-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 650px) {
  .content-section { padding: 52px 0 20px; }
  .surface-card { padding: 18px; }
  .contact-banner { padding: 18px; }
  .card-footer .button, .contact-actions, .contact-actions .button { width: 100%; }
  .header-actions { gap: 8px; }
}
