:root {
--green: #1a7a4a;
--green-lt: #2da865;
--green-bg: #f0faf5;
--ink: #0f1f17;
--ink-mid: #3a5244;
--ink-soft: #6b8c7a;
--sand: #f5f2ec;
--white: #ffffff;
--border: #d4e8db;
}

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'DM Sans', sans-serif;
font-size: 17px;
line-height: 1.65;
color: var(--ink);
background: var(--white);
}

/* ── NAV ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255,255,255,0.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 0 2rem;
display: flex;
align-items: center;
justify-content: space-between;
height: 58px;
}
.nav-brand {
font-family: 'DM Mono', monospace;
font-size: 0.82rem;
color: var(--green);
text-decoration: none;
letter-spacing: 0.03em;
}
.nav-links {
display: flex;
gap: 1.8rem;
list-style: none;
}
.nav-links a {
font-size: 0.88rem;
color: var(--ink-mid);
text-decoration: none;
letter-spacing: 0.01em;
transition: color 0.15s;
}
.nav-links a:hover {
color: var(--green);
}
.nav-cta {
background: var(--green);
color: #fff !important;
padding: 0.38rem 1rem;
border-radius: 4px;
font-weight: 500;
transition: background 0.15s !important;
}
.nav-cta:hover {
background: var(--green-lt) !important;
color: #fff !important;
}

/* ── HERO ── */
.hero {
background: var(--ink);
color: var(--white);
padding: 5rem 2rem 4.5rem;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,122,74,0.28) 0%, transparent 70%);
pointer-events: none;
}
/* subtle circuit-like grid */
.hero::after {
content: '';
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(45,168,101,0.07) 1px, transparent 1px),
linear-gradient(90deg, rgba(45,168,101,0.07) 1px, transparent 1px);
background-size: 40px 40px;
pointer-events: none;
}
.hero-inner {
max-width: 860px;
margin: 0 auto;
position: relative;
z-index: 1;
display: flex;
flex-direction: row;
align-items: center;
gap: 3rem;
flex-wrap: wrap;
}
.hero-inner .hero-text {
flex: 1 1 0;
min-width: 320px;
}
.hero-inner .hero-image {
flex: 0 0 auto;
width: 280px;
max-width: 35%;
}
.hero-inner .hero-actions,
.hero-inner .hero-meta {
width: 100%;
}
.hero-inner .hero-image img {
width: 100%;
height: auto;
border-radius: 8px;
display: block;
}
.hero-tag {
display: inline-block;
font-family: 'DM Mono', monospace;
font-size: 0.75rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--green-lt);
border: 1px solid rgba(45,168,101,0.4);
padding: 0.28rem 0.75rem;
border-radius: 3px;
margin-bottom: 1.4rem;
}
.hero h1 {
font-family: 'DM Serif Display', serif;
font-size: clamp(2.4rem, 5vw, 3.8rem);
line-height: 1.12;
font-weight: 400;
margin-bottom: 1.4rem;
letter-spacing: -0.01em;
}
.hero h1 em {
font-style: italic;
color: var(--green-lt);
}
.hero-sub {
font-size: 1.15rem;
color: rgba(255,255,255,0.72);
max-width: 580px;
line-height: 1.6;
margin-bottom: 2.4rem;
font-weight: 300;
}
.hero-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
align-items: center;
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--green-lt);
color: #fff;
padding: 0.75rem 1.7rem;
border-radius: 5px;
text-decoration: none;
font-weight: 500;
font-size: 1rem;
transition: background 0.15s, transform 0.1s;
letter-spacing: 0.01em;
}
.btn-primary:hover {
background: #36c075;
transform: translateY(-1px);
}
.btn-ghost {
display: inline-flex;
align-items: center;
gap: 0.5rem;
border: 1px solid rgba(255,255,255,0.3);
color: rgba(255,255,255,0.85);
padding: 0.75rem 1.5rem;
border-radius: 5px;
text-decoration: none;
font-size: 0.95rem;
transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover {
border-color: rgba(255,255,255,0.7);
color: #fff;
}
.hero-meta {
margin-top: 2.8rem;
display: flex;
gap: 2.5rem;
flex-wrap: wrap;
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 1.8rem;
}
.hero-stat .val {
font-family: 'DM Serif Display', serif;
font-size: 1.9rem;
color: var(--green-lt);
display: block;
line-height: 1.1;
}
.hero-stat .lbl {
font-size: 0.8rem;
color: rgba(255,255,255,0.5);
text-transform: uppercase;
letter-spacing: 0.08em;
}

/* ── SECTION WRAPPER ── */
section {
padding: 4.5rem 2rem;
}
.inner {
max-width: 860px;
margin: 0 auto;
}
.section-label {
font-family: 'DM Mono', monospace;
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--green);
margin-bottom: 0.7rem;
}
h2 {
font-family: 'DM Serif Display', serif;
font-size: clamp(1.7rem, 3.5vw, 2.4rem);
font-weight: 400;
line-height: 1.2;
color: var(--ink);
margin-bottom: 1rem;
}
.lead {
font-size: 1.08rem;
color: var(--ink-mid);
max-width: 640px;
margin-bottom: 2.5rem;
font-weight: 300;
}
.lead a {
color: var(--green);
text-decoration-color: var(--border);
}
.lead a:hover {
color: var(--green-lt);
text-decoration-color: var(--green-lt);
}
#buy .lead a {
color: var(--green-lt);
text-decoration-color: rgba(255,255,255,0.3);
}
#buy .lead a:hover {
color: #fff;
}

