/* ---------------------------------------------------------------
   Reset & Base
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bs-bg);
    color: var(--bs-text);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------------------------------------------------------------
   Layout
--------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.container--narrow {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

section { padding-block: 4rem 2rem; }

/* ---------------------------------------------------------------
   Typography
--------------------------------------------------------------- */
.wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}
.wordmark-base  { font-weight: 800; color: #1A1A1A; }
.wordmark-suite { font-weight: 400; color: #888888; }

.hero-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--bs-text);
    max-width: 18ch;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--bs-text-secondary);
    max-width: 55ch;
    line-height: 1.7;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-muted);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--bs-text);
}

.section-sub {
    font-size: 1rem;
    color: var(--bs-text-secondary);
    max-width: 50ch;
    margin-top: 1rem;
}

/* ---------------------------------------------------------------
   Buttons
--------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: opacity 0.15s, background 0.15s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent-light);
}

.btn-neutral {
    background: var(--bs-white);
    color: var(--bs-text);
    border-color: var(--bs-border);
}
.btn-neutral:hover { background: var(--bs-bg); }

.btn-lg {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

/* ---------------------------------------------------------------
   Header & Nav
--------------------------------------------------------------- */
.site-header {
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
}

.main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 3.75rem;
    left: 0;
    right: 0;
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
    padding: 0.75rem 1.25rem 1rem;
}

.main-nav.open { display: flex; }

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bs-text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-light);
    text-decoration: none;
    transition: color 0.15s;
}
.main-nav a:last-child { border-bottom: none; }
.main-nav a:hover { color: var(--bs-text); }
.main-nav a.active { color: var(--bs-text); font-weight: 600; }

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--bs-text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        border: none;
        padding: 0;
        gap: 1.75rem;
        align-items: center;
    }
    .main-nav a {
        padding: 0;
        border: none;
        font-size: 0.9rem;
    }
    .nav-toggle { display: none; }
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero {
    padding-block: 4rem 3rem;
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border-light);
}

.hero .container { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* Product page hero variant */
.hero--product {
    background: var(--accent-light);
    border-bottom-color: transparent;
}
.hero--product .hero-heading { color: var(--accent); }

/* ---------------------------------------------------------------
   Product Cards (home page)
--------------------------------------------------------------- */
.product-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.card-stripe {
    height: 4px;
}

.card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.card-product-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bs-text);
}

.card-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--card-accent, var(--bs-text));
    line-height: 1.4;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--bs-text-secondary);
    line-height: 1.6;
    flex: 1;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.card-learn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--card-accent, var(--bs-text));
    text-decoration: underline;
    text-underline-offset: 3px;
}

.coming-soon-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 2rem;
    background: var(--bs-border-light);
    color: var(--bs-text-muted);
    text-align: center;
}

/* ---------------------------------------------------------------
   Features
--------------------------------------------------------------- */
.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-text);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--bs-text-secondary);
    line-height: 1.6;
}

/* ---------------------------------------------------------------
   Pricing
--------------------------------------------------------------- */
.pricing-section {
    background: var(--bs-white);
}

.pricing-card {
    background: var(--accent-light);
    border: 1px solid transparent;
    border-radius: 1.25rem;
    padding: 2.5rem;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.pricing-period {
    font-size: 1rem;
    color: var(--accent-muted);
    font-weight: 500;
}
.pricing-alt {
    font-size: 0.875rem;
    color: var(--accent-muted);
    margin-top: 0.5rem;
}

.pricing-trial {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bs-white);
    border-radius: 0.5rem;
    padding: 0.5rem 0.875rem;
    display: inline-block;
    width: fit-content;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pricing-feature {
    font-size: 0.9rem;
    color: var(--bs-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-feature::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   Family / Cross-link Section
--------------------------------------------------------------- */
.family-section {
    background: var(--bs-bg);
}

.family-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .family-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------
   Back link
--------------------------------------------------------------- */
.back-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: color 0.15s;
}
.back-link:hover { color: var(--bs-text); }

/* ---------------------------------------------------------------
   About Page
--------------------------------------------------------------- */
.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.about-body p {
    font-size: 1.0625rem;
    color: var(--bs-text-secondary);
    line-height: 1.8;
    max-width: 68ch;
}

/* ---------------------------------------------------------------
   Coming Soon Page
--------------------------------------------------------------- */
.coming-soon-hero {
    padding-block: 4rem 3rem;
    background: var(--accent-light);
    text-align: center;
}

.coming-soon-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--bs-white);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.coming-soon-hero .hero-heading { color: var(--accent); margin-inline: auto; }
.coming-soon-hero .hero-sub     { margin-inline: auto; margin-top: 1rem; }

.email-capture {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 2rem;
    justify-content: center;
}

.email-input {
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.625rem 1rem;
    border: 1.5px solid var(--bs-border);
    border-radius: 0.625rem;
    background: var(--bs-white);
    color: var(--bs-text);
    min-width: 240px;
    outline: none;
    transition: border-color 0.15s;
}
.email-input:focus { border-color: var(--accent); }

/* ---------------------------------------------------------------
   Dividers & Utilities
--------------------------------------------------------------- */
.text-muted   { color: var(--bs-text-muted); }
.text-center  { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }

.section-header { margin-bottom: 3rem; }

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.site-footer {
    background: var(--bs-white);
    border-top: 1px solid var(--bs-border);
    padding-block: 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--bs-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--bs-text); }

.footer-copy {
    font-size: 0.8125rem;
    color: var(--bs-text-muted);
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
