:root { --bg: #080c15; --surface: #0e1420; --surface-hover: #131a28; --border: #1a2235; --text: #e8ecf4; --text-secondary: #8892a8; --text-dim: #4a5568; --cyan: #22d3ee; --cyan-dim: rgba(34, 211, 238, 0.07); --cyan-glow: rgba(34, 211, 238, 0.15); --display: 'Bricolage Grotesque', sans-serif; --body: 'Karla', sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; } a { color: var(--cyan); text-decoration: none; transition: opacity 0.2s; } a:hover { opacity: 0.7; } /* Animations */ @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } } .reveal { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .r1 { animation-delay: 0.05s; } .r2 { animation-delay: 0.15s; } .r3 { animation-delay: 0.3s; } /* Outer shell */ .shell { max-width: 1100px; margin: 0 auto; padding: 0 2rem; } @media (max-width: 640px) { .shell { padding: 0 1.25rem; } } /* Header */ header { padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); margin-bottom: 0; } .logo { font-family: var(--display); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text) !important; } header nav { display: flex; align-items: center; gap: 2rem; } header nav a { font-size: 0.82rem; color: var(--text-secondary); } header nav a:hover { color: var(--text); opacity: 1; } header nav a.active { color: var(--cyan); } .nav-cta { color: var(--cyan) !important; font-weight: 500; } /* Docs layout */ .docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; min-height: calc(100vh - 80px); } /* Sidebar */ .sidebar { border-right: 1px solid var(--border); padding: 2.5rem 0 2.5rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; } .sidebar-section { margin-bottom: 2rem; } .sidebar-heading { font-family: var(--display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); padding: 0 1.5rem; margin-bottom: 0.5rem; } .sidebar nav a { display: block; padding: 0.4rem 1.5rem; font-size: 0.83rem; color: var(--text-secondary); transition: color 0.15s, background 0.15s; border-left: 2px solid transparent; } .sidebar nav a:hover { color: var(--text); opacity: 1; } .sidebar nav a.active { color: var(--cyan); border-left-color: var(--cyan); background: var(--cyan-dim); } /* Main content */ .docs-main { padding: 2.5rem 3rem 4rem; max-width: 780px; } @media (max-width: 768px) { .docs-layout { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; } .docs-main { padding: 2rem 0 3rem; } } /* Typography */ .page-title { font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.5rem; line-height: 1.2; } .page-subtitle { font-size: 1rem; color: var(--text-secondary); font-weight: 300; margin-bottom: 3rem; line-height: 1.7; max-width: 560px; } h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 3rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); scroll-margin-top: 2rem; } h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; } h3 { font-family: var(--display); font-size: 0.95rem; font-weight: 600; margin: 1.8rem 0 0.5rem; } p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; } p strong { color: var(--text); font-weight: 600; } ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; } li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.2rem; } li strong { color: var(--text); font-weight: 600; } /* Code */ code { font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; font-size: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 0.1em 0.4em; color: var(--cyan); } pre { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1.2rem 1.4rem; overflow-x: auto; margin: 1rem 0 1.5rem; } pre code { background: none; border: none; padding: 0; font-size: 0.82rem; color: var(--text); line-height: 1.7; } /* Tables */ table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.85rem; } th { text-align: left; font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); } td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; line-height: 1.6; } td:first-child { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.8rem; color: var(--cyan); white-space: nowrap; } tr:last-child td { border-bottom: none; } /* Callout / note box */ .note { background: var(--cyan-dim); border: 1px solid rgba(34, 211, 238, 0.2); border-radius: 6px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; } .note strong { color: var(--cyan); font-weight: 600; } /* Step list */ .step-list { list-style: none; padding: 0; counter-reset: steps; } .step-list li { counter-increment: steps; display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); align-items: start; } .step-list li:first-child { border-top: 1px solid var(--border); } .step-list li::before { content: counter(steps, decimal-leading-zero); font-family: var(--display); font-size: 0.72rem; font-weight: 700; color: var(--text-dim); padding-top: 0.15rem; } /* Command cards */ .cmd-grid { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 1rem 0 1.5rem; } .cmd-row { display: grid; grid-template-columns: 160px 1fr; background: var(--surface); transition: background 0.2s; } .cmd-row:hover { background: var(--surface-hover); } .cmd-name { padding: 0.9rem 1.1rem; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.8rem; color: var(--cyan); border-right: 1px solid var(--border); display: flex; align-items: center; } .cmd-desc { padding: 0.9rem 1.1rem; font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; display: flex; align-items: center; } /* Docs index cards */ .doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 2rem; } .doc-card { background: var(--surface); padding: 1.6rem; transition: background 0.2s; text-decoration: none; display: block; color: inherit; } .doc-card:hover { background: var(--surface-hover); opacity: 1; } .doc-card-title { font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; } .doc-card-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; } @media (max-width: 600px) { .doc-cards { grid-template-columns: 1fr; } .cmd-row { grid-template-columns: 130px 1fr; } } /* Footer */ footer { padding: 2rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-dim); margin-top: 0; } footer a { color: var(--text-dim); font-size: 0.75rem; } footer a:hover { color: var(--text-secondary); }