:root {
    --bg: #14110f;
    --surface: #1b1614;
    --surface-alt: #221c19;
    --primary: #e64a19;
    --primary-soft: #ff7043;
    --text: #ece2de;
    --text-muted: #b8aea9;
    --text-soft: #958b86;
    --border: rgba(236, 226, 222, 0.12);
    --radius: 14px;
    --max-width: 720px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-soft);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ambient {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.orb-a {
    width: 360px;
    height: 360px;
    top: -100px;
    right: -60px;
    background: rgba(230, 74, 25, 0.15);
}

.orb-b {
    width: 280px;
    height: 280px;
    bottom: 20%;
    left: -80px;
    background: rgba(255, 160, 0, 0.08);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(20, 17, 15, 0.9);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.hero {
    padding: 80px 0 56px;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.lead {
    color: var(--text-muted);
    max-width: 52ch;
    margin-bottom: 20px;
}

.text-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-soft);
}

.text-link:hover {
    color: var(--primary-soft);
}

.section {
    padding: 56px 0;
}

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.section-note {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.content-block p:last-of-type {
    margin-bottom: 0;
}

.motto {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.site-quote {
    margin: 36px 0 0;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(230, 74, 25, 0.05);
    text-align: center;
}

.site-quote p {
    color: var(--text);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 0;
}

.site-quote-answer {
    margin-top: 10px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
}

.content-block blockquote {
    margin-top: 28px;
    padding-left: 20px;
    border-left: 2px solid var(--border);
}

.content-block blockquote p {
    color: var(--text);
    margin-bottom: 8px;
}

.content-block blockquote p:last-child {
    margin-bottom: 0;
}

.dapp-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.dapp-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dapp-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary-soft), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.nudge-icon span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 10px 0 0 #fff;
}

.dapp-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.dapp-package {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dapp-status {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.dapp-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.dapp-note {
    font-size: 0.9rem !important;
    color: var(--text-soft) !important;
    margin-bottom: 16px !important;
}

.dapp-links {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.founder-block {
    max-width: 52ch;
}

.founder-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.founder-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.founder-role {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.founder-block > p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.founder-block > p:last-of-type {
    margin-bottom: 20px;
}

.founder-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-weight: 500;
}

.copy-email-btn {
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.copy-email-btn:hover {
    color: var(--text);
    border-color: rgba(236, 226, 222, 0.22);
}

.email-hint {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--primary-soft);
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.contact-list span {
    min-width: 100px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    gap: 6px;
}

.footer-note {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 16px;
        background: rgba(20, 17, 15, 0.98);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-top: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
    }

    .hero {
        padding-top: 56px;
    }

    .dapp-status {
        margin-left: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
