@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

@font-face {
    font-family: 'Quicksand';
    src: url('../assets/fonts/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../assets/fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../assets/fonts/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../assets/fonts/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../assets/fonts/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

a {
    text-decoration: none;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #12161D;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 64px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.logo {
    width: 150px;
    height: auto;
    max-width: 90vw;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 1000px;
    color: #ffffff;
}

.tagline {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 3rem;
    max-width: 1000px;
    color: #ffffff;
}

.cta-button {
    background-color: #F97316;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 4rem;
}

.cta-button:hover {
    background-color: #EA580C;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.divider {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

/* Shared header / footer, ported from the index page */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: clamp(20px, 5vw, 64px);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(12, 16, 21, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid #263038;
}

.nav .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.brandmark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brandmark .brand-logo {
    height: 22px;
    width: auto;
    display: block;
}

.footer-brand .brandmark .brand-logo {
    height: 26px;
}

.footer {
    border-top: 1px solid #263038;
    padding-block: 56px 40px;
    background: #0a0d12;
}

.footer-grid {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 44px;
    border-bottom: 1px solid #263038;
}

.footer-brand {
    text-align: right;
}

.footer-brand .brandmark {
    justify-content: flex-end;
    margin-bottom: 16px;
}

.footer-company p {
    margin-left: auto;
    font-size: 14px;
    color: #A5B4C3;
    max-width: 280px;
    line-height: 1.55;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    font-size: 13px;
    color: #A5B4C3;
}

.footer-legal {
    display: flex;
    gap: 22px;
}

.footer-legal a {
    font-size: 13px;
    color: #A5B4C3;
    text-decoration: none;
    transition: color 120ms cubic-bezier(0.2, 0, 0, 1);
}

.footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .logo {
        width: 200px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 150px;
    }
}

.waitlist-form {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    outline: none;
    border-color: #F97316;
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-button {
    background-color: #F97316;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #EA580C;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
}

.form-message {
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2rem;
}

.form-message.success {
    color: #4caf50;
}

.form-message.error {
    color: #f44336;
}

.legal-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: left;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-callout {
    border-left: 3px solid #F97316;
    background-color: rgba(249, 115, 22, 0.08);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.legal-callout p {
    margin-bottom: 0;
}

.legal-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.legal-table th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #ffffff;
}

.legal-content a {
    color: #F97316;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-content a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }
}