/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --color-black: #000;
    --color-white: #fff;
    --color-gray: #666;
    --font-family: ui-monospace, 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    --max-width: 720px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* Base */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100vw - 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

@media (min-width: 481px) {
    nav {
        width: calc(100vw - 8rem);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo {
    width: 40px;
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.logo {
    width: 80px;
    height: auto;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.tagline {
    font-family: 'Spectral', Georgia, serif;
    font-size: clamp(1.25rem, 3.5vw, 3.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-black);
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    margin-top: -3.5rem;
}

.tagline span {
    white-space: nowrap;
}

.tagline-sub {
    font-family: 'Spectral', Georgia, serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-gray);
    text-align: center;
    margin-top: -60px;
    margin-bottom: var(--spacing-lg);
}

.description {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Backed by */
.backed-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-xl);
}

.backed-by span {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.yc-logo {
    height: 36px;
    width: auto;
}

/* Video Container */
.video-container {
    width: calc(100vw - 4rem);
    max-width: 1200px;
    margin-bottom: var(--spacing-lg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    background-color: #000;
    /* Center the video by breaking out of container */
    margin-left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 481px) {
    .video-container {
        width: calc(100vw - 8rem);
    }
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: calc(50vh - 100px);
}

.cta-heading {
    font-family: 'Spectral', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
    align-self: center;
}

@media (min-width: 540px) {
    .cta-heading {
        align-self: flex-start;
        margin-left: calc(50% - 250px);
    }
}

.cta-heading .arrow {
    display: inline-block;
    margin-left: 0.25rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

/* About Section */
.about {
    text-align: center;
}

.about p {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 540px;
    margin: 0 auto;
}

/* FAQ Section */
.faq {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-md);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
}

.faq-list p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-black);
}

.faq-list strong {
    font-weight: 700;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid #eee;
}

.location {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: var(--spacing-xs);
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Responsive */
@media (max-width: 480px) {
    main {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero {
        margin-bottom: var(--spacing-lg);
    }
}
