*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f9fafb;
    --white: #ffffff;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #94a3b8;
    --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

nav {
    padding: 0 48px;
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
}

.logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
    justify-self: start;
}

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-tab {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.nav-tab:hover { color: var(--ink-2); background: var(--border); }

.nav-tab.active {
    color: var(--ink);
    font-weight: 600;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.btn-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-link:hover { background: var(--border); }

.btn-dark {
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--ink);
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 8px;
    transition: opacity 0.15s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.btn-dark:hover { opacity: 0.8; }

.mobile-nav-drawer { display: none; }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ink);
    font-size: 20px;
    justify-self: end;
}

.hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 90px 48px 72px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero h1 i { font-style: italic; font-weight: 400; color: var(--ink-2); }

.hero p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto 40px;
}

.hero-btns { display: flex; gap: 12px; justify-content: center; }

.btn-hero {
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: var(--ink);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 9px;
    transition: opacity 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-hero:hover { opacity: 0.8; }

.btn-hero-outline {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    background: white;
    border: 1px solid var(--border);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 9px;
    transition: border-color 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-hero-outline:hover { border-color: #94a3b8; }

.tab-panel { display: none; border-top: 1px solid var(--border); }
.tab-panel.active { display: block; }

.panel-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 72px 48px;
}

.panel-header { margin-bottom: 52px; }

.panel-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.panel-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.1;
}

.panel-header h2 i { font-style: italic; font-weight: 400; color: var(--ink-2); }

.panel-header p { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.6; }

.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
}

.tile-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.tile { background: white; padding: 36px 32px; transition: background 0.2s; }
.tile:hover { background: #f8fafc; }
.tile-emoji { font-size: 26px; margin-bottom: 14px; display: block; }
.tile h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.tile p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.step-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.step-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.wide-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.wide-card:hover { background: #f8fafc; }
.wide-card-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.wide-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.wide-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.stat-pill {
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-pill span { color: var(--muted); font-weight: 400; }

.cta-section { border-top: 1px solid var(--border); }

.cta-inner { max-width: 1000px; margin: 0 auto; padding: 80px 48px; }

.cta-box {
    background: var(--ink);
    border-radius: 16px;
    padding: 64px 48px;
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 12px;
}

.cta-box p { font-size: 16px; color: #64748b; margin-bottom: 36px; }

.btn-accent {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: #f5c842;
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 9px;
    transition: background 0.15s;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
}

.btn-accent:hover { background: #f9d456; }

footer {
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    nav {
        grid-template-columns: 1fr 1fr;
        padding: 0 24px;
    }

    .nav-tabs { display: none; }
    .nav-auth { display: none; }
    .nav-mobile-toggle { display: block; }

    .mobile-nav-drawer {
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        z-index: 99;
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .mobile-nav-drawer.open { display: flex; }

    .mobile-nav-drawer .nav-tab {
        text-align: left;
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 8px;
    }

    .mobile-nav-drawer .mobile-auth {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .mobile-nav-drawer .btn-dark { flex: 1; text-align: center; padding: 11px; }
    .mobile-nav-drawer .btn-link { flex: 1; text-align: center; padding: 11px; border: 1px solid var(--border); border-radius: 8px; }
}

@media (max-width: 768px) {
    .hero { padding: 64px 24px 56px; }
    .panel-inner { padding: 52px 24px; }
    .tile-grid { grid-template-columns: 1fr; }
    .tile-grid.two-col { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr; }
    .cta-inner { padding: 56px 24px; }
    .cta-box { padding: 48px 24px; }
    footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
}

.tile img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
}

.wide-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.stat-pill img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.seo-text-section {
    padding: 64px 24px;
    background: var(--bg, #fff);
}

.seo-text-inner {
    max-width: 760px;
    margin: 0 auto;
}

.seo-text-inner h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text, #0f172a);
}

.seo-text-inner p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted, #475569);
    margin: 0 0 20px;
}