Files
tty7/docs/home.css
T
l0ng-ai 18109018ce docs: add a landing page with a live v5 demo
The docs root becomes a custom-mode landing page modelled on the Claude
Design "Terminal Redesign v5" window. The hero is an HTML/CSS rebuild of
that window that autoplays five chapters taken from the promo storyboard:
agent status and notifications, one agent driving another through the
tty7 CLI, the editor prompt, Search Everywhere, and sessions outliving
the window. It follows the docs light/dark theme and pauses off screen.

Agent avatars use the app's own marks and brand colours (CLIAgent::
accent_rgb / icon_path), and status dots use AgentStatus::dot_rgb.

The previous introduction moves to /introduction, and the navbar logo
now links to the landing page instead of GitHub. All landing-page CSS
is scoped under .t7h / .t7w, since Mintlify loads it on every page.
2026-09-28 15:14:30 +08:00

1019 lines
27 KiB
CSS

/* Landing page (index.mdx, mode: custom). Everything is scoped under .t7h so
Mintlify's global CSS include never leaks into the docs pages. The window
mockup follows the v5 redesign tokens and flips with the docs theme. */
.t7h {
--fg: #111113;
--muted: #5d5d66;
--faint: #8a8a93;
--line: rgba(0, 0, 0, 0.08);
--line-strong: rgba(0, 0, 0, 0.14);
--card: rgba(0, 0, 0, 0.015);
--card-hover: rgba(0, 0, 0, 0.03);
--primary: #0fa968;
--primary-text: #0b8453;
--primary-soft: rgba(15, 169, 104, 0.1);
--bar: rgba(0, 0, 0, 0.12);
/* window — v5 light */
--w-bg: #fcfcfb;
--w-rail: #f5f5f3;
--w-fg: #1c1c1e;
--w-a03: rgba(0, 0, 0, 0.03);
--w-a04: rgba(0, 0, 0, 0.04);
--w-a05: rgba(0, 0, 0, 0.05);
--w-a07: rgba(0, 0, 0, 0.07);
--w-a08: rgba(0, 0, 0, 0.08);
--w-a15: rgba(0, 0, 0, 0.15);
--w-a35: rgba(0, 0, 0, 0.35);
--w-a45: rgba(0, 0, 0, 0.45);
--w-a55: rgba(0, 0, 0, 0.55);
--w-a72: rgba(0, 0, 0, 0.72);
--w-green: #2f8a52;
--w-amber: #b7791f;
--w-red: #d93025;
--w-pop: #fff;
--w-pop-sh: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 24px 64px -12px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.06);
--w-scrim: rgba(20, 20, 18, 0.14);
--w-choice: rgba(31, 107, 240, 0.12);
--w-btn-bg: #1c1c1e;
--w-btn-fg: #fff;
--w-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 30px 80px -20px rgba(0, 0, 0, 0.25);
color: var(--fg);
font-feature-settings: "cv11";
overflow-x: clip;
}
html.dark .t7h {
--fg: #ececed;
--muted: #a1a1aa;
--faint: #71717a;
--line: rgba(255, 255, 255, 0.08);
--line-strong: rgba(255, 255, 255, 0.14);
--card: rgba(255, 255, 255, 0.02);
--card-hover: rgba(255, 255, 255, 0.04);
--primary: #3fdd8c;
--primary-text: #3fdd8c;
--primary-soft: rgba(63, 221, 140, 0.1);
--bar: rgba(255, 255, 255, 0.14);
/* window — v5 dark */
--w-bg: #18181a;
--w-rail: #1e1e20;
--w-fg: #ececed;
--w-a03: rgba(255, 255, 255, 0.04);
--w-a04: rgba(255, 255, 255, 0.055);
--w-a05: rgba(255, 255, 255, 0.07);
--w-a07: rgba(255, 255, 255, 0.09);
--w-a08: rgba(255, 255, 255, 0.08);
--w-a15: rgba(255, 255, 255, 0.16);
--w-a35: rgba(255, 255, 255, 0.36);
--w-a45: rgba(255, 255, 255, 0.5);
--w-a55: rgba(255, 255, 255, 0.6);
--w-a72: rgba(255, 255, 255, 0.78);
--w-green: #4cc27a;
--w-amber: #e0a345;
--w-red: #f0685c;
--w-pop: #232326;
--w-pop-sh: 0 0 0 0.5px rgba(0, 0, 0, 0.8), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 24px 64px -12px rgba(0, 0, 0, 0.6);
--w-scrim: rgba(0, 0, 0, 0.45);
--w-choice: rgba(120, 168, 245, 0.18);
--w-btn-bg: #ececed;
--w-btn-fg: #18181a;
--w-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.8), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.t7h a { text-decoration: none; }
/* Mintlify tags every content <a> with .link and draws a primary-coloured
bottom border on it; none of the landing page's links want that. */
.t7h a.link { border-bottom: 0; }
.t7h a.link.t7h-card, .t7h a.link.t7h-chip { border-bottom: 1px solid var(--line); }
.t7h a.link.t7h-btn-ghost { border-bottom: 1px solid var(--line-strong); }
.t7h a.link.t7h-card:hover { border-bottom-color: var(--primary); }
.t7h * { box-sizing: border-box; }
.t7h-wrap {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
/* ---------- hero ---------- */
.t7h-hero {
position: relative;
padding: 88px 0 0;
text-align: center;
}
.t7h-hero::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 720px;
background: radial-gradient(60% 50% at 50% 0%, var(--primary-soft), transparent 70%);
pointer-events: none;
}
.t7h-eyebrow {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
height: 28px;
padding: 0 12px;
border-radius: 999px;
border: 1px solid var(--line-strong);
font-size: 13px;
color: var(--muted);
}
.t7h-eyebrow i {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--primary);
}
.t7h-hero h1 {
position: relative;
margin: 24px auto 0;
max-width: 820px;
font-size: clamp(38px, 6vw, 64px);
line-height: 1.04;
letter-spacing: -0.035em;
font-weight: 650;
color: var(--fg);
text-wrap: balance;
}
.t7h-lede {
position: relative;
margin: 22px auto 0;
max-width: 600px;
font-size: 18px;
line-height: 1.6;
color: var(--muted);
text-wrap: pretty;
}
.t7h-ctas {
position: relative;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-top: 32px;
}
.t7h-btn {
display: inline-flex;
align-items: center;
gap: 8px;
height: 42px;
padding: 0 20px;
border-radius: 999px;
font-size: 15px;
font-weight: 550;
transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.t7h-btn-primary {
background: #0fa968;
color: #fff !important;
}
.t7h-btn-primary:hover { background: #0c9a5e; }
.t7h-btn-ghost {
border: 1px solid var(--line-strong);
color: var(--fg) !important;
}
.t7h-btn-ghost:hover { background: var(--card-hover); }
.t7h-platforms {
position: relative;
margin-top: 16px;
font-size: 13px;
color: var(--faint);
}
.t7h-stage {
position: relative;
margin: 64px auto 0;
max-width: 1200px;
padding: 0 24px;
}
/* ---------- window mockup (v5) ---------- */
.t7w {
position: relative;
display: grid;
grid-template-columns: 244px minmax(0, 1fr) 276px;
height: 588px;
border-radius: 12px;
overflow: hidden;
background: var(--w-bg);
box-shadow: var(--w-shadow);
color: var(--w-fg);
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
font-size: 13px;
line-height: normal;
letter-spacing: -0.005em;
text-align: left;
-webkit-font-smoothing: antialiased;
user-select: none;
}
.t7w-mono { font-family: ui-monospace, "SF Mono", Menlo, "Cascadia Mono", monospace; }
.t7w-lights {
position: absolute;
top: 18px;
left: 20px;
display: flex;
gap: 8px;
z-index: 2;
}
.t7w-lights span { width: 12px; height: 12px; border-radius: 50%; }
.t7w-lights span:nth-child(1) { background: #ff5f57; }
.t7w-lights span:nth-child(2) { background: #febc2e; }
.t7w-lights span:nth-child(3) { background: #28c840; }
.t7w-sb {
background: var(--w-rail);
border-right: 0.5px solid var(--w-a08);
display: flex;
flex-direction: column;
min-height: 0;
}
.t7w-bar {
height: 48px;
flex-shrink: 0;
display: flex;
align-items: center;
}
.t7w-sb .t7w-bar { justify-content: flex-end; padding: 0 12px; }
.t7w-iconbtn {
width: 26px;
height: 26px;
border-radius: 6px;
display: grid;
place-items: center;
}
.t7w-sbtop {
padding: 4px 12px 16px;
display: flex;
flex-direction: column;
gap: 10px;
}
.t7w-ws {
height: 28px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 8px;
font-weight: 600;
}
.t7w-ws-init {
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--w-a07);
color: var(--w-a55);
display: grid;
place-items: center;
font-size: 10px;
margin-left: -1px;
}
.t7w-search {
height: 28px;
display: flex;
align-items: center;
gap: 7px;
padding: 0 8px;
border-radius: 7px;
background: var(--w-a04);
color: var(--w-a45);
}
.t7w-groups {
flex: 1;
overflow: hidden;
padding: 0 12px 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.t7w-group { display: flex; flex-direction: column; gap: 1px; }
.t7w-ghead {
height: 22px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 8px;
font-size: 11.5px;
color: var(--w-a55);
}
.t7w-ghead b { font-weight: 500; flex: 1; }
.t7w-ghead span { font-variant-numeric: tabular-nums; }
.t7w-row {
display: flex;
align-items: center;
gap: 10px;
padding: 0 8px;
height: 30px;
border-radius: 7px;
color: var(--w-a72);
}
.t7w-row.is-tall { height: 42px; }
.t7w-row.is-on { background: var(--w-a05); color: var(--w-fg); font-weight: 500; }
.t7w-glyph {
width: 16px;
height: 16px;
border-radius: 50%;
flex-shrink: 0;
display: grid;
place-items: center;
color: #fff;
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 9.5px;
font-weight: 600;
line-height: 1;
letter-spacing: -0.06em;
}
.t7w-glyph.is-shell { background: var(--w-a07); color: var(--w-a55); }
/* The agent's own mark as a white mask, 54% of the disc — as avatar_disc. */
.t7w-mark {
width: 54%;
height: 54%;
background: #fff;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-size: contain;
mask-size: contain;
}
/* A black disc (Codex) dissolves into a dark surface; a hairline keeps it
a disc, the same rule as presets::needs_edge. */
html.dark .t7w-glyph.is-edge { box-shadow: inset 0 0 0 1px var(--w-a15); }
.t7w-rtext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.t7w-rtext > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-branch {
font-size: 11.5px;
line-height: 15px;
color: var(--w-a45);
font-weight: 400;
}
/* Status dots follow AgentStatus::dot_rgb: working blue (blinks), waiting
a hollow amber ring, done green. */
.t7w-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.t7w-dot.is-working { background: #3b82f6; animation: t7w-pulse 1.2s steps(1) infinite; }
.t7w-dot.is-waiting { background: transparent; box-shadow: inset 0 0 0 1px #f59e0b; }
.t7w-dot.is-done { background: #22c55e; }
@keyframes t7w-pulse {
50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
.t7w-dot.is-working, .t7w-caret, .t7w-pop, .t7w-toast, .t7w-pane2 { animation: none; }
.t7w { transition: none; }
}
/* main */
.t7w-main { display: flex; flex-direction: column; min-width: 0; }
.t7w-main .t7w-bar { justify-content: center; padding: 0 16px; }
.t7w-pal {
height: 28px;
width: 400px;
max-width: 100%;
display: flex;
align-items: center;
gap: 8px;
padding: 0 5px 0 10px;
border-radius: 7px;
background: var(--w-a03);
font-size: 12px;
color: var(--w-a55);
}
.t7w-pal > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-kbd {
min-width: 18px;
height: 18px;
padding: 0 4px;
display: inline-grid;
place-items: center;
border-radius: 4px;
font-size: 11px;
color: var(--w-a45);
box-shadow: inset 0 0 0 0.5px var(--w-a15);
}
.t7w-term {
flex: 1;
padding: 8px 28px;
font-size: 12.5px;
line-height: 1.7;
white-space: pre;
overflow: hidden;
}
.t7w-prompt { display: flex; gap: 9px; align-items: center; }
.t7w-prompt .p-arrow { color: var(--w-a35); }
.t7w-prompt .p-dir { font-weight: 500; }
.t7w-prompt .p-br { color: var(--w-a45); }
.t7w-prompt .p-dirty { color: var(--w-amber); }
.t7w-out { color: var(--w-a72); }
.t7w-out .o-head { color: var(--w-a45); }
.t7w-out .o-working { color: #3b82f6; }
.t7w-out .o-idle { color: var(--w-a45); }
.t7w-out .o-waiting { color: var(--w-amber); }
.t7w-out .o-done { color: var(--w-green); }
.t7w-caret {
display: inline-block;
width: 1.5px;
height: 15px;
background: var(--w-fg);
animation: t7w-blink 1.1s steps(1) infinite;
}
@keyframes t7w-blink {
50% { opacity: 0; }
}
.t7w-prompt .p-cmd { white-space: pre; }
.t7w-out.o-dim { color: var(--w-a45); }
.t7w-out.o-claude { color: #d97757; }
.t7w-out.o-done-ok { color: var(--w-green); }
.t7w .o-ghost { color: var(--w-a35); }
.t7w .o-cmd { font-weight: 600; color: var(--w-fg); }
.t7w .o-flag { color: var(--w-amber); }
.t7w .o-arg { color: var(--w-a72); }
.t7w-caret { vertical-align: -3px; margin-left: 1px; }
.t7w-prompt .t7w-caret { margin-left: 0; }
.t7w-split { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.t7w-split.is-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.t7w-split .t7w-term { padding-right: 16px; }
/* A narrow pane wraps like a terminal does: at the column, back to the
left edge, not a hanging indent. */
.t7w-split .t7w-prompt { display: block; word-break: break-all; }
.t7w-split .t7w-prompt > span { margin-right: 9px; }
.t7w-split .t7w-prompt > .p-cmd { margin-right: 0; }
.t7w-split .p-cmd, .t7w-split .t7w-out { white-space: pre-wrap; word-break: break-all; }
.t7w-pane2 { border-left: 0.5px solid var(--w-a08); padding-left: 20px !important; animation: t7w-in 0.18s ease-out; }
.t7w-anchor { position: relative; }
.t7w-pop {
background: var(--w-pop);
box-shadow: var(--w-pop-sh);
border-radius: 10px;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
font-size: 13px;
white-space: normal;
animation: t7w-pop 0.14s ease-out;
}
@keyframes t7w-pop {
from { opacity: 0; transform: scale(0.98); }
}
@keyframes t7w-in {
from { opacity: 0; }
}
.t7w-complete {
position: absolute;
top: 24px;
left: 148px;
width: 440px;
padding: 5px;
z-index: 3;
transform-origin: top left;
}
.t7w-crow { height: 26px; display: flex; align-items: center; gap: 12px; padding: 0 8px; border-radius: 6px; }
.t7w-crow .n { width: 96px; flex-shrink: 0; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
.t7w-crow .d { color: var(--w-a55); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-crow.is-sel { background: var(--w-choice); }
.t7w-pal.is-press { background: var(--w-a07); }
.t7w-scrim { position: absolute; inset: 0; background: var(--w-scrim); z-index: 3; animation: t7w-in 0.14s ease-out; }
.t7w-palette {
position: absolute;
z-index: 4;
top: 56px;
left: 50%;
width: min(560px, calc(100% - 32px));
margin-left: calc(min(560px, 100% - 32px) / -2);
transform-origin: top center;
overflow: hidden;
}
.t7w-pinput { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 14px; border-bottom: 0.5px solid var(--w-a08); }
.t7w-pinput .ph { color: var(--w-a45); }
.t7w-pinput .ph .t7w-caret { margin: 0 1px 0 0; }
.t7w-scopes { display: flex; gap: 4px; padding: 8px 10px 4px; font-size: 12px; color: var(--w-a45); }
.t7w-scopes span { height: 24px; padding: 0 9px; display: grid; place-items: center; border-radius: 6px; }
.t7w-scopes .is-on { background: var(--w-a05); color: var(--w-fg); font-weight: 500; }
.t7w-presults { padding: 2px 6px 8px; }
.t7w-pgroup { height: 26px; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; font-weight: 500; color: var(--w-a55); }
.t7w-prow { height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 7px; }
.t7w-prow.is-sel { background: var(--w-a05); }
.t7w-prow .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-prow .meta { color: var(--w-a45); font-size: 12px; white-space: nowrap; }
.t7w-prow mark { background: none; color: inherit; font-weight: 650; }
.t7w-kbd-plain { color: var(--w-a45); font-size: 12px; }
.t7w-toast {
position: absolute;
z-index: 5;
top: 12px;
right: 12px;
width: 300px;
display: flex;
gap: 10px;
padding: 11px 12px;
border-radius: 14px;
background: var(--w-pop);
box-shadow: var(--w-pop-sh);
animation: t7w-toast 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes t7w-toast {
from { opacity: 0; transform: translateX(24px); }
}
.t7w-toast img { width: 30px; height: 30px; flex-shrink: 0; }
.t7w-toast > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; }
.t7w-toast b { font-weight: 600; }
.t7w-toast .sub { color: var(--w-a55); font-size: 12px; }
/* persist chapter: the window leaves, the server doesn't */
.t7w-stagebox { position: relative; }
.t7w { transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.t7w.is-gone { transform: scale(0.94); opacity: 0; }
.t7w-afterlife {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
font-size: 13px;
text-align: left;
color: var(--fg);
animation: t7w-in 0.4s ease-out;
}
.t7w-al-title { text-align: center; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.t7w-al-row { width: 320px; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.t7w-al-row span:nth-child(2) { flex: 1; }
/* chapter bar */
.t7h-chapter-now { display: none; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 500; color: var(--fg); }
.t7h-chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 20px auto 0; max-width: 900px; }
.t7h-chapter {
appearance: none;
border: 0;
background: none;
padding: 6px 0;
display: flex;
flex-direction: column;
gap: 8px;
text-align: left;
cursor: pointer;
font: inherit;
color: var(--faint);
}
.t7h-chapter:hover, .t7h-chapter.is-on { color: var(--fg); }
.t7h-chapter-bar { height: 2px; border-radius: 1px; background: var(--line-strong); overflow: hidden; }
.t7h-chapter-bar span { display: block; height: 100%; background: var(--primary); }
.t7h-chapter-label { font-size: 13px; font-weight: 500; }
.t7h-chapter:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 2px; }
/* inspector */
.t7w-ins {
border-left: 0.5px solid var(--w-a08);
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.t7w-ins .t7w-bar { gap: 18px; padding: 0 8px 0 22px; font-size: 12.5px; color: var(--w-a45); }
.t7w-ins .t7w-bar .is-on { color: var(--w-fg); font-weight: 500; display: flex; align-items: center; }
.t7w-ins .t7w-bar .is-on::after {
content: "";
width: 5px;
height: 5px;
border-radius: 50%;
margin-left: 5px;
background: var(--w-amber);
}
.t7w-pr {
padding: 8px 12px 16px;
display: flex;
flex-direction: column;
gap: 18px;
font-size: 12.5px;
}
.t7w-prhead { display: flex; flex-direction: column; gap: 10px; padding: 4px 8px 0; }
.t7w-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--w-a55); }
.t7w-meta .grow { flex: 1; }
.t7w-prtitle { font-size: 14px; line-height: 19px; font-weight: 600; }
.t7w-prbranch { font-size: 11.5px; color: var(--w-a45); }
.t7w-prbranch b { font-weight: 400; color: var(--w-a72); }
.t7w-practs { display: flex; align-items: center; gap: 8px; padding-top: 2px; }
.t7w-merge {
height: 26px;
padding: 0 12px;
border-radius: 6px;
background: var(--w-btn-bg);
color: var(--w-btn-fg);
font-size: 12px;
font-weight: 500;
display: grid;
place-items: center;
opacity: 0.45;
}
.t7w-practs .note { flex: 1; font-size: 11.5px; color: var(--w-a45); }
.t7w-sect { display: flex; flex-direction: column; }
.t7w-shead {
height: 28px;
display: flex;
align-items: center;
padding: 0 8px;
font-size: 11.5px;
font-weight: 500;
color: var(--w-a55);
}
.t7w-shead b { flex: 1; font-weight: 500; }
.t7w-shead span { font-weight: 400; font-variant-numeric: tabular-nums; }
.t7w-item {
min-height: 26px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 8px;
}
.t7w-item .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-item .dim { color: var(--w-a45); font-variant-numeric: tabular-nums; font-size: 11.5px; }
.t7w-ck { width: 12px; height: 12px; flex-shrink: 0; display: grid; place-items: center; }
.t7w-spin {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1.4px solid var(--w-amber);
border-right-color: transparent;
animation: t7w-spin 0.9s linear infinite;
}
@keyframes t7w-spin {
to { transform: rotate(360deg); }
}
.t7w-avatar {
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--w-a07);
color: var(--w-a55);
display: grid;
place-items: center;
font-size: 9.5px;
font-weight: 600;
flex-shrink: 0;
}
.t7w-pritem { padding: 6px 8px; display: flex; gap: 8px; align-items: flex-start; }
.t7w-pritem .t7w-ck { margin-top: 2px; }
.t7w-pritem > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t7w-pritem .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t7w-pritem .m { font-size: 11.5px; color: var(--w-a45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- sections ---------- */
.t7h-section { padding: 120px 0 0; }
.t7h-kicker {
font-size: 13px;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--primary-text);
}
.t7h-h2 {
margin: 12px 0 0;
font-size: clamp(28px, 3.6vw, 40px);
line-height: 1.12;
letter-spacing: -0.028em;
font-weight: 650;
color: var(--fg);
text-wrap: balance;
}
.t7h-sub {
margin: 16px 0 0;
max-width: 620px;
font-size: 17px;
line-height: 1.6;
color: var(--muted);
text-wrap: pretty;
}
.t7h-grid {
margin-top: 48px;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.t7h-card {
display: flex;
flex-direction: column;
gap: 10px;
padding: 24px;
border-radius: 16px;
border: 1px solid var(--line);
background: var(--card);
color: var(--fg) !important;
transition: border-color 0.15s, background 0.15s;
}
.t7h-card:hover { border-color: var(--primary); background: var(--card-hover); }
.t7h-card-icon {
width: 36px;
height: 36px;
border-radius: 10px;
display: grid;
place-items: center;
background: var(--primary-soft);
margin-bottom: 6px;
}
.t7h-card h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.t7h-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.t7h-more {
margin-top: auto;
padding-top: 6px;
font-size: 13.5px;
font-weight: 500;
color: var(--primary-text);
}
/* agents split */
.t7h-split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 64px;
align-items: center;
}
.t7h-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.t7h-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.t7h-list li b { color: var(--fg); font-weight: 600; }
.t7h-tick {
width: 18px;
height: 18px;
flex-shrink: 0;
margin-top: 2px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--primary-soft);
}
.t7h-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.t7h-chip {
display: inline-flex;
align-items: center;
gap: 7px;
height: 30px;
padding: 0 12px 0 8px;
border-radius: 999px;
border: 1px solid var(--line);
font-size: 13px;
color: var(--fg);
}
.t7h-chip.is-more { padding: 0 12px; color: var(--muted); }
.t7h-panel {
border-radius: 12px;
overflow: hidden;
background: var(--w-rail);
box-shadow: var(--w-shadow);
color: var(--w-fg);
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
font-size: 13px;
padding: 16px 12px;
display: flex;
flex-direction: column;
gap: 16px;
user-select: none;
}
.t7h-toast {
display: flex;
align-items: center;
gap: 10px;
margin: 4px 4px 0;
padding: 10px 12px;
border-radius: 10px;
background: var(--w-bg);
box-shadow: 0 0 0 0.5px var(--w-a15), 0 8px 24px -8px rgba(0, 0, 0, 0.25);
}
.t7h-toast > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.t7h-toast b { font-weight: 600; font-size: 12.5px; }
.t7h-toast span { font-size: 12px; color: var(--w-a55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* speed */
.t7h-stats {
margin-top: 48px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.t7h-bench {
padding: 28px;
border-radius: 16px;
border: 1px solid var(--line);
background: var(--card);
}
.t7h-bench-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.t7h-bench-top h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--fg); }
.t7h-bench-top span { font-size: 12.5px; color: var(--faint); }
.t7h-big {
margin-top: 14px;
font-size: 44px;
font-weight: 650;
letter-spacing: -0.03em;
line-height: 1;
color: var(--fg);
font-variant-numeric: tabular-nums;
}
.t7h-big small { font-size: 18px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.t7h-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.t7h-barrow {
display: grid;
grid-template-columns: 76px minmax(0, 1fr) 64px;
gap: 12px;
align-items: center;
font-size: 13px;
color: var(--muted);
}
.t7h-barrow .v { text-align: right; font-variant-numeric: tabular-nums; }
.t7h-barrow.is-us { color: var(--fg); font-weight: 600; }
.t7h-track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.t7h-fill { height: 100%; border-radius: 4px; background: var(--bar); }
.t7h-barrow.is-us .t7h-fill { background: var(--primary); }
.t7h-footnote { margin-top: 20px; font-size: 13.5px; color: var(--faint); }
.t7h-footnote a { color: var(--primary-text); font-weight: 500; }
/* steps */
.t7h-steps {
margin-top: 48px;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.t7h-step-n {
width: 28px;
height: 28px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 13px;
font-weight: 600;
color: var(--primary-text);
border: 1px solid var(--line-strong);
margin-bottom: 6px;
}
/* closing */
.t7h-end {
margin: 120px 0 96px;
padding: 64px 32px;
border-radius: 24px;
border: 1px solid var(--line);
text-align: center;
background: radial-gradient(70% 90% at 50% 100%, var(--primary-soft), transparent 70%), var(--card);
}
.t7h-end .t7h-sub { margin-left: auto; margin-right: auto; }
.t7h-end-links { margin-top: 20px; display: flex; justify-content: center; gap: 24px; font-size: 14px; }
.t7h-end-links a { color: var(--muted) !important; }
.t7h-end-links a:hover { color: var(--fg) !important; }
/* ---------- responsive ---------- */
@media (max-width: 1080px) {
.t7w { grid-template-columns: 232px minmax(0, 1fr); }
.t7w-ins { display: none; }
.t7h-grid, .t7h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t7h-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 720px) {
.t7h-hero { padding-top: 56px; }
.t7h-stage { margin-top: 48px; padding: 0 16px; }
.t7h-wrap { padding: 0 16px; }
.t7w { grid-template-columns: minmax(0, 1fr); height: 340px; }
.t7w-sb { display: none; }
.t7w-main .t7w-bar { padding-left: 84px; }
.t7w-term { padding: 4px 14px; font-size: 9.5px; line-height: 1.65; }
.t7w-split .t7w-term { padding-right: 8px; }
.t7w-pane2 { padding-left: 10px !important; }
.t7h-grid, .t7h-steps, .t7h-stats { grid-template-columns: minmax(0, 1fr); }
.t7h-chapters { gap: 6px; margin-top: 16px; }
.t7h-chapter { padding: 4px 0; }
.t7h-chapter-label { display: none; }
.t7h-chapter-now { display: block; }
.t7w-toast { top: auto; bottom: 10px; right: 10px; width: 230px; padding: 9px 10px; }
.t7w-toast img { width: 24px; height: 24px; }
.t7w-palette { top: 44px; }
.t7w-prow .meta { display: none; }
.t7w-complete { left: 16px; width: 300px; }
.t7w-afterlife .t7w-al-row { width: 280px; }
.t7h-section { padding-top: 88px; }
.t7h-bench { padding: 22px; }
.t7h-end { margin: 88px 0 64px; padding: 48px 20px; }
}