reachy_mini_radio / style.css
apirrone
update landing page
5f5ad1e
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
--bg: #050915;
--card: rgba(255, 255, 255, 0.07);
--border: rgba(255, 255, 255, 0.12);
--muted: #9fb4d1;
--accent: #7ef2c9;
--accent-2: #74b6ff;
--text: #e9f0ff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Space Grotesk', 'DM Sans', sans-serif;
line-height: 1.6;
color: var(--text);
background:
radial-gradient(80% 60% at 20% 20%, rgba(116, 182, 255, 0.14), transparent),
radial-gradient(60% 50% at 80% 10%, rgba(126, 242, 201, 0.12), transparent),
radial-gradient(50% 40% at 60% 70%, rgba(116, 182, 255, 0.12), transparent),
var(--bg);
min-height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
.page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.container {
width: min(1200px, 92vw);
margin: 0 auto;
}
.hero {
position: relative;
overflow: hidden;
padding: 64px 0 72px;
}
.hero::before,
.hero::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(60% 60% at 30% 20%, rgba(126, 242, 201, 0.12), transparent);
z-index: 0;
}
.hero::after {
background: radial-gradient(50% 50% at 70% 10%, rgba(116, 182, 255, 0.12), transparent);
}
.hero-layout {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 32px;
align-items: center;
}
.hero-copy h1 {
font-size: clamp(2.6rem, 4vw, 3.8rem);
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.eyebrow {
text-transform: uppercase;
font-size: 0.85rem;
color: var(--muted);
letter-spacing: 0.12em;
margin-bottom: 12px;
}
.tagline {
font-size: 1.2rem;
color: #d8e5ff;
margin-bottom: 10px;
}
.lede {
color: var(--muted);
max-width: 540px;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin-top: 24px;
}
.hero-cta {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 20px;
border-radius: 14px;
background: linear-gradient(120deg, var(--accent), var(--accent-2));
color: #041020;
font-weight: 700;
box-shadow: 0 15px 35px rgba(116, 182, 255, 0.25);
}
.btn-icon {
font-size: 1rem;
}
.hero-note {
color: var(--muted);
font-size: 0.95rem;
}
.hero-visual {
display: flex;
justify-content: flex-end;
}
.placeholder-frame {
width: min(480px, 100%);
padding: 18px;
border-radius: 20px;
background: linear-gradient(135deg, rgba(116, 182, 255, 0.18), rgba(126, 242, 201, 0.12));
border: 1px solid var(--border);
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}
.placeholder-graphic {
position: relative;
border: 2px dashed rgba(233, 240, 255, 0.45);
border-radius: 16px;
height: 320px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: radial-gradient(circle at 20% 30%, rgba(233, 240, 255, 0.05), transparent);
}
.placeholder-label {
position: absolute;
top: 16px;
right: 16px;
padding: 6px 10px;
border-radius: 999px;
background: rgba(233, 240, 255, 0.1);
border: 1px solid rgba(233, 240, 255, 0.2);
font-size: 0.85rem;
color: #dbe7ff;
}
.placeholder-bars {
display: grid;
grid-template-columns: repeat(5, 1fr);
align-items: end;
gap: 10px;
width: 70%;
height: 160px;
}
.placeholder-bars span {
display: block;
width: 100%;
height: 38%;
border-radius: 12px;
background: linear-gradient(180deg, rgba(126, 242, 201, 0.9), rgba(116, 182, 255, 0.85));
animation: pulse 1.6s ease-in-out infinite;
}
.placeholder-bars span:nth-child(2) {
animation-delay: 0.15s;
}
.placeholder-bars span:nth-child(3) {
animation-delay: 0.3s;
}
.placeholder-bars span:nth-child(4) {
animation-delay: 0.45s;
}
.placeholder-bars span:nth-child(5) {
animation-delay: 0.6s;
}
@keyframes pulse {
0%,
100% {
height: 38%;
}
50% {
height: 90%;
}
}
.placeholder-caption {
margin-top: 26px;
color: var(--muted);
font-size: 0.95rem;
}
.content {
flex: 1;
padding: 28px 0 56px;
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 18px;
}
.info-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 18px;
padding: 20px;
backdrop-filter: blur(8px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.info-icon {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border-radius: 12px;
background: rgba(126, 242, 201, 0.12);
border: 1px solid rgba(126, 242, 201, 0.35);
margin-bottom: 12px;
font-size: 1.1rem;
}
.info-card h3 {
margin-bottom: 8px;
font-size: 1.2rem;
}
.info-card p {
color: var(--muted);
}
.footer {
padding: 22px 0 32px;
text-align: center;
color: var(--muted);
}
.footer a {
color: #dbe7ff;
font-weight: 600;
}
.footer a:hover {
text-decoration: underline;
}
@media (max-width: 720px) {
.hero {
padding-top: 48px;
}
.hero-visual {
justify-content: flex-start;
}
.placeholder-graphic {
height: 260px;
}
}