/* ── WHAT IT DOES ── */
#what {
background: var(--green-bg);
}
.what-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 2rem;
}
.what-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 8px;
padding: 1.6rem 1.8rem;
}
.what-card .icon {
font-size: 1.6rem;
margin-bottom: 0.7rem;
display: block;
}
.what-card h3 {
font-family: 'DM Serif Display', serif;
font-size: 1.1rem;
font-weight: 400;
margin-bottom: 0.4rem;
color: var(--ink);
}
.what-card p {
font-size: 0.92rem;
color: var(--ink-mid);
line-height: 1.6;
}

/* ── COMPATIBILITY ── */
#compat {
background: var(--white);
}
.compat-box {
background: var(--sand);
border: 1px solid var(--border);
border-radius: 8px;
padding: 2rem 2.2rem;
margin-bottom: 1.5rem;
}
.compat-box h3 {
font-family: 'DM Serif Display', serif;
font-size: 1.15rem;
font-weight: 400;
margin-bottom: 1rem;
color: var(--ink);
}
.compat-row {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 0.9rem;
}
.compat-badge {
background: var(--white);
border: 1px solid var(--border);
border-radius: 4px;
padding: 0.35rem 0.85rem;
font-family: 'DM Mono', monospace;
font-size: 0.82rem;
color: var(--ink);
}
.compat-badge.green {
background: #e6f5ee;
border-color: #a8d9bc;
color: var(--green);
}
.compat-badge.red {
background: #f5e6e6;
border-color: #d9a8a8;
color: #7a1a1a;
}
.compat-photos {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 0.9rem;
}
.compat-badge.photo {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.6rem;
padding: 0.9rem;
width: 148px;
font-size: 0.85rem;
font-weight: 500;
text-align: center;
}
.compat-badge.photo img {
width: 100px;
height: 100px;
object-fit: contain;
}
.compat-note {
font-size: 0.88rem;
color: var(--ink-soft);
line-height: 1.6;
}
code {
font-family: 'DM Mono', monospace;
font-size: 0.85em;
background: #e8f0eb;
padding: 0.1em 0.4em;
border-radius: 3px;
color: var(--green);
}

/* ── INSTALL ── */
#install {
background: var(--green-bg);
}
.steps {
counter-reset: step;
display: flex;
flex-direction: column;
gap: 0;
margin-top: 2rem;
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
background: var(--white);
}
.step {
display: flex;
gap: 1.5rem;
padding: 1.4rem 1.8rem;
border-bottom: 1px solid var(--border);
align-items: flex-start;
counter-increment: step;
}
.step:last-child {
border-bottom: none;
}
.step-num {
flex-shrink: 0;
width: 2rem;
height: 2rem;
background: var(--green);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'DM Mono', monospace;
font-size: 0.8rem;
font-weight: 500;
margin-top: 0.1rem;
}
.step-body h3 {
font-weight: 500;
margin-bottom: 0.2rem;
font-size: 0.98rem;
color: var(--ink);
}
.step-body p {
font-size: 0.9rem;
color: var(--ink-mid);
line-height: 1.55;
}

