@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Thin.otf') format('opentype');
    font-weight: 100;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Ultralight.otf') format('opentype');
    font-weight: 200;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Light.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Semibold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Bold.otf') format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Heavy.otf') format('opentype');
    font-weight: 800;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('./SF Pro Rounded/SF-Pro-Rounded-Black.otf') format('opentype');
    font-weight: 900;
}

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

body {
    font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.8;
    letter-spacing: 0.01em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 5vh;
}

.container {
    width: 100%;
    max-width: 650px;    position: relative;
    z-index: 1; /* ensure content sits above the noise canvas */}

.text-box {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 3rem;
    text-align: left;
    backdrop-filter: none;
}

.text-box h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: normal;
    text-align: center;
}

.text-box p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.8;
}

.text-box p:last-child {
    margin-bottom: 0;
}

.text-box em {
    font-style: italic;
    color: #000000;
}

.text-box strong {
    font-weight: 600;
    color: #000000;
}

.join-btn {
    display: block; /* make block-level so margin auto centers it */
    margin: 2rem auto 0;
    padding: 0.7rem 2.25rem;
    background-color: #0088FE;
    color: #ffffff;
    border: none;
    border-radius: 9999px; /* fully pill-shaped */
    font-size: 1rem;
    font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
    will-change: transform, opacity;
}

.join-btn:hover {
    background-color: #0074e0;
    box-shadow: 0 8px 24px rgba(0, 136, 254, 0.18);
}

.join-btn:active {
    transform: translateY(1px) scale(0.998);
}

.join-btn:focus {
    outline: 3px solid rgba(0,136,254,0.18);
    outline-offset: 3px;
    border-radius: 9999px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000; /* above noise overlay */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid #cccccc;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

#joinForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#joinForm input {
    padding: 0.75rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#joinForm input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.submit-btn {
    padding: 0.75rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333333;
}
    margin-bottom: 1.5rem;
}

.list-container {
    margin-top: 3rem;
}

.manifesto-item {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.strike {
    text-decoration: line-through;
    color: var(--text-dim);
    font-size: 1.1rem;
    opacity: 0.6;
}

.reveal {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.feature-card {
    padding: 2rem;
    border-top: 1px solid #333;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-dim);
}

/* CTA Footer */
.cta-section {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #141618);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-main {
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
    background: var(--accent);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-main:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .manifesto-box { padding: 2rem; }
}