/* amfortas.studio — dark, minimal, underground */

:root {
    --bg: #0a0a0a;
    --text: #e0e0e0;
    --muted: #666;
    --accent: #fff;
    --glow: rgba(255, 255, 255, 0.03);
    --max-width: 600px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero */
.hero {
    margin-bottom: 4rem;
    text-align: center;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.hero h1 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* Soon */
.soon {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--muted);
    font-size: 1rem;
}

/* CTA */
.signal {
    text-align: center;
    margin-bottom: 6rem;
}

.cta {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border: 1px solid var(--muted);
    border-radius: 2px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.cta:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Signup Form */
.signal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 360px;
    width: 100%;
}

/* Kit Form Overrides */
.formkit-form[data-uid="5d75c93e74"] {
    width: 100% !important;
    max-width: 360px !important;
    background: transparent !important;
}

.formkit-form[data-uid="5d75c93e74"] [data-style="clean"] {
    padding: 0 !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-fields {
    flex-direction: column !important;
    gap: 1rem;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-field,
.formkit-form[data-uid="5d75c93e74"] .formkit-submit {
    flex: none !important;
    margin: 0 !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-input {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    background: transparent !important;
    border: 1px solid var(--muted) !important;
    border-radius: 2px !important;
    color: var(--text) !important;
    font-size: 1rem !important;
    text-align: center;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-input:focus {
    outline: none !important;
    border-color: var(--accent) !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-input::placeholder {
    color: var(--muted) !important;
    opacity: 1 !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-submit {
    width: 100% !important;
    background: transparent !important;
    border: 1px solid var(--muted) !important;
    border-radius: 2px !important;
    color: var(--text) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-submit:hover {
    background: var(--accent) !important;
    color: var(--bg) !important;
    border-color: var(--accent) !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-submit span {
    padding: 0.8rem 2rem !important;
}

.formkit-form[data-uid="5d75c93e74"] .formkit-alert-success {
    background: rgba(16, 191, 122, 0.1) !important;
    border-color: #10bf7a !important;
    color: #10bf7a !important;
}

.formkit-powered-by-convertkit-container {
    display: none !important;
}

.form-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 1rem;
}

.form-note a {
    color: var(--text);
}

.signup-form button {
    cursor: pointer;
    background: transparent;
    font-size: 0.9rem;
    font-family: inherit;
}

.signup-form button:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

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

.footer-nav .sep {
    color: var(--muted);
    margin: 0 0.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100;
    overflow-y: auto;
}

.modal:target {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
}

.modal-content {
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 560px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    margin-top: 2rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--muted);
    text-decoration: none;
    line-height: 1;
}

.close:hover {
    color: var(--text);
}

.modal h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.legal-intro {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modal h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal dl {
    display: grid;
    gap: 1rem;
}

.modal dt {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.modal dd {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.modal dd a {
    color: var(--text);
}

.modal p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 1rem;
}

.modal p a {
    color: var(--text);
}

/* Responsive */
@media (max-width: 480px) {
    main {
        padding-top: 4rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .manifesto p {
        font-size: 1rem;
    }
}

/* Privacy Page */
.privacy-page {
    justify-content: flex-start;
    padding-top: 3rem;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header .back {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.page-header .back:hover {
    color: var(--text);
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-header .updated {
    font-size: 0.85rem;
    color: var(--muted);
}

.content {
    max-width: 100%;
}

.content section {
    margin-bottom: 2.5rem;
}

.content h2 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.content p {
    margin-bottom: 0.75rem;
    color: var(--text);
    opacity: 0.9;
}

.content a {
    color: var(--text);
}

.content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--text);
    opacity: 0.9;
}

.content li {
    margin-bottom: 0.4rem;
}

.content address {
    font-style: normal;
    line-height: 1.8;
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
}
