* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --black: #000000;
    --gray-900: #111111;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-sans: 'IBM Plex Sans', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.8rem;
    color: var(--gray-500);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stat-value {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--black);
}

.stat-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.15s;
}

.stat-link:hover {
    background: var(--gray-100);
}

.stat-link:hover .stat-value {
    text-decoration: underline;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    padding-top: 10vh;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    user-select: none;
}

.logo a {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

.logo a {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-size: 3.92rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--black);
}

.logo-mark {
    font-family: var(--font-mono);
    font-size: 2.42rem;
    color: #16a34a;
    -webkit-animation: tau-spin 10s linear infinite;
    animation: tau-spin 10s linear infinite;
    display: inline-block;
}

@-webkit-keyframes tau-heartbeat {
    0%, 100% { color: #4ade80; text-shadow: 0 0 8px rgba(74, 222, 128, 0.3); }
    25% { color: #22c55e; text-shadow: 0 0 14px rgba(34, 197, 94, 0.5); }
    50% { color: #16a34a; text-shadow: 0 0 20px rgba(22, 163, 74, 0.7); }
    75% { color: #22c55e; text-shadow: 0 0 14px rgba(34, 197, 94, 0.5); }
}

@keyframes tau-heartbeat {
    0%, 100% { color: #4ade80; text-shadow: 0 0 8px rgba(74, 222, 128, 0.3); }
    25% { color: #22c55e; text-shadow: 0 0 14px rgba(34, 197, 94, 0.5); }
    50% { color: #16a34a; text-shadow: 0 0 20px rgba(22, 163, 74, 0.7); }
    75% { color: #22c55e; text-shadow: 0 0 14px rgba(34, 197, 94, 0.5); }
}

.acronym {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.tagline {
    margin-top: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.tagline strong {
    color: var(--black);
    font-weight: 500;
}

.positioning {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Description */
.description {
    max-width: 520px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.description p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Live Stats */
.live-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
}

.live-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 120px;
}

.live-stat-number {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: -0.01em;
    line-height: 1.1;
    tabular-nums: true;
    font-variant-numeric: tabular-nums;
}

.live-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
}

@media (max-width: 600px) {
    .live-stats {
        gap: 1.5rem 2rem;
    }
    .live-stat-number {
        font-size: 1.1rem;
    }
}

/* Links */
.links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.link-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
}

.link-item a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: all 0.15s;
}

.link-item a:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* Specs */
.specs {
    max-width: 600px;
    width: 100%;
    border-top: 1px solid var(--gray-200);
    padding-top: 3rem;
}

.specs-title {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.spec-item {
    padding: 0.5rem;
}

.spec-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
}

/* === Supply Indicator === */
.supply-indicator {
    margin: 2rem auto 0;
    max-width: 500px;
    width: 100%;
    text-align: center;
}
.supply-available {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 500;
    color: #16a34a;
    line-height: 1;
    letter-spacing: -0.02em;
}
.supply-available-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}
.pressure-track {
    height: 14px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}
.pressure-fill {
    height: 100%;
    background: var(--black);
    transition: width 0.5s;
}
.pressure-track::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        var(--white) 8px,
        var(--white) 10px
    );
    z-index: 2;
    pointer-events: none;
}
.pressure-staked {
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-400);
    text-align: center;
}

/* Install */
.install {
    max-width: 720px;
    width: 100%;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.install-title {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 1rem;
}

pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
}

pre .comment {
    color: var(--gray-500);
}

/* Installer download */
.install-detected {
    text-align: center;
    margin-bottom: 1.5rem;
}

.install-os {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.install-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}

.install-btn:hover {
    opacity: 0.8;
}

.install-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.install-alt {
    margin-top: 2rem;
}

.install-alt-title {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 0.75rem;
}

.install-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.install-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.install-table td:first-child {
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
}

.install-table td:last-child {
    text-align: right;
}

.install-table a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-500);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    margin-left: 0.25rem;
    transition: all 0.15s;
}

.install-table a:hover {
    border-color: var(--gray-400);
    color: var(--black);
}

.install-steps {
    margin-top: 2rem;
}

/* Footer */
footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
}

footer a {
    color: var(--gray-500);
    text-decoration: none;
    margin: 0 0.5rem;
}

footer .quote {
    font-style: italic;
}

footer a:hover {
    color: var(--black);
}

/* Responsive */
@media (max-width: 600px) {
    .stats-bar {
        gap: 0.5rem 1.2rem;
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
    }
    .stat, .stat-link { gap: 0.25rem; }
    .stat-link { padding: 0.2rem 0.3rem; }
    .logo-mark { font-size: 1.8rem; }
    .logo-text { font-size: 2.8rem; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .links { gap: 0.75rem; }
    .main { padding: 1.5rem 1rem; }
    h2 { font-size: 1.1rem; }
    .acronym { font-size: 0.55rem; }
}

@keyframes heartbeat-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); background: #4ade80; box-shadow: 0 0 3px rgba(74, 222, 128, 0.3); }
    25% { opacity: 0.7; transform: scale(1.08); background: #86efac; box-shadow: 0 0 5px rgba(134, 239, 172, 0.4); }
    50% { opacity: 1; transform: scale(1.15); background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
    75% { opacity: 0.7; transform: scale(1.08); background: #86efac; box-shadow: 0 0 5px rgba(134, 239, 172, 0.4); }
}

.explorer-live {
    color: var(--black) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.heartbeat-dot {
    width: 8px;
    height: 8px;
    background: #86efac;
    border-radius: 50%;
    animation: heartbeat-glow 4s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(134, 239, 172, 0.4);
}

@-webkit-keyframes tau-spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}

@keyframes tau-spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}
