/* ==========================================================================
   Snatch Design System — extracted from Framer landing page tokens
   All SEO pages use this to stay visually in sync with index.html
   ========================================================================== */

/* ---- CSS Custom Properties (Framer token parity) ---- */
:root {
    /* Brand colors — exact Framer tokens */
    --color-red: #e33333;
    --color-black: #000000;
    --color-near-black: #0b0b0e;
    --color-dark-surface: #111114;
    --color-dark-card: #2a2a2f;
    --color-muted: #8e8e93;
    --color-light: #f5f5f7;
    --color-secondary: #bababf;

    /* Semantic aliases */
    --bg-primary: var(--color-black);
    --bg-section: var(--color-near-black);
    --bg-card: var(--color-dark-card);
    --bg-elevated: var(--color-dark-surface);
    --text-primary: var(--color-light);
    --text-secondary: var(--color-secondary);
    --text-muted: var(--color-muted);
    --accent: var(--color-red);

    /* Typography — Inter, same as Framer */
    --font-family: "Inter", "Inter Placeholder", sans-serif;
    --letter-spacing-tight: -0.06em;
    --letter-spacing-normal: -0.03em;
    --letter-spacing-heading: -0.04em;
    --line-height-tight: 1.1em;
    --line-height-normal: 1.2em;
    --line-height-relaxed: 1.5em;
    --line-height-body: 1.7em;

    /* Layout */
    --max-width: 800px;
    --max-width-wide: 1000px;
    --max-width-full: 1200px;
    --section-padding: 120px 24px;
    --section-padding-sm: 80px 20px;
    --border-radius: 10px;
    --border-radius-lg: 22px;
}

/* ---- Reset (matches Framer baseline) ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Base ---- */
body {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
}

/* ---- Typography scale (mirrors Framer presets) ---- */
.sn-h1 {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

.sn-h2 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-heading);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

.sn-h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

.sn-body-lg {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
    color: var(--text-secondary);
}

.sn-body {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-body);
    color: var(--text-secondary);
}

.sn-body-sm {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-normal);
    line-height: 1.3em;
    color: var(--text-primary);
}

.sn-caption {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
    color: var(--text-muted);
}

.sn-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: var(--line-height-normal);
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ---- Responsive typography ---- */
@media (max-width: 1199px) and (min-width: 810px) {
    .sn-h1 {
        font-size: 64px;
    }

    .sn-h2 {
        font-size: 48px;
    }

    .sn-h3 {
        font-size: 26px;
    }

    .sn-body-lg {
        font-size: 28px;
    }
}

@media (max-width: 809px) {
    .sn-h1 {
        font-size: 46px;
    }

    .sn-h2 {
        font-size: 38px;
    }

    .sn-h3 {
        font-size: 21px;
    }

    .sn-body-lg {
        font-size: 24px;
    }

    .sn-body {
        font-size: 16px;
    }
}

/* ---- Layout primitives ---- */
.sn-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

.sn-section {
    width: 100%;
    max-width: var(--max-width-full);
    margin: 0 auto;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sn-section--dark {
    background-color: var(--bg-primary);
}

.sn-section--elevated {
    background-color: var(--bg-section);
}

.sn-container {
    width: 100%;
    max-width: var(--max-width);
}

.sn-container--wide {
    max-width: var(--max-width-wide);
}

@media (max-width: 809px) {
    .sn-section {
        padding: var(--section-padding-sm);
    }
}

/* ---- Navbar (matches Framer sticky nav) ---- */
.sn-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: var(--max-width-full);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    background-color: var(--bg-primary);
}

.sn-nav__logo {
    height: 68px;
    width: auto;
}

.sn-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.sn-nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.sn-nav__link:hover {
    color: var(--text-primary);
}

@media (max-width: 809px) {
    .sn-nav {
        padding: 24px 20px;
    }

    .sn-nav__logo {
        height: 48px;
    }

    .sn-nav__links {
        display: none;
    }
}

/* ---- Buttons (matches Framer CTA style) ---- */
.sn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-normal);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    text-decoration: none;
}

.sn-btn:hover {
    transform: scale(1.02);
}

.sn-btn:active {
    transform: scale(0.98);
}

.sn-btn--primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.sn-btn--outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--color-dark-card);
}

.sn-btn--ghost {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 8px 0;
}

.sn-btn--ghost:hover {
    color: var(--text-primary);
}

/* ---- Cards ---- */
.sn-card {
    background-color: var(--bg-elevated);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid var(--color-dark-card);
}

/* ---- Internal Link component ---- */
.sn-internal-link {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--color-dark-card);
    transition: text-decoration-color 0.2s;
}

.sn-internal-link:hover {
    text-decoration-color: var(--text-primary);
}

