WitNote / website /src /styles.css
harvesthealth's picture
Upload folder using huggingface_hub
f7044f4 verified
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
--bg: #09090b;
--surface: #111113;
--card: #16161a;
--elevated: #1e1e23;
--text: #fafafa;
--text-secondary: #a1a1aa;
--text-dim: #52525b;
--accent: #f97316;
--accent-hover: #fb923c;
--green: #22c55e;
--blue: #3b82f6;
--red: #ef4444;
--border: rgba(255, 255, 255, 0.06);
--border-strong: rgba(255, 255, 255, 0.12);
--glow: rgba(249, 115, 22, 0.15);
--radius: 10px;
--radius-lg: 16px;
--shell: min(1120px, calc(100vw - 48px));
--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font);
font-size: 15px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
color: inherit;
text-decoration: none;
}
img {
display: block;
max-width: 100%;
}
.page {
position: relative;
overflow-x: hidden;
}
/* ── Background gradient ── */
.bg-gradient {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background:
radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249, 115, 22, 0.1) 0%, transparent 55%),
radial-gradient(ellipse 50% 40% at 85% 15%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
}
.shell {
width: var(--shell);
margin: 0 auto;
position: relative;
z-index: 1;
}
/* ── Header ── */
.header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(9, 9, 11, 0.82);
backdrop-filter: blur(14px) saturate(1.5);
border-bottom: 1px solid var(--border);
}
.header-inner {
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.logo img {
width: 32px;
height: 32px;
border-radius: 8px;
}
.logo strong {
font-size: 1.05rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.nav {
display: flex;
gap: 32px;
font-size: 0.875rem;
color: var(--text-secondary);
}
.nav a {
transition: color 0.15s;
}
.nav a:hover {
color: var(--text);
}
/* ── Buttons ── */
.btn-primary {
display: inline-flex;
align-items: center;
height: 38px;
padding: 0 18px;
border-radius: 9px;
background: var(--text);
color: var(--bg);
font-size: 0.875rem;
font-weight: 600;
letter-spacing: -0.01em;
transition: opacity 0.15s, transform 0.15s;
flex-shrink: 0;
}
.btn-primary:hover {
opacity: 0.9;
transform: translateY(-1px);
}
.btn-ghost {
display: inline-flex;
align-items: center;
height: 38px;
padding: 0 18px;
border-radius: 9px;
border: 1px solid var(--border-strong);
color: var(--text-secondary);
font-size: 0.875rem;
font-weight: 500;
transition: all 0.15s;
}
.btn-ghost:hover {
color: var(--text);
border-color: rgba(255, 255, 255, 0.22);
}
/* ── Hero ── */
.hero {
padding: 80px 0 60px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
align-items: center;
min-height: calc(100vh - 64px);
}
.hero-content {
max-width: 520px;
}
.badge {
display: inline-block;
margin: 0 0 24px;
padding: 5px 14px;
border-radius: 999px;
background: var(--glow);
color: var(--accent);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.02em;
}
.hero h1 {
margin: 0 0 24px;
font-size: clamp(2.5rem, 4.8vw, 3.75rem);
font-weight: 800;
line-height: 1.08;
letter-spacing: -0.04em;
background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.65));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-sub {
margin: 0 0 32px;
max-width: 44ch;
color: var(--text-secondary);
font-size: 1.05rem;
line-height: 1.7;
}
.hero-cta {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.hero-visual {
display: flex;
justify-content: flex-end;
align-items: center;
}
/* ── Half Globe ── */
.globe-section {
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
height: 520px;
overflow: hidden;
margin-top: -20px;
}
.globe-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
}
.globe-glow {
position: absolute;
left: 50%;
bottom: -10%;
width: 80%;
height: 70%;
transform: translateX(-50%);
border-radius: 50%;
background: radial-gradient(ellipse, rgba(249,115,22,0.1) 0%, rgba(99,102,241,0.06) 40%, transparent 70%);
filter: blur(60px);
pointer-events: none;
}
.globe-fade-top {
position: absolute;
top: 0; left: 0; right: 0;
height: 80px;
background: linear-gradient(180deg, var(--bg), transparent);
z-index: 2;
pointer-events: none;
}
.globe-fade-bottom {
position: absolute;
bottom: 0; left: 0; right: 0;
height: 140px;
background: linear-gradient(0deg, var(--bg), transparent);
z-index: 2;
pointer-events: none;
}
.orbit-label {
position: absolute;
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text-dim);
font-size: 0.8rem;
font-family: var(--mono);
white-space: nowrap;
pointer-events: none;
z-index: 3;
}
.orbit-label svg {
flex-shrink: 0;
opacity: 0.6;
}
.orbit-label::before {
content: "";
width: 24px;
height: 1px;
background: rgba(148, 163, 184, 0.25);
}
.orbit-codex { top: 18%; left: 8%; }
.orbit-claude { top: 10%; left: 50%; transform: translateX(-50%); }
.orbit-openclaw { top: 18%; right: 8%; }
.orbit-nanobot { top: 48%; left: 5%; }
.orbit-any { top: 48%; right: 5%; }
/* ── Terminal mockup ── */
.terminal {
width: 100%;
max-width: 540px;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid var(--border-strong);
overflow: hidden;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.03),
0 24px 64px rgba(0, 0, 0, 0.55),
0 0 100px rgba(249, 115, 22, 0.06);
}
.terminal-bar {
display: flex;
align-items: center;
gap: 7px;
padding: 13px 16px;
background: var(--card);
border-bottom: 1px solid var(--border);
}
.terminal-dot {
width: 11px;
height: 11px;
border-radius: 50%;
background: var(--elevated);
}
.terminal-title {
margin-left: auto;
font-family: var(--mono);
font-size: 0.72rem;
color: var(--text-dim);
}
.terminal-body {
padding: 20px;
font-family: var(--mono);
font-size: 0.8rem;
line-height: 1.85;
}
.terminal-line {
white-space: nowrap;
color: var(--text-secondary);
}
.terminal-line + .terminal-line {
margin-top: 2px;
}
.t-prompt {
color: var(--accent);
margin-right: 8px;
user-select: none;
}
.t-output {
color: var(--text-dim);
}
.t-success {
color: var(--green);
}
.t-active {
color: var(--accent);
}
.t-dim {
color: var(--text-dim);
}
.terminal-output-block {
margin-top: 10px;
padding: 14px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border);
}
.t-status-header {
margin-bottom: 10px;
color: var(--text);
font-weight: 500;
font-size: 0.82rem;
}
.t-status-row {
display: flex;
align-items: center;
gap: 8px;
color: var(--text-secondary);
font-size: 0.76rem;
line-height: 2.1;
}
.t-badge {
margin-left: auto;
padding: 1px 8px;
border-radius: 4px;
font-size: 0.68rem;
font-weight: 500;
letter-spacing: 0.01em;
}
.t-done {
background: rgba(34, 197, 94, 0.1);
color: var(--green);
}
.t-progress {
background: rgba(249, 115, 22, 0.12);
color: var(--accent);
}
.t-blocked {
background: rgba(239, 68, 68, 0.1);
color: var(--red);
}
.terminal-cursor {
display: inline-block;
width: 7px;
height: 15px;
margin-left: 4px;
background: var(--accent);
vertical-align: text-bottom;
animation: blink 1s steps(2) infinite;
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
}
/* ── Clients strip ── */
.clients {
padding: 40px 0;
display: flex;
align-items: center;
gap: 28px;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.clients-label {
font-size: 0.78rem;
color: var(--text-dim);
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 500;
}
.clients-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.clients-list span {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
border-radius: 999px;
border: 1px solid var(--border-strong);
color: var(--text-secondary);
font-size: 0.82rem;
font-family: var(--mono);
transition: border-color 0.15s;
}
.clients-list svg {
flex-shrink: 0;
opacity: 0.7;
}
.clients-list span:hover {
border-color: rgba(255, 255, 255, 0.2);
}
/* ── Section headers ── */
.section-header {
margin-bottom: 48px;
}
.section-label {
display: block;
margin: 0 0 12px;
color: var(--accent);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.section-header h2 {
margin: 0;
font-size: clamp(1.85rem, 3.5vw, 2.75rem);
font-weight: 700;
line-height: 1.12;
letter-spacing: -0.035em;
}
/* ── Features ── */
.features {
padding: 80px 0;
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}
.feature-card {
padding: 32px 28px;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid var(--border);
transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
border-color: var(--border-strong);
transform: translateY(-2px);
}
.feature-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin-bottom: 20px;
border-radius: 10px;
background: var(--glow);
color: var(--accent);
font-size: 1.1rem;
}
.feature-card h3 {
margin: 0 0 12px;
font-size: 1.15rem;
font-weight: 600;
letter-spacing: -0.02em;
}
.feature-card p {
margin: 0;
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.65;
}
/* ── Workflow ── */
.workflow {
padding: 80px 0;
border-top: 1px solid var(--border);
}
.steps {
display: flex;
flex-direction: column;
gap: 16px;
}
.step {
display: grid;
grid-template-columns: 1fr 1.3fr;
gap: 28px;
padding: 32px;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid var(--border);
transition: border-color 0.2s;
}
.step:hover {
border-color: var(--border-strong);
}
.step-info {
display: flex;
flex-direction: column;
justify-content: center;
}
.step-num {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
margin-bottom: 16px;
border-radius: 8px;
background: var(--glow);
color: var(--accent);
font-family: var(--mono);
font-size: 0.75rem;
font-weight: 600;
}
.step-info h3 {
margin: 0 0 8px;
font-size: 1.2rem;
font-weight: 600;
letter-spacing: -0.02em;
}
.step-info p {
margin: 0;
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.6;
}
.step-code {
margin: 0;
padding: 22px 24px;
border-radius: var(--radius);
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--border);
color: var(--text-secondary);
font-family: var(--mono);
font-size: 0.78rem;
line-height: 1.85;
overflow-x: auto;
white-space: pre-wrap;
word-break: break-all;
display: flex;
align-items: center;
}
/* ── Docs ── */
.docs {
padding: 80px 0;
border-top: 1px solid var(--border);
}
.docs-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
}
.doc-card {
display: flex;
flex-direction: column;
padding: 28px 24px;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid var(--border);
transition: border-color 0.2s, transform 0.2s;
min-height: 160px;
}
.doc-card:hover {
border-color: var(--border-strong);
transform: translateY(-2px);
}
.doc-card strong {
display: block;
margin-bottom: 10px;
font-size: 1rem;
font-weight: 600;
}
.doc-card > span {
color: var(--text-secondary);
font-size: 0.85rem;
line-height: 1.55;
}
.doc-arrow {
margin-top: auto;
padding-top: 20px;
color: var(--accent);
font-size: 1.1rem;
transition: transform 0.15s;
}
.doc-card:hover .doc-arrow {
transform: translateX(4px);
}
/* ── Footer ── */
.footer {
padding: 28px 0 48px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
border-top: 1px solid var(--border);
color: var(--text-dim);
font-size: 0.8rem;
}
.footer-links {
display: flex;
gap: 24px;
}
.footer-links a {
transition: color 0.15s;
}
.footer-links a:hover {
color: var(--text-secondary);
}
/* ── Responsive ── */
@media (max-width: 960px) {
.hero {
grid-template-columns: 1fr;
min-height: auto;
padding: 56px 0 48px;
gap: 40px;
}
.hero-content {
max-width: 100%;
}
.hero-visual {
justify-content: flex-start;
}
.globe-section {
height: 380px;
}
.terminal {
max-width: 100%;
}
.features-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.step {
grid-template-columns: 1fr;
gap: 16px;
}
.docs-grid {
grid-template-columns: repeat(2, 1fr);
}
.clients {
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
}
@media (max-width: 600px) {
:root {
--shell: calc(100vw - 32px);
}
.nav {
display: none;
}
.header-inner {
height: 56px;
}
.hero {
padding: 40px 0 36px;
}
.hero h1 {
font-size: clamp(2rem, 9vw, 2.8rem);
}
.globe-section {
height: 280px;
}
.orbit-label {
font-size: 0.68rem;
}
.orbit-nanobot, .orbit-any {
display: none;
}
.docs-grid {
grid-template-columns: 1fr;
}
.features,
.workflow,
.docs {
padding: 56px 0;
}
.step {
padding: 24px 20px;
}
.feature-card {
padding: 24px 20px;
}
}