/* CSS Reset & Variables */
:root {
    --bg-white: #FFFFFF;
    --bg-grey: #F4F5F7;
    --ocean-blue: #0F2A4A;
    --ocean-blue-hover: #163e6e;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --border-color: #E2E8F0;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --focus-ring: 0 0 0 3px rgba(15, 42, 74, 0.2);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { color: var(--ocean-blue); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; font-size: 1.125rem; color: var(--text-muted); }

/* Layout & Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.bg-grey { background-color: var(--bg-grey); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--ocean-blue);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
    border: 2px solid var(--ocean-blue);
    cursor: pointer;
}
.btn:hover {
    background-color: var(--ocean-blue-hover);
    border-color: var(--ocean-blue-hover);
    color: var(--bg-white);
}
.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}
.btn-outline {
    background-color: transparent;
    color: var(--ocean-blue);
}
.btn-outline:hover {
    background-color: var(--ocean-blue);
    color: var(--bg-white);
}

/* Navigation */
nav {
    padding: 1.5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ocean-blue);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.logo:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}

.logo-mark {
    display: block;
    line-height: 0;
}
.logo-img { height: 72px; width: auto; display: block; }
.logo-text-wrapper { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ocean-blue); }
.logo-subtitle { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean-blue); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 200ms ease;
    cursor: pointer;
}
.nav-links a:hover {
    color: var(--ocean-blue);
}
.nav-links a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}
.nav-links a.active {
    color: var(--ocean-blue);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 200ms ease;
}
.menu-toggle:hover {
    background-color: var(--bg-grey);
}
.menu-toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.menu-toggle[aria-expanded="true"] {
    background-color: var(--bg-grey);
}

/* Cards */
.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: box-shadow 200ms ease;
    height: 100%;
}
.bg-grey .card { background: var(--bg-white); }
.card:hover {
    box-shadow: 0 12px 24px rgba(15, 42, 74, 0.08);
}
.card-icon { font-size: 2rem; color: var(--ocean-blue); margin-bottom: 1.5rem; display: block; }

/* Clickable cards */
a.card {
    text-decoration: none;
    cursor: pointer;
    display: block;
}
a.card:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Custom Section Styles */
.hero { padding: 8rem 0 6rem; text-align: left; }
.hero p { font-size: 1.25rem; max-width: 600px; margin-bottom: 2.5rem; }

.tagline { text-transform: uppercase; font-size: 0.875rem; font-weight: 700; color: var(--ocean-blue); letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }

.steps-wrapper { position: relative; }
.step-number { font-size: 3rem; font-weight: 800; color: var(--border-color); line-height: 1; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; }

.final-cta { background-color: var(--ocean-blue); color: var(--bg-white); text-align: center; }
.final-cta h2, .final-cta p { color: var(--bg-white); }
.final-cta p { opacity: 0.9; margin: 0 auto 2.5rem; max-width: 600px; }
.final-cta .btn { background-color: var(--bg-white); color: var(--ocean-blue); border-color: var(--bg-white); }
.final-cta .btn:hover { background-color: transparent; color: var(--bg-white); border-color: var(--bg-white); }

/* SVG Check Icon */
.check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    margin-top: 0.15rem;
    color: var(--ocean-blue);
}

/* Form Styles */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-main); }
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: var(--focus-ring);
}
.form-control::placeholder {
    color: #94A3B8;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-status {
    min-height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
}
.form-status.is-error {
    color: #B42318;
}
.form-status.is-success {
    color: var(--ocean-blue);
}

/* List styles */
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { margin-bottom: 1.25rem; display: flex; align-items: flex-start; }
.feature-list strong { color: var(--text-main); font-weight: 600; }

/* Cal.com Embed */
.cal-embed-wrapper {
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-white);
}
.cal-embed-wrapper iframe {
    width: 100%;
    height: 700px;
    border: none;
}
@media (max-width: 768px) {
    .cal-embed-wrapper,
    .cal-embed-wrapper iframe {
        min-height: 600px;
        height: 600px;
    }
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 200ms ease;
    cursor: pointer;
}
.footer-links a:hover {
    color: var(--ocean-blue);
}
.footer-links a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
    .hero { padding: 5rem 0; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.25rem; }

    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }

    .logo-img { height: 48px; }
    .logo-title { font-size: 1.1rem; }
    .logo-subtitle { font-size: 0.65rem; }

    .founder-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .founder-grid img { max-width: 260px; margin: 0 auto; }
}

/* Small mobile */
@media (max-width: 375px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero { padding: 4rem 0; }
    .section { padding: 3rem 0; }
    .container { padding: 0 1rem; }
    .card { padding: 1.5rem; }
    .btn { padding: 0.875rem 1.5rem; }
}

/* Large desktop */
@media (min-width: 1440px) {
    .container { max-width: 1280px; }
}
