reachy_mini_clock / style.css
apirrone
update landing page
267ddb2
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg: #0f172a;
--card: #0b1221;
--accent: #7dd3fc;
--accent-2: #a855f7;
--text: #e2e8f0;
--muted: #94a3b8;
--border: rgba(148, 163, 184, 0.2);
}
body {
font-family: "Space Grotesk", "Neue Haas Grotesk", "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
line-height: 1.6;
color: var(--text);
background: radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.08), transparent 25%),
radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.1), transparent 30%),
var(--bg);
min-height: 100vh;
padding: 3rem 1.5rem 2rem;
position: relative;
overflow-x: hidden;
}
.background-accent {
position: absolute;
inset: 0;
pointer-events: none;
background: radial-gradient(circle at 70% 60%, rgba(125, 211, 252, 0.07), transparent 40%),
radial-gradient(circle at 15% 75%, rgba(168, 85, 247, 0.08), transparent 35%);
z-index: 0;
}
.container {
max-width: 1100px;
margin: 0 auto;
position: relative;
z-index: 1;
}
.hero {
text-align: center;
margin-bottom: 2.5rem;
}
.badge {
display: inline-block;
padding: 0.4rem 0.9rem;
border-radius: 999px;
background: rgba(125, 211, 252, 0.15);
color: var(--accent);
border: 1px solid rgba(125, 211, 252, 0.25);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.85rem;
}
h1 {
font-size: clamp(2.4rem, 4vw, 3.4rem);
margin: 0.6rem 0;
letter-spacing: -0.03em;
}
.lead {
color: var(--muted);
font-size: 1.05rem;
max-width: 680px;
margin: 0 auto 1.2rem;
}
.hero-pills {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.6rem;
}
.pill {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border);
color: var(--text);
padding: 0.55rem 0.9rem;
border-radius: 12px;
font-weight: 600;
font-size: 0.95rem;
backdrop-filter: blur(6px);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}
.panel {
background: var(--card);
border: 1px solid var(--border);
border-radius: 18px;
padding: 1.6rem;
box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}
.panel h2 {
font-size: 1.4rem;
margin-bottom: 1rem;
}
.steps {
list-style: none;
display: flex;
flex-direction: column;
gap: 1.1rem;
}
.steps li {
display: grid;
grid-template-columns: 46px 1fr;
align-items: start;
gap: 0.8rem;
padding: 0.9rem 1rem;
border-radius: 14px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.02);
}
.steps h3 {
margin: 0;
font-size: 1.05rem;
}
.steps p {
color: var(--muted);
}
.step-number {
width: 46px;
height: 46px;
border-radius: 12px;
background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(168, 85, 247, 0.18));
border: 1px solid var(--border);
display: grid;
place-items: center;
font-weight: 700;
color: var(--text);
}
.visual {
display: flex;
align-items: center;
justify-content: center;
}
.placeholder {
width: 100%;
background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.95));
border: 1px dashed rgba(125, 211, 252, 0.4);
border-radius: 20px;
padding: 1.4rem;
position: relative;
overflow: hidden;
}
.placeholder-tag {
position: absolute;
top: 0.9rem;
right: 0.9rem;
padding: 0.35rem 0.7rem;
border-radius: 999px;
background: rgba(168, 85, 247, 0.15);
color: #e9d5ff;
font-weight: 700;
letter-spacing: 0.05em;
font-size: 0.85rem;
}
.placeholder-graphic {
position: relative;
aspect-ratio: 4 / 3;
background: radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.1), transparent 60%),
radial-gradient(circle at 50% 70%, rgba(168, 85, 247, 0.12), transparent 55%),
#0b1021;
border-radius: 14px;
display: grid;
place-items: center;
}
.dial {
width: 70%;
height: 70%;
border-radius: 50%;
border: 2px dashed rgba(255, 255, 255, 0.15);
box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.15);
position: relative;
}
.dial::after {
content: '';
position: absolute;
inset: 32%;
border-radius: 50%;
background: radial-gradient(circle, rgba(125, 211, 252, 0.25), transparent 70%);
}
.antenna {
position: absolute;
height: 34%;
width: 4px;
background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(168, 85, 247, 0.9));
border-radius: 999px;
transform-origin: bottom center;
bottom: 15%;
}
.antenna-right {
transform: rotate(30deg);
right: 50%;
}
.antenna-left {
transform: rotate(-60deg);
left: 50%;
}
.placeholder-caption {
color: var(--muted);
margin-top: 0.9rem;
text-align: center;
font-size: 0.95rem;
}
.footer {
text-align: center;
margin-top: 2.5rem;
color: var(--muted);
font-size: 0.95rem;
position: relative;
z-index: 1;
}
.footer a {
color: var(--text);
text-decoration: none;
font-weight: 600;
}
.footer a:hover {
color: var(--accent);
}
@media (max-width: 640px) {
body {
padding: 2.5rem 1rem 1.5rem;
}
.steps li {
grid-template-columns: 42px 1fr;
}
.antenna {
height: 40%;
}
}