/* ---- Blog article prose ---- */
.sn-prose {
    max-width: var(--max-width);
}

.sn-prose h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-heading);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    margin-top: 64px;
    margin-bottom: 24px;
}

.sn-prose h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
}

.sn-prose p {
    font-size: 17px;
    font-weight: 400;
    line-height: var(--line-height-body);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.sn-prose ul,
.sn-prose ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.sn-prose li {
    font-size: 17px;
    font-weight: 400;
    line-height: var(--line-height-body);
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.sn-prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.sn-prose a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--color-dark-card);
    transition: text-decoration-color 0.2s;
}

.sn-prose a:hover {
    text-decoration-color: var(--text-primary);
}

.sn-prose blockquote {
    border-left: 3px solid var(--color-dark-card);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-muted);
}

@media (max-width: 809px) {
    .sn-prose h2 {
        font-size: 26px;
        margin-top: 48px;
    }

    .sn-prose h3 {
        font-size: 20px;
        margin-top: 36px;
    }

    .sn-prose p,
    .sn-prose li {
        font-size: 16px;
    }
}

/* ---- Footer (matches Framer footer) ---- */
/* ---- Footer (matches Framer index.html footer exactly) ---- */
.sn-footer {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #111114;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.sn-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
    min-width: 160px;
}

.sn-footer__brand-logo {
    width: 158px;
    height: auto;
    display: block;
}

.sn-footer__tagline {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    color: #8e8e93;
}

.sn-footer__columns {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 40px;
}

.sn-footer__column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sn-footer__column-title {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    color: #6e6e73;
    margin-bottom: 2px;
}

.sn-footer__link {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    color: #8e8e93;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.sn-footer__link:hover {
    color: #f5f5f7;
}

.sn-footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
}

.sn-footer__copyright-text {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    color: #6e6e73;
    white-space: nowrap;
}

.sn-footer__rights {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.sn-footer__rights-text {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    color: #6e6e73;
    white-space: nowrap;
}

@media (min-width: 810px) and (max-width: 1199px) {
    .sn-footer {
        width: 810px;
        padding: 60px;
    }

    .sn-footer__columns {
        gap: 40px;
    }
}

@media (max-width: 809px) {
    .sn-footer {
        width: 390px;
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .sn-footer__columns {
        flex-direction: column;
        gap: 20px;
    }

    .sn-footer__column {
        gap: 6px;
    }
}

/* ---- Waitlist form ---- */
.sn-waitlist {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 420px;
}

.sn-waitlist__input {
    flex: 1;
    padding: 16px 20px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-elevated);
    border: 1px solid var(--color-dark-card);
    border-radius: var(--border-radius);
    outline: none;
    transition: border-color 0.2s;
}

.sn-waitlist__input::placeholder {
    color: var(--text-muted);
}

.sn-waitlist__input:focus {
    border-color: var(--text-secondary);
}

.sn-waitlist__btn {
    padding: 16px 24px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-primary);
    background-color: var(--text-primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.sn-waitlist__btn:hover {
    opacity: 0.9;
}

.sn-waitlist__success {
    display: none;
    color: #4ade80;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 809px) {
    .sn-waitlist {
        flex-direction: column;
    }
}

/* ---- Tag / Badge ---- */
.sn-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border-radius: 100px;
}

/* ---- Breadcrumb ---- */
.sn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.sn-breadcrumb a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.sn-breadcrumb a:hover {
    color: var(--text-primary);
}

.sn-breadcrumb__sep {
    font-size: 13px;
    color: var(--color-dark-card);
}

/* ---- Blog list ---- */
.sn-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.sn-blog-card {
    background-color: var(--bg-elevated);
    border: 1px solid var(--color-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.15s;
}

.sn-blog-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.sn-blog-card__date {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.sn-blog-card__title {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-normal);
}

.sn-blog-card__excerpt {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5em;
}

.sn-blog-card__cta {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: auto;
}

/* ---- Pillar page hero ---- */
.sn-pillar-hero {
    text-align: center;
    padding: 80px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sn-pillar-hero__title {
    max-width: 800px;
}

.sn-pillar-hero__subtitle {
    max-width: 600px;
}

/* ---- TOC (Table of contents for pillar pages) ---- */
.sn-toc {
    background-color: var(--bg-elevated);
    border: 1px solid var(--color-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin-bottom: 48px;
}

.sn-toc__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.sn-toc__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sn-toc__item a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.sn-toc__item a:hover {
    color: var(--text-primary);
}

/* ---- Utility ---- */
.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-40 {
    margin-bottom: 40px;
}

.gap-20 {
    gap: 20px;
}

.gap-40 {
    gap: 40px;
}

.gap-60 {
    gap: 60px;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.w-full {
    width: 100%;
}