- navbar: sticky, transparent to blur-on-scroll, wordmark + mono nav links + theme toggle + Download CTA, Reicon Menu/Xmark icons (components/layout) - theme-toggle: Reicon Sun/Moon icons - hero: meadow badge, tight Instrument Sans headline, Download + How-it-works CTAs, availability line, framed dashboard shot (components/sections) - features: five stacked heading-over-panel sections mapping the org chart, office, messages, connectors and cost-control screens - ui/media-frame: shared framed product-shot panel - reveal: progressive enhancement — content is visible without JS and only hidden once the js class is present, then revealed on scroll - remove the superseded flat navbar/hero/features components Verified: next build green; desktop + mobile screenshots reviewed.
223 lines
5.1 KiB
CSS
223 lines
5.1 KiB
CSS
@import "tailwindcss";
|
|
|
|
/*
|
|
* AgentCompany landing — design system.
|
|
* Light theme is a faithful rendering of the adaline pebble/meadow palette
|
|
* (warm cream + dark green). Dark theme uses the matching Material-3 dark
|
|
* surfaces + mint primary. Components consume the CSS variables below, so the
|
|
* whole palette is defined once here.
|
|
*/
|
|
|
|
@theme {
|
|
--font-sans: var(--font-instrument-sans), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
|
|
--font-serif: var(--font-newsreader), "Source Serif Pro", Georgia, "Times New Roman", serif;
|
|
--font-mono: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
|
|
--font-display: var(--font-instrument-serif), "Cormorant Garamond", Georgia, serif;
|
|
}
|
|
|
|
/* ── Light theme (pebble / meadow) ── */
|
|
:root {
|
|
--bg: #fbfdf6;
|
|
--bg-subtle: #f8f9f5;
|
|
--panel: #fdfefb;
|
|
--panel-soft: #f1f3ef;
|
|
--panel-illustration: #eff2e8;
|
|
--text: #0a1d08;
|
|
--text-secondary: #2e3b28;
|
|
--muted: #6b7860;
|
|
--muted-strong: #505c47;
|
|
--accent: #203b14;
|
|
--accent-hover: #13290e;
|
|
--accent-soft: #ecf2df;
|
|
--text-on-accent: #fbfdf6;
|
|
--cta: #203b14;
|
|
--cta-hover: #13290e;
|
|
--cta-soft: rgba(32, 59, 20, 0.06);
|
|
--text-on-cta: #fbfdf6;
|
|
--text-on-cta-muted: rgba(251, 253, 246, 0.75);
|
|
--text-on-cta-faint: rgba(251, 253, 246, 0.6);
|
|
--border: #e1e6df;
|
|
--border-strong: #c4cbc2;
|
|
--border-cool: #c4cbc2;
|
|
--band: #2a332a;
|
|
--band-text: #fbfdf6;
|
|
--band-border: rgba(253, 254, 251, 0.24);
|
|
--footer-bg: #050e11;
|
|
--footer-text: #fbfdf6;
|
|
--glow-warm: rgba(32, 59, 20, 0.05);
|
|
--glow-accent: rgba(99, 143, 61, 0.06);
|
|
--section-alt: rgba(32, 59, 20, 0.02);
|
|
}
|
|
|
|
/* ── Dark theme (Material-3 dark surfaces + mint primary) ── */
|
|
.dark {
|
|
--bg: #131515;
|
|
--bg-subtle: #171b1c;
|
|
--panel: #1d2226;
|
|
--panel-soft: #20262a;
|
|
--panel-illustration: #1d2226;
|
|
--text: #d8e3dd;
|
|
--text-secondary: #b2c3bf;
|
|
--muted: #93a49e;
|
|
--muted-strong: #b2c3bf;
|
|
--accent: #5eec97;
|
|
--accent-hover: #4af58f;
|
|
--accent-soft: #1c4534;
|
|
--text-on-accent: #124627;
|
|
--cta: #5eec97;
|
|
--cta-hover: #4af58f;
|
|
--cta-soft: rgba(94, 236, 151, 0.1);
|
|
--text-on-cta: #124627;
|
|
--text-on-cta-muted: rgba(18, 70, 39, 0.75);
|
|
--text-on-cta-faint: rgba(18, 70, 39, 0.55);
|
|
--border: #2c343b;
|
|
--border-strong: #3b454f;
|
|
--border-cool: #3b454f;
|
|
--band: #0b1510;
|
|
--band-text: #d8e3dd;
|
|
--band-border: rgba(216, 227, 221, 0.2);
|
|
--footer-bg: #05090b;
|
|
--footer-text: #d8e3dd;
|
|
--glow-warm: rgba(94, 236, 151, 0.05);
|
|
--glow-accent: rgba(94, 236, 151, 0.04);
|
|
--section-alt: rgba(94, 236, 151, 0.03);
|
|
}
|
|
|
|
/* ── Base ── */
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font-sans);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-rendering: optimizeLegibility;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.font-display {
|
|
font-family: var(--font-display);
|
|
font-variant-ligatures: common-ligatures discretionary-ligatures;
|
|
}
|
|
|
|
::selection {
|
|
background-color: var(--accent);
|
|
color: var(--text-on-accent);
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
|
|
/* ── Eyebrow / small-caps mono label ── */
|
|
.eyebrow {
|
|
font-family: var(--font-mono);
|
|
font-variant-caps: all-small-caps;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
/* ── Scrollbar ── */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border-strong);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--muted);
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-strong) transparent;
|
|
}
|
|
|
|
/* ── Entrance + reveal motion (faithful to adaline: ease-out-quint) ── */
|
|
@keyframes nav-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes rise-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(14px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.enter-nav {
|
|
animation: nav-enter 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
|
|
}
|
|
|
|
.enter-rise {
|
|
animation: rise-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
/*
|
|
* Scroll-reveal primitive. Progressive enhancement: content is visible by
|
|
* default and only starts hidden once the `js` class is present, so the page
|
|
* stays fully readable if scripts never run.
|
|
*/
|
|
.reveal {
|
|
transition:
|
|
opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
|
|
transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
|
transition-delay: var(--reveal-delay, 0ms);
|
|
}
|
|
|
|
.js .reveal {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
}
|
|
|
|
.js .reveal[data-in-view="true"] {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* ── Reduced motion ── */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
|
|
.js .reveal {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|