@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;600&display=swap');

body {
    font-family: 'Geist Mono', monospace;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    margin: 2rem auto;
    padding: 0 1.5rem;
    max-width: 768px;
    padding-bottom: 5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
}

h4 {
    font-size: 1.15rem;
    margin-top: 2rem;
}

p, ul {
    margin: 1.5rem 0;
}

ul {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

a {
    color: #1a1a1a;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    body {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.waitlist-section {
    margin: 2em 0;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
    margin: 1em 0;
}

input[type="email"] {
    width: 100%;
    padding: 0.8em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    padding: 0.8em 1em;
    background: #090F2A;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 1em;
    font-weight: 500;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

.form-message {
    padding: 0.5rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: #e6ffe6;
    color: #006600;
}

.form-message.error {
    display: block;
    background: #ffe6e6;
    color: #660000;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    background: #2F4DDE;
    transition: opacity 0.2s;
}

.badge:hover {
    opacity: 0.9;
}

.github-badge {
    background: #24292e;
}

.dashboard-link, .github-link, .signup-link, .docs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dashboard-link {
    background: #2F4DDE;
}

.dashboard-link:hover {
    opacity: 0.9;
}

.github-link {
    background: #24292e;
}

.signup-link {
    background: #2F4DDE;
}

.docs-link {
    background: #2F4DDE;
}

.github-link:hover,
.signup-link:hover,
.docs-link:hover {
    opacity: 0.9;
}

.github-link svg,
.signup-link svg,
.docs-link svg {
    fill: currentColor;
}

.cta-section {
    margin: 3rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

pre[class*="language-"] {
    border-radius: 8px;
    margin: 1.5em 0;
    font-size: 0.7em !important;
    line-height: 1.4;
}

code[class*="language-"],
pre[class*="language-"] code.language-swift {
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.9em !important;
    padding: 1em !important;
}

/* Additional specificity for Prism */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
    font-size: 0.9em !important;
}