:root {
--accent: #F5A524;
--accent-hover: #FFB73D;
--accent-soft: rgba(245,165,36,.12);
--code-green: #7EE787;
--code-red: #FF7B72;
--code-blue: #79C0FF;
--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-code: "JetBrains Mono", ui-monospace, monospace;
--max: 1200px;
--read: 720px;
} [data-palette="midnight"] {
--bg: #0B1220; --surface: #121C30; --surface-2: #18243C;
--border: #1E2D48; --border-strong: #2C4068;
--text: #E8EDF7; --text-muted: #8A99B5; --text-dim: #4A5A7A;
}
[data-palette="daylight"] {
--bg: #F7F9FC; --surface: #FFFFFF; --surface-2: #F0F3F8;
--border: #E1E6EE; --border-strong: #C4CCD8;
--text: #0B1220; --text-muted: #4A5A75; --text-dim: #8A99B5;
--accent: #B45309; --accent-hover: #92400E; --accent-soft: rgba(180,83,9,.10);
}
[data-palette="espresso"] {
--bg: #16110D; --surface: #1F1812; --surface-2: #261E17;
--border: #332921; --border-strong: #4A3A2D;
--text: #F2EDE6; --text-muted: #A89B89; --text-dim: #6E5F4F;
}
[data-palette="slate"] {
--bg: #11151B; --surface: #181D26; --surface-2: #1E242E;
--border: #283040; --border-strong: #3A4458;
--text: #ECEEF2; --text-muted: #8E96A6; --text-dim: #5A6378;
}
[data-palette="plum"] {
--bg: #15101C; --surface: #1E1729; --surface-2: #251E33;
--border: #322945; --border-strong: #463A60;
--text: #EFEAF5; --text-muted: #A095B5; --text-dim: #685C7A;
}
[data-palette="black"] {
--bg: #0A0A0B; --surface: #141416; --surface-2: #1B1B1E;
--border: #26262A; --border-strong: #3A3A40;
--text: #EDEDEF; --text-muted: #8B8B92; --text-dim: #5A5A60;
} * { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg) !important;
color: var(--text);
font-family: var(--font-body);
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
img { max-width: 100%; height: auto; }
.hh-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); } body.hh-frontpage .site-header,
body.hh-frontpage .site-footer { display: none; } .hh-nav {
position: sticky; top: 0; z-index: 50;
background: color-mix(in srgb, var(--bg) 88%, transparent);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}
.hh-nav-inner {
display: flex; align-items: center; gap: 32px;
height: 56px;
}
.brand {
display: flex; align-items: center; gap: 10px;
font-family: var(--font-mono); font-weight: 600; font-size: 16px;
color: var(--text);
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: var(--accent); }
.brand-mark svg { width: 24px; height: 24px; display: block; }
.brand-word { display: inline; }
.hh-nav-links { display: flex; gap: 24px; margin-left: 24px; font-family: var(--font-mono); font-size: 13px; }
.hh-nav-links a { color: var(--text-muted); font-weight: 500; }
.hh-nav-links a:hover { color: var(--text); text-decoration: none; }
.hh-nav-spacer { flex: 1; }
.hh-nav-actions { display: flex; gap: 8px; align-items: center; }
.hh-nav-cta {
font-family: var(--font-mono); font-size: 12px; font-weight: 500;
padding: 6px 12px; border-radius: 4px; cursor: pointer;
background: var(--accent); color: #000; border: 1px solid var(--accent);
font-weight: 600;
}
.hh-nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #000; text-decoration: none; } .palette-switcher { display: flex; gap: 6px; align-items: center; padding: 4px 6px; border: 1px solid var(--border); border-radius: 999px; }
.pal-btn { width: 18px; height: 18px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform 120ms; }
.pal-btn:hover { transform: scale(1.15); }
.pal-btn.is-active { border-color: var(--accent); }
.pal-espresso { background: #16110D; box-shadow: inset 0 0 0 1px #4A3A2D; }
.pal-midnight { background: #0B1220; box-shadow: inset 0 0 0 1px #2C4068; }
.pal-slate    { background: #11151B; box-shadow: inset 0 0 0 1px #3A4458; }
.pal-plum     { background: #15101C; box-shadow: inset 0 0 0 1px #463A60; }
.pal-black    { background: #0A0A0B; box-shadow: inset 0 0 0 1px #3A3A40; }
.pal-daylight { background: #F7F9FC; box-shadow: inset 0 0 0 1px #C4CCD8; } .hh-hero { padding: 96px 0 64px; border-bottom: 1px solid var(--border); position: relative; }
.hh-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hh-hero-eyebrow {
font-family: var(--font-mono); font-size: 12px; color: var(--accent);
letter-spacing: 0.04em; margin-bottom: 24px;
display: inline-flex; align-items: center; gap: 8px;
padding: 6px 12px; border: 1px solid var(--accent-soft);
background: var(--accent-soft); border-radius: 999px;
}
.hh-hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1.hh-hero-title {
font-family: var(--font-mono);
font-size: clamp(40px, 5.5vw, 72px); line-height: 1.04;
font-weight: 600; letter-spacing: -0.02em; margin: 0 0 24px;
color: var(--text);
}
.hh-hero-title .prompt { color: var(--accent); margin-right: 12px; }
.hh-hero-sub { font-size: 18px; color: var(--text-muted); max-width: 520px; line-height: 1.6; margin-bottom: 32px; }
.hh-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hh-btn {
font-family: var(--font-mono); font-size: 14px; font-weight: 500;
padding: 12px 20px; border-radius: 6px; cursor: pointer;
border: 1px solid var(--border-strong);
background: transparent; color: var(--text);
display: inline-flex; align-items: center; gap: 10px;
transition: all 120ms ease; text-decoration: none;
}
.hh-btn:hover { border-color: var(--text); text-decoration: none; }
.hh-btn-primary { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.hh-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #000; } .hh-terminal {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
font-family: var(--font-code); font-size: 13px;
overflow: hidden;
box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.hh-terminal-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); align-items: center; }
.hh-terminal-dot { width: 12px; height: 12px; border-radius: 50%; background: #4D4D52; }
.hh-terminal-title { color: var(--text-dim); font-size: 12px; margin-left: 12px; }
.hh-terminal-body { padding: 18px 20px; line-height: 1.7; }
.hh-terminal-line { white-space: pre-wrap; }
.hh-term-prompt { color: var(--accent); }
.hh-term-cmd { color: var(--text); }
.hh-term-out { color: var(--text-muted); }
.hh-term-ok { color: var(--code-green); }
.hh-term-key { color: var(--code-blue); }
.hh-term-cursor { display: inline-block; width: 8px; height: 16px; background: var(--accent); vertical-align: -3px; animation: hh-blink 1s steps(2) infinite; }
@keyframes hh-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} } .hh-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.hh-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; gap: 32px; }
.hh-section-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
h2.hh-section-title { font-family: var(--font-mono); font-size: 32px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--text); }
.hh-section-link { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.hh-section-link:hover { color: var(--accent); } .hh-latest { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.hh-feature-card, .hh-post-card {
background: var(--surface); border: 1px solid var(--border);
border-radius: 8px; overflow: hidden;
transition: border-color 120ms ease, transform 120ms ease;
display: block; text-decoration: none; color: var(--text);
}
.hh-feature-card:hover, .hh-post-card:hover { border-color: var(--border-strong); text-decoration: none; }
.hh-feature-thumb {
aspect-ratio: 16/9;
background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
position: relative; display: grid; place-items: center;
border-bottom: 1px solid var(--border);
}
.hh-feature-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-feature-thumb-mono { font-family: var(--font-mono); font-size: 28px; color: var(--accent); text-align: center; }
.hh-play-btn {
position: absolute; inset: 0; margin: auto;
width: 64px; height: 64px;
background: var(--accent); color: #000;
border-radius: 50%;
display: grid; place-items: center;
font-size: 22px;
}
.hh-feature-body, .hh-post-body { padding: 24px; }
.hh-tag-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.hh-tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 3px; letter-spacing: 0.02em; }
.hh-feature-title { font-family: var(--font-mono); font-size: 22px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--text); }
.hh-feature-meta, .hh-post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; gap: 16px; margin-top: 16px; }
.hh-post-side { display: flex; flex-direction: column; gap: 24px; }
.hh-post-card { display: flex; flex-direction: column; height: 100%; }
.hh-post-title { font-family: var(--font-mono); font-size: 16px; font-weight: 500; margin: 0 0 8px; color: var(--text); letter-spacing: -0.01em; line-height: 1.35; }
.hh-post-excerpt { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; } .hh-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hh-pillar { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 24px; transition: border-color 120ms; }
.hh-pillar:hover { border-color: var(--accent); }
.hh-pillar-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.hh-pillar-title { font-family: var(--font-mono); font-size: 18px; font-weight: 600; margin: 0 0 12px; color: var(--text); letter-spacing: -0.01em; }
.hh-pillar-desc { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.hh-pillar-link { font-family: var(--font-mono); font-size: 12px; display: inline-block; margin-top: 16px; } .hh-cornerstone {
background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
padding: 48px;
display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.hh-cornerstone-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.hh-cornerstone h3 { font-family: var(--font-mono); font-size: 28px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; color: var(--text); }
.hh-cornerstone p { color: var(--text-muted); font-size: 15px; margin: 0 0 16px; }
.hh-cornerstone-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; gap: 16px; margin: 24px 0; }
.hh-code-block {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 20px;
font-family: var(--font-code); font-size: 13px;
line-height: 1.6;
overflow: auto;
color: var(--text);
}
.hh-code-block .c-key { color: var(--code-blue); }
.hh-code-block .c-str { color: var(--code-green); }
.hh-code-block .c-com { color: var(--text-dim); }
.hh-code-block .c-fn  { color: var(--accent); } .hh-newsletter {
background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
border: 1px solid var(--border);
border-radius: 8px;
padding: 56px 48px;
text-align: center;
position: relative;
overflow: hidden;
}
.hh-newsletter::before {
content: ""; position: absolute; inset: 0;
background:
radial-gradient(600px circle at 20% 0%, var(--accent-soft), transparent 50%),
radial-gradient(400px circle at 80% 100%, var(--accent-soft), transparent 50%);
pointer-events: none;
}
.hh-newsletter-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.hh-newsletter-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.hh-newsletter h3 { font-family: var(--font-mono); font-size: 32px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; color: var(--text); }
.hh-newsletter p { color: var(--text-muted); font-size: 16px; margin: 0 0 32px; }
.hh-newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.hh-newsletter-form input {
flex: 1; padding: 12px 16px;
background: var(--bg); border: 1px solid var(--border-strong);
color: var(--text); font-family: var(--font-mono); font-size: 14px;
border-radius: 6px; outline: none;
}
.hh-newsletter-form input:focus { border-color: var(--accent); }
.hh-newsletter-list { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-top: 20px; } .hh-newsletter-embed iframe { width: 100% !important; max-width: 480px; border: 0; } .hh-archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hh-archive-card {
background: var(--surface); border: 1px solid var(--border);
border-radius: 8px; padding: 24px;
display: flex; flex-direction: column; gap: 12px;
transition: all 120ms; text-decoration: none; color: var(--text);
}
.hh-archive-card:hover { border-color: var(--border-strong); transform: translateY(-2px); text-decoration: none; }
.hh-archive-card .hh-post-title { margin: 0; }
.hh-archive-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); display: flex; gap: 16px; margin-top: auto; }
.hh-refresh-badge { font-family: var(--font-mono); font-size: 10px; color: var(--code-green); background: rgba(126,231,135,.10); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.04em; } .hh-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg); }
.hh-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.hh-footer-about { font-size: 14px; color: var(--text-muted); max-width: 380px; line-height: 1.6; margin: 16px 0 0; }
.hh-footer-col h4 { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }
.hh-footer-col a { display: block; padding: 4px 0; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.hh-footer-col a:hover { color: var(--accent); text-decoration: none; }
.hh-footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); } .hh-content {
max-width: var(--read);
margin: 64px auto;
padding: 0 24px;
color: var(--text);
}
.hh-content h1 { font-family: var(--font-mono); font-size: 2.5rem; line-height: 1.15; margin: 0 0 32px; letter-spacing: -0.02em; }
.hh-content h2 { font-family: var(--font-mono); font-size: 1.75rem; margin: 56px 0 16px; letter-spacing: -0.01em; }
.hh-content h3 { font-family: var(--font-mono); font-size: 1.25rem; margin: 40px 0 12px; }
.hh-content p { margin: 0 0 24px; line-height: 1.7; }
.hh-content code {
font-family: var(--font-code); font-size: 0.9em;
background: var(--surface); padding: 2px 6px; border-radius: 3px;
border: 1px solid var(--border);
}
.hh-content pre {
background: var(--surface); border: 1px solid var(--border);
border-radius: 6px; padding: 20px; overflow-x: auto;
font-family: var(--font-code); font-size: 14px; line-height: 1.6;
margin: 24px 0;
}
.hh-content pre code { background: transparent; border: 0; padding: 0; }
.hh-content blockquote {
border-left: 3px solid var(--accent);
padding: 0 0 0 20px; margin: 24px 0;
color: var(--text-muted); font-style: italic;
}
.hh-content img { border-radius: 6px; margin: 24px 0; }
.hh-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.hh-content th, .hh-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.hh-content th { font-family: var(--font-mono); font-weight: 600; color: var(--text-muted); }
.hh-post-header { max-width: var(--read); margin: 64px auto 0; padding: 0 24px; }
.hh-post-meta-row { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; gap: 16px; margin-bottom: 16px; } @media (max-width: 900px) {
.hh-hero-grid { grid-template-columns: 1fr; gap: 48px; }
.hh-latest { grid-template-columns: 1fr; }
.hh-pillars { grid-template-columns: repeat(2, 1fr); }
.hh-cornerstone { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
.hh-archive { grid-template-columns: 1fr; }
.hh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
.hh-nav-links { display: none; }
}