/* ── BUY ── */
#buy {
background: var(--ink);
color: var(--white);
}
#buy h2 {
color: var(--white);
}
#buy .lead {
color: rgba(255,255,255,0.65);
}
.store-cards {
margin-bottom: 3rem;
}
.card-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.card-grid.cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.card-link {
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.12);
border-radius: 8px;
padding: 1.4rem;
text-decoration: none;
color: inherit;
transition: background 0.15s, border-color 0.15s, transform 0.15s;
display: flex;
flex-direction: column;
align-items: flex-start;
height: 100%;
}
.card-link:hover {
background: rgba(255,255,255,0.1);
border-color: rgba(45,168,101,0.4);
transform: translateY(-1px);
}
.card-link .card-icon {
font-size: 1.4rem;
margin-bottom: 0.7rem;
display: flex;
align-items: center;
height: 37px;
width: 100%;
}
.card-link .card-icon img {
max-height: 37px;
max-width: 100%;
object-fit: contain;
object-position: left center;
}
.card-link h3 {
font-weight: 500;
font-size: 0.95rem;
color: #fff;
margin-bottom: 0.3rem;
min-height: 1.45em;
}
.card-link p {
font-size: 0.83rem;
color: rgba(255,255,255,0.5);
line-height: 1.5;
margin-bottom: 0;
flex: 1;
}
.card-link .card-cta {
display: inline-block;
margin-top: 1rem;
font-size: 0.8rem;
color: var(--green-lt);
font-family: 'DM Mono', monospace;
letter-spacing: 0.03em;
}
.card-link.on-light {
background: var(--white);
border-color: var(--border);
}
.card-link.on-light:hover {
background: var(--green-bg);
border-color: var(--green-lt);
}
.card-link.on-light h3 {
color: var(--ink);
}
.card-link.on-light p {
color: var(--ink-soft);
}
.card-link.featured {
background: var(--green-lt);
border-color: var(--green-lt);
}
.card-link.featured:hover {
background: #36c075;
border-color: #36c075;
}
.card-link.featured p {
color: rgba(255,255,255,0.82);
}
.card-link.featured .card-cta {
color: #fff;
}

/* ── BACKSTORY ── */
#backstory {
background: var(--sand);
}
.timeline {
margin-top: 2rem;
position: relative;
padding-left: 2.2rem;
}
.timeline::before {
content: '';
position: absolute;
left: 0.55rem;
top: 0.5rem;
bottom: 0.5rem;
width: 2px;
background: var(--border);
}
.tl-item {
position: relative;
margin-bottom: 2rem;
}
.tl-item::before {
content: '';
position: absolute;
left: -1.88rem;
top: 0.45rem;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--green);
border: 2px solid var(--sand);
}
.tl-item h3 {
font-weight: 500;
margin-bottom: 0.25rem;
font-size: 0.97rem;
color: var(--ink);
}
.tl-item h3 a {
color: var(--green);
text-decoration: none;
}
.tl-item h3 a:hover {
text-decoration: underline;
}
.tl-item p {
font-size: 0.9rem;
color: var(--ink-mid);
line-height: 1.6;
}

/* ── OPEN SOURCE ── */
#opensource {
background: var(--white);
}
#opensource .card-grid {
margin-top: 2rem;
}

/* ── FOOTER ── */
footer {
background: var(--ink);
color: rgba(255,255,255,0.45);
padding: 2.5rem 2rem;
text-align: center;
font-size: 0.85rem;
}
footer a {
color: rgba(255,255,255,0.6);
text-decoration: none;
}
footer a:hover {
color: var(--green-lt);
}
footer .footer-inner {
max-width: 860px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
.card-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 640px) {
.hero-inner .hero-image {
max-width: 320px;
margin: 0 auto;
}
.what-grid, .card-grid, .card-grid.cols-2 {
grid-template-columns: 1fr;
}
.nav-links {
display: none;
}
.hero-meta {
gap: 1.5rem;
}
}
