@import url("https://fonts.googleapis.com/css2?family=Young+Serif&family=Source+Code+Pro:wght@400;500&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap");

:root {
    --bg: #F8FAFF;
    --surface: #EEF2FB;
    --surface-alt: #E4EAF7;
    --border: #C1C8E4;
    --text: #1A1D2E;
    --muted: #6B7194;
    --accent: #5680E9;
    --accent-hover: #4A6FD4;
    --secondary: #8860D0;
    --highlight: #84CEEB;
    --highlight-alt: #5AB9EA;

    --serif: "Young Serif", Georgia, serif;
    --sans: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "Source Code Pro", "Courier New", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 200ms;
}

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

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-secondary,
.nav-cta {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 200ms, color 200ms, background 200ms;
    white-space: nowrap;
}

.nav-cta-secondary {
    padding: 7px 16px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
}

.nav-cta-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--accent);
    color: white;
}

.nav-cta:hover {
    background: var(--accent-hover);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: all 200ms;
}

.hero {
    padding: 160px 0 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(132, 206, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(136, 96, 208, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: 64px;
    line-height: 1.12;
    font-weight: 400;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto 24px;
    letter-spacing: 0;
}

.hero-sub {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 16px;
}

.hero-formula {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 200ms ease-out;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-ghost:hover {
    background: var(--surface);
}

.charter {
    padding: 96px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.charter blockquote {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.35;
    font-weight: 400;
    color: var(--text);
    max-width: 720px;
    margin: 0 auto 24px;
    font-style: normal;
}

.charter p {
    font-size: 16px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.preview-section {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

.preview-section.surface {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.section-title {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    text-align: center;
    font-size: 16px;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 64px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.preview-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.preview-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.preview-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text);
}

.preview-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.preview-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.preview-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    background: var(--secondary);
    color: white;
}

.preview-tag.info {
    background: var(--accent);
}

.meta-list {
    list-style: none;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-alt);
    color: var(--text);
    font-size: 15px;
}

.meta-list li:last-child {
    border-bottom: none;
}

.meta-list span {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
}

.cta-section {
    padding: 96px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.cta-section h2 {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 32px;
}

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-location {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-formula {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--border);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 12px;
    color: var(--border);
}

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .preview-grid,
    .preview-grid.two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta-group {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .charter blockquote {
        font-size: 24px;
    }

    .section-title,
    .cta-section h2 {
        font-size: 32px;
    }

    .charter,
    .preview-section,
    .cta-section {
        padding: 64px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .nav-logo {
        font-size: 18px;
    }
}
