@charset "UTF-8";

:root {
    /* TimedSketch Color Palette */
    --bg-primary: #0c0c0c;
    --text-primary: #ffffff;
    --text-secondary: #A6A6A6;
    --color-primary: #3A60CD;
    --color-primary-light: #6C7FD9;
    --color-secondary: #8C4CA2;
    --color-secondary-light: #B075C5;
    --gray: #666666;
    --light-gray: #A6A6A6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 24px 48px;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
    max-height: 40px;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0 60px;
    min-height: auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-content .cta-button {
    margin-top: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.1;
    white-space: nowrap;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.4;
    margin: 0;
}

.mobile-break {
    display: none;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(58, 96, 205, 0.3);
}

.cta-button:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 96, 205, 0.4);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-image {
    max-width: 320px;
    max-height: 70vh;
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.5),
        0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-image:hover {
    transform: scale(1.02);
}

/* Large desktop - even more spacious */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero {
        gap: 120px;
    }

    h1 {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.625rem;
    }

    .app-image {
        max-width: 360px;
    }
}

/* Desktop - slightly smaller */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.25rem;
    }

    .tagline {
        font-size: 1.375rem;
    }

    .hero {
        gap: 60px;
    }

    .app-image {
        max-width: 300px;
    }
}

/* Tablet - switch to vertical */
@media (max-width: 968px) {
    .site-header {
        padding: 20px 32px;
    }

    .container {
        padding: 0 32px;
    }

    main {
        padding: 20px 0 60px;
        min-height: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        gap: 10px;
    }

    .hero-content .cta-button {
        margin-top: 18px;
    }

    .cta-button {
        align-self: center;
    }

    h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .app-image {
        max-width: 340px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }

    .site-header {
        padding: 16px 24px;
    }

    .logo {
        height: 36px;
        max-height: 36px;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .container {
        padding: 0 24px;
    }

    main {
        padding: 20px 0 40px;
    }

    .hero {
        gap: 48px;
    }

    .hero-content {
        gap: 8px;
    }

    .hero-content .cta-button {
        margin-top: 16px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
        width: auto;
        text-align: center;
    }

    .app-image {
        max-width: 300px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .site-header {
        padding: 16px 20px;
    }

    .logo {
        height: 32px;
        max-height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .container {
        padding: 0 20px;
    }

    main {
        padding: 16px 0 32px;
    }

    .hero {
        gap: 40px;
    }

    .hero-content {
        gap: 6px;
    }

    .hero-content .cta-button {
        margin-top: 14px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1.125rem;
        max-width: 85%;
        margin: 0 auto;
    }

    .app-image {
        max-width: 260px;
    }
}

footer {
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(166, 166, 166, 0.2);
}

footer nav {
    margin-bottom: 24px;
}

footer nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

footer p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Legal pages */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.legal-content h3 {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-primary-light);
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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