Files
rohitg00--agentmemory/website/styles.css
T
Rohit Ghumare 8db6da43d7 feat(website): lamborghini-inspired landing page
Single-page marketing site for agentmemory generated from the
getdesign@latest 'lamborghini' design system.

- DESIGN.md at repo root: the full 288-line design brief (black canvas,
  gold accent, Neo-Grotesk display, zero border-radius, hexagonal
  motifs). Future UI PRs should read this file first.
- website/index.html: hero + stats + primitives + live terminal +
  competitor comparison + agents grid + install + footer.
- website/styles.css: black-first palette (#000 canvas, #FFC000
  accent, #202020 surface), Archivo display at 160px hero, JetBrains
  Mono for the terminal, sharp-edge buttons, reveal-on-intersect.
- website/script.js: vanilla, zero deps.
  - animated canvas memory graph in the hero with a hexagonal pause
    control
  - stat counters that run on first intersect
  - 3D mouse-tilt on primitive cards
  - typewriter terminal demo of memory.recall and memory.consolidate
    with a REPLAY button
  - click-to-copy install boxes with success feedback
  - top scroll progress rail in gold
  - full prefers-reduced-motion short-circuit

No framework, no build step. Drop behind any static host.
2026-04-18 19:06:58 +01:00

896 lines
16 KiB
CSS

:root {
--abyss: #000000;
--iron: #181818;
--charcoal: #202020;
--ash: #7d7d7d;
--steel: #969696;
--mist: #e6e6e6;
--white: #ffffff;
--gold: #ffc000;
--gold-deep: #917300;
--gold-soft: #ffce3e;
--cyan: #29abe2;
--blue: #3860be;
--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
--edge-hex: polygon(
8% 0%,
92% 0%,
100% 50%,
92% 100%,
8% 100%,
0% 50%
);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
background: var(--abyss);
color: var(--white);
font-family: var(--font-display);
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
scroll-behavior: smooth;
}
a {
color: inherit;
text-decoration: none;
transition: color 160ms ease;
}
a:hover {
color: var(--blue);
}
button {
font-family: inherit;
cursor: pointer;
background: none;
border: none;
color: inherit;
}
::selection {
background: var(--gold);
color: var(--abyss);
}
/* Scroll progress */
.scroll-progress {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: transparent;
z-index: 200;
}
.scroll-progress span {
display: block;
height: 100%;
width: 0;
background: var(--gold);
transition: width 80ms linear;
}
/* Nav */
.nav {
position: fixed;
inset: 0 0 auto 0;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
padding: 16px 40px;
z-index: 100;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
pointer-events: none;
}
.nav > * {
pointer-events: auto;
}
.nav__menu {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 12px 0;
color: var(--white);
}
.nav__menu-label {
font-size: 14px;
letter-spacing: 0.14px;
text-transform: uppercase;
}
.nav__bar {
display: block;
width: 22px;
height: 2px;
background: var(--white);
transition: transform 200ms ease;
}
.nav__bar + .nav__bar {
margin-top: 5px;
}
.nav__menu:hover .nav__bar:first-child {
transform: translateX(-2px);
}
.nav__menu:hover .nav__bar:last-child {
transform: translateX(2px);
}
.nav__mark {
justify-self: center;
display: inline-flex;
align-items: center;
transform-origin: center;
transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__mark:hover {
transform: rotate(60deg);
}
.nav__right {
justify-self: end;
display: flex;
align-items: center;
gap: 32px;
}
.nav__link {
font-size: 14px;
letter-spacing: 0.14px;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 18px 28px;
font-size: 14.4px;
font-weight: 700;
letter-spacing: 0.2px;
text-transform: uppercase;
border: 1px solid transparent;
border-radius: 0;
transition: background 200ms ease, color 200ms ease, border-color 200ms ease,
opacity 200ms ease;
cursor: pointer;
}
.btn--accent {
background: var(--gold);
color: var(--abyss);
padding: 22px 32px;
font-size: 16px;
}
.btn--accent:hover {
background: var(--gold-deep);
color: var(--white);
}
.btn--ghost {
background: transparent;
color: var(--white);
border-color: rgba(255, 255, 255, 0.5);
opacity: 0.85;
}
.btn--ghost:hover {
background: rgba(255, 255, 255, 0.08);
border-color: var(--white);
color: var(--white);
opacity: 1;
}
.btn--small {
padding: 10px 14px;
font-size: 12px;
}
/* Hero */
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 120px 24px 80px;
}
.hero__graph {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.hero__vignette {
position: absolute;
inset: 0;
background: radial-gradient(
ellipse at center,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.7) 75%,
rgba(0, 0, 0, 0.95) 100%
),
linear-gradient(
180deg,
rgba(0, 0, 0, 0.3) 0%,
rgba(0, 0, 0, 0) 30%,
rgba(0, 0, 0, 0) 70%,
rgba(0, 0, 0, 0.4) 100%
);
}
.hero__content {
position: relative;
z-index: 2;
text-align: center;
max-width: 1200px;
margin: 0 auto;
}
.hero__chip {
display: inline-block;
padding: 8px 14px;
font-size: 12px;
letter-spacing: 0.96px;
color: var(--gold-soft);
border: 1px solid var(--gold-soft);
text-transform: uppercase;
margin-bottom: 28px;
}
.hero__title {
font-size: clamp(54px, 12vw, 160px);
font-weight: 900;
line-height: 0.92;
letter-spacing: -0.02em;
margin: 0;
text-transform: uppercase;
display: flex;
justify-content: center;
gap: 0.05em;
flex-wrap: wrap;
}
.hero__word {
display: inline-block;
opacity: 0;
transform: translateY(40px);
animation: slideIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero__word:nth-child(2) {
animation-delay: 120ms;
}
.hero__word--accent {
color: var(--gold);
}
@keyframes slideIn {
to {
opacity: 1;
transform: translateY(0);
}
}
.hero__lede {
max-width: 780px;
margin: 28px auto 40px;
font-size: clamp(14px, 1.4vw, 18px);
letter-spacing: 0.12px;
color: var(--mist);
text-transform: uppercase;
line-height: 1.56;
}
.hero__cta {
display: inline-flex;
gap: 16px;
flex-wrap: wrap;
justify-content: center;
}
.hero__pause {
position: absolute;
right: 40px;
bottom: 56px;
z-index: 3;
transition: transform 200ms ease;
}
.hero__pause:hover {
transform: scale(1.08);
}
.hero__rail {
position: absolute;
left: 40px;
right: 40px;
bottom: 24px;
height: 1px;
background: rgba(255, 255, 255, 0.2);
}
.hero__rail span {
display: block;
height: 100%;
width: 0;
background: var(--white);
transition: width 60ms linear;
}
/* Section head */
.section__head {
max-width: 1200px;
margin: 0 auto 56px;
padding: 0 40px;
}
.section__eyebrow {
display: inline-block;
font-size: 12px;
letter-spacing: 0.96px;
color: var(--gold);
text-transform: uppercase;
margin-bottom: 16px;
padding: 6px 10px;
border: 1px solid var(--gold);
}
.section__title {
font-size: clamp(32px, 5vw, 72px);
font-weight: 900;
line-height: 0.98;
letter-spacing: -0.01em;
margin: 0 0 24px;
text-transform: uppercase;
}
.section__lede {
max-width: 680px;
font-size: 16px;
letter-spacing: 0.12px;
color: var(--steel);
text-transform: uppercase;
margin: 0;
}
/* Stats */
.stats {
border-top: 1px solid var(--charcoal);
border-bottom: 1px solid var(--charcoal);
padding: 0;
background: var(--iron);
}
.stats__row {
display: grid;
grid-template-columns: repeat(6, 1fr);
max-width: 1440px;
margin: 0 auto;
}
.stat {
padding: 48px 24px;
text-align: center;
border-right: 1px solid var(--charcoal);
transition: background 250ms ease;
}
.stat:last-child {
border-right: none;
}
.stat:hover {
background: var(--charcoal);
}
.stat__num {
font-family: var(--font-display);
font-size: clamp(40px, 5vw, 64px);
font-weight: 900;
line-height: 1;
color: var(--gold);
letter-spacing: -0.02em;
}
.stat__label {
margin-top: 12px;
font-size: 11px;
letter-spacing: 0.96px;
color: var(--steel);
text-transform: uppercase;
}
/* Primitives */
.primitives {
padding: 112px 0 96px;
}
.primitives__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
max-width: 1440px;
margin: 0 auto;
padding: 0 40px;
background: var(--charcoal);
border: 1px solid var(--charcoal);
}
.prim-card {
background: var(--abyss);
padding: 48px 32px;
transition: background 250ms ease, transform 250ms ease;
position: relative;
overflow: hidden;
min-height: 280px;
}
.prim-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
135deg,
rgba(255, 192, 0, 0) 0%,
rgba(255, 192, 0, 0) 50%,
rgba(255, 192, 0, 0.08) 100%
);
opacity: 0;
transition: opacity 250ms ease;
}
.prim-card:hover {
background: var(--iron);
transform: translateY(-4px);
}
.prim-card:hover::before {
opacity: 1;
}
.prim-card__glyph {
font-family: var(--font-mono);
font-size: 14px;
color: var(--gold);
letter-spacing: 0.2px;
margin-bottom: 32px;
}
.prim-card__title {
font-size: 40px;
font-weight: 900;
line-height: 0.98;
letter-spacing: -0.01em;
margin: 0 0 24px;
text-transform: uppercase;
}
.prim-card__text {
font-size: 14px;
letter-spacing: 0.12px;
color: var(--steel);
text-transform: uppercase;
margin: 0;
line-height: 1.6;
}
/* Live terminal */
.live {
padding: 96px 0;
}
.terminal {
max-width: 1100px;
margin: 0 auto;
padding: 0 40px;
}
.terminal__chrome {
display: flex;
align-items: center;
gap: 8px;
background: var(--iron);
padding: 12px 16px;
border: 1px solid var(--charcoal);
border-bottom: none;
}
.terminal__dot {
width: 10px;
height: 10px;
border-radius: 50%;
display: inline-block;
background: var(--charcoal);
}
.terminal__dot--r {
background: #ff5f57;
}
.terminal__dot--y {
background: #febc2e;
}
.terminal__dot--g {
background: #28c840;
}
.terminal__title {
margin-left: 12px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--steel);
}
.terminal__body {
margin: 0;
padding: 24px 24px 16px;
background: var(--abyss);
border: 1px solid var(--charcoal);
border-top: none;
font-family: var(--font-mono);
font-size: 13.5px;
line-height: 1.7;
color: var(--mist);
white-space: pre-wrap;
min-height: 360px;
overflow: hidden;
}
.terminal__body .t-prompt {
color: var(--gold);
}
.terminal__body .t-comment {
color: var(--ash);
}
.terminal__body .t-ok {
color: #29c864;
}
.terminal__body .t-val {
color: var(--cyan);
}
.terminal__body .t-caret {
display: inline-block;
width: 8px;
height: 1em;
vertical-align: text-bottom;
background: var(--gold);
margin-left: 2px;
animation: blink 1s steps(1) infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
.terminal__foot {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--iron);
padding: 12px 16px;
border: 1px solid var(--charcoal);
border-top: none;
}
.terminal__status {
font-family: var(--font-mono);
font-size: 11px;
color: var(--steel);
letter-spacing: 0.96px;
text-transform: uppercase;
}
/* Compare */
.compare {
padding: 96px 0;
background: var(--iron);
border-top: 1px solid var(--charcoal);
border-bottom: 1px solid var(--charcoal);
}
.compare__table {
max-width: 1100px;
margin: 0 auto;
padding: 0 40px;
}
.compare__row {
display: grid;
grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
gap: 16px;
padding: 20px 0;
border-bottom: 1px solid var(--charcoal);
align-items: center;
font-size: 14px;
letter-spacing: 0.12px;
}
.compare__row > span {
color: var(--steel);
text-transform: uppercase;
}
.compare__row > span:first-child {
color: var(--white);
font-weight: 700;
}
.compare__row--head {
border-bottom-color: var(--gold);
}
.compare__row--head span {
font-size: 11px;
letter-spacing: 0.96px;
color: var(--ash) !important;
font-weight: 400 !important;
}
.compare__row--head .compare__mine {
color: var(--gold) !important;
}
.compare__mine {
color: var(--gold) !important;
font-weight: 700 !important;
}
/* Agents */
.agents {
padding: 96px 0;
}
.agents__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1px;
max-width: 1440px;
margin: 0 auto;
padding: 0 40px;
background: var(--charcoal);
border: 1px solid var(--charcoal);
list-style: none;
}
.agents__tile {
background: var(--abyss);
padding: 40px 24px;
text-align: center;
font-size: 16px;
font-weight: 700;
letter-spacing: 0.12px;
text-transform: uppercase;
transition: background 200ms ease, color 200ms ease, transform 200ms ease;
position: relative;
}
.agents__tile::after {
content: "";
position: absolute;
inset: 12px;
border: 1px solid transparent;
transition: border-color 200ms ease;
}
.agents__tile:hover {
background: var(--iron);
color: var(--gold);
transform: translateY(-2px);
}
.agents__tile:hover::after {
border-color: rgba(255, 192, 0, 0.3);
}
/* Install */
.install {
padding: 112px 0;
background: var(--iron);
border-top: 1px solid var(--charcoal);
}
.install__cards {
max-width: 900px;
margin: 0 auto 56px;
padding: 0 40px;
display: grid;
gap: 16px;
}
.copybox {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 16px;
align-items: center;
padding: 22px 28px;
background: var(--abyss);
border: 1px solid var(--charcoal);
color: var(--mist);
font-family: var(--font-mono);
font-size: 14px;
text-align: left;
width: 100%;
transition: border-color 200ms ease, background 200ms ease;
cursor: pointer;
}
.copybox:hover {
border-color: var(--gold);
background: var(--charcoal);
}
.copybox.is-copied {
border-color: #29c864;
}
.copybox.is-copied .copybox__hint {
color: #29c864;
}
.copybox__prompt {
color: var(--gold);
font-weight: 700;
}
.copybox__cmd {
color: var(--white);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.copybox__hint {
color: var(--ash);
font-size: 11px;
letter-spacing: 0.96px;
text-transform: uppercase;
white-space: nowrap;
}
.install__cta {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
padding: 0 40px;
}
/* Footer */
.foot {
padding: 48px 40px 32px;
background: var(--abyss);
border-top: 1px solid var(--charcoal);
}
.foot__row {
max-width: 1440px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
flex-wrap: wrap;
}
.foot__mark {
font-size: 20px;
font-weight: 900;
letter-spacing: -0.01em;
text-transform: uppercase;
}
.foot__links {
display: flex;
gap: 28px;
flex-wrap: wrap;
}
.foot__links a {
font-size: 13px;
letter-spacing: 0.12px;
text-transform: uppercase;
color: var(--steel);
}
.foot__links a:hover {
color: var(--gold);
}
.foot__fine {
max-width: 1440px;
margin: 32px auto 0;
font-size: 11px;
letter-spacing: 0.96px;
color: var(--ash);
text-transform: uppercase;
}
/* Reveal animation */
.reveal {
opacity: 0;
transform: translateY(32px);
transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
/* Responsive */
@media (max-width: 1024px) {
.stats__row {
grid-template-columns: repeat(3, 1fr);
}
.stat {
border-bottom: 1px solid var(--charcoal);
}
.stat:nth-child(3n) {
border-right: none;
}
.primitives__grid {
grid-template-columns: 1fr;
}
.compare__row {
grid-template-columns: 1.4fr 1fr;
gap: 8px 16px;
}
.compare__row span:nth-child(n + 3) {
display: none;
}
.compare__row--head span:nth-child(n + 3) {
display: none;
}
}
@media (max-width: 640px) {
.nav {
padding: 12px 20px;
}
.nav__right {
gap: 16px;
}
.section__head,
.primitives__grid,
.terminal,
.compare__table,
.agents__grid,
.install__cards,
.install__cta {
padding-left: 20px;
padding-right: 20px;
}
.hero__pause {
right: 20px;
bottom: 36px;
}
.hero__rail {
left: 20px;
right: 20px;
}
.stats__row {
grid-template-columns: 1fr 1fr;
}
.stat:nth-child(3n) {
border-right: 1px solid var(--charcoal);
}
.stat:nth-child(2n) {
border-right: none;
}
.hero__title {
flex-direction: column;
}
.terminal__body {
font-size: 12px;
}
.foot__row {
flex-direction: column;
align-items: flex-start;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.001ms !important;
transition-duration: 0.001ms !important;
}
.hero__word {
opacity: 1;
transform: none;
}
}