:root {
    --text-main: #1a1a1a;
    --text-inverse: #ffffff;
    --text-brand: #055592;
    --text-muted: #4f4f4f;
    --accent-primary: #0070f3;
    --accent-secondary: #e5a93c; 
    --bg-main: #ffffff;
    --bg-secondary: #ffffff;
    /* --bg-secondary: #F5F5F5; */
    --bg-brand: #055592;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16.5px;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

section {
    border-top: 1px solid #ddd;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 17px 5%;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #055592 0%, #1A6DAE 100%);
    z-index: 100;
    transition: padding 0.2s ease;
}

nav.nav-scrolled {
    padding: 7px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.logo-img {
    height: 33px;
    width: auto;
    display: block;
    transition: height 0.2s ease;
}

nav.nav-scrolled .logo-img {
    height: 28px;
}

.hero {
    padding: 100px 0;
    text-align: center;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    mask-image: linear-gradient(90deg, black 0%, transparent 13%, transparent 85%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 13%, transparent 85%, black 100%);
    pointer-events: none;
    z-index: 1;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.highlight { color: var(--accent-primary); }

.cta-group { margin-top: 2.5rem; }

/* Update both buttons to match the Black/White scheme */
.btn-primary, .btn-secondary {
    background: var(--bg-brand);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s ease; /* This makes the hover look smooth */
    display: inline-block;
    margin-top: 0px;
}

/* Specific size for the nav button so it's not quite as bulky as the hero button */
.btn-secondary {
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* Accent inline link — matches the "Compare Capsule and Stories features ›" mini-banner link style */
.inline-link-accent {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.inline-link-accent:hover {
    opacity: 0.8;
}

/* Keeps a trailing word + chevron on the same line so the chevron never wraps alone */
.nb {
    white-space: nowrap;
}

/* Nav CTA - independent styling */
.nav-cta {
    background: #e1660c;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.nav-cta:hover {
    opacity:0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-cta:active {
    transform: translateY(0);
}

/* Hover Feedback: Subtle lift and slight transparency */
.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px); /* Lifts the button slightly */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Active State: Slight "press" effect when clicked */
.btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
}

.features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 50px 5%;
    /*background: var(--bg-secondary); */
    background: #f5f5f5;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex: 1 1 300px;
    max-width: 300px;
}

.feature-card h3 {
    margin: 0;
    font-size: 25px;
}

.feature-card-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
}

.feature-card-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-card-price-row .feature-card-price {
    margin: 0.5rem 0;
}

.feature-card-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e3f0fd;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 5px 11px;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.feature-card-detail-link:hover {
    opacity: 0.8;
}

.feature-card-subtitle {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 18px;
    margin: 0.25rem 0 1rem;
}

.feature-card-desc {
    font-size: 16px;
    margin: 0 0 1.5rem;
}

.fm-section {
    background: var(--bg-secondary);
}

.fm-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.fm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.fm-table {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.fm-table-head {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    padding: 9px 20px;
    border-bottom: 2px solid var(--text-main);
    align-items: center;
}

/* FAQ single-column override */
.fm-table-faq .fm-table-head {
    grid-template-columns: 1fr;
    border-bottom: 3px double #ddd;
    padding: 12px 20px;
}

.fm-head-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.fm-head-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.fm-tier-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.fm-tier-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}

.fm-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    padding: 13px 20px;
    border-bottom: 1px solid #f2f2f2;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

/* FAQ single-column override */
.faq-row {
    grid-template-columns: 1fr !important;
}

.fm-table > .fm-row:last-child {
    border-bottom: none;
}

.fm-row:hover,
.fm-row.active {
    background: #e3e3e3;
}

.fm-row-label {
    font-weight: 550;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fm-check {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: bold;
    color: #059669;
}

.fm-dash {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: bold;
    color: #d1d5db;
}

.fm-chevron {
    display: none;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.fm-accordion {
    display: none;
    grid-column: 1 / -1;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px dashed #ddd;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.fm-divider {
    background: #f9f9f9;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-main);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.fm-explainer-wrap {
    display: none;
}

.fm-explainer {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 24px;
    position: relative;
}

.fm-explainer-inner {
    transition: opacity 0.18s ease-in-out, transform 0.18s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.fm-explainer-inner.fm-fade-out {
    opacity: 0;
    transform: translateY(4px);
}

.fm-pill {
    position: absolute;
    top: -38px;
    right: 3px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.fm-pill-both {
    background: #f0f4f8;
    color: #2965e8;
    border-color: #2965e8;
}

.fm-pill-stories {
    background: #eefff3;
    color: #149644;
    border-color: #149644;
}

.fm-panel-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px;
}

.fm-panel-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.fm-media {
    box-sizing: border-box;
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.85rem;
    text-align: center;
    padding: 16px;
    overflow: hidden;
}

.fm-media-image {
    background: none;
    border: 1px solid #eee;
    padding: 0;
    height: auto;
    aspect-ratio: 1424 / 752;
}

.fm-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fm-media-empty {
    border-style: solid;
    background: #fafafa;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.fm-empty-text {
    color: #4b5563;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.fm-empty-icon {
    font-size: 4.75rem;
    line-height: 1;
    animation: fmBounceLeft 1.8s infinite ease-in-out;
}

@keyframes fmBounceLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .fm-grid {
        grid-template-columns: 1.25fr 0.75fr;
    }

    .fm-explainer-wrap {
        display: block;
        position: relative;
        align-self: stretch;
    }

    .fm-explainer {
        position: sticky;
        top: 100px;
    }

    .fm-accordion {
        display: none !important;
    }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .fm-row,
    .fm-table-head {
        grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
    }

    .fm-row-label {
        min-width: 0;
    }

    .fm-row.active .fm-accordion {
        display: block;
        background: white;
        margin: 13px -20px -13px;
        padding: 12px 20px 13px;
        font-size: calc(0.9rem + 2px);
    }

    .fm-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 14px;
        height: 14px;
        margin-left: auto;
        font-size: 0;
    }

    .fm-chevron::before {
        content: '';
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
    }

    .fm-accordion img {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 12px;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .fm-row.active .fm-chevron {
        transform: rotate(180deg);
    }
}

@media (min-width: 1024px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .fm-grid {
        grid-template-columns: 1.25fr 0.75fr;
    }

    .fm-explainer-wrap {
        display: block;
        position: relative;
        align-self: stretch;
    }

    .fm-explainer {
        position: sticky;
        top: 100px;
    }

    .fm-row.active .fm-accordion,
    .fm-chevron {
        display: none;
    }
}

@media (max-width: 640px) {
    .fm-row.active .fm-accordion {
        margin: 12px -12px -12px;
        padding: 12px 12px 12px;
        font-size: calc(0.9rem + 1px);
    }

    .fm-table-head,
    .fm-row {
        padding: 12px;
    }

    .fm-row-label {
        font-size: 0.88rem;
    }

    .fm-tier-name {
        font-size: 0.95rem;
    }
}

.nav-links { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 2rem; }
.nav-links a:not(.btn-secondary):not(.nav-cta) {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a:not(.btn-secondary):not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.25s ease;
}
.nav-links a:not(.btn-secondary):not(.nav-cta):hover::after {
    width: 100%;
}

.nav-separator {
    width: 1px;
    height: 1.2rem;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 -1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Lift the open menu above the pricing page's sticky bar (also a <nav>, z-index 100) */
nav.nav-open { z-index: 101; }
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet + phone: logo icon only, hamburger menu, CTA stays in the bar */
@media (max-width: 640px) {
    .logo-text { display: none; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-actions { margin-left: auto; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 5%;
        width: max-content;
        max-width: 90%;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 0;
        margin: 0;
        padding: 8px 28px 12px 24px;
        background: linear-gradient(135deg, #055592 0%, #1A6DAE 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-top: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    nav.nav-open .nav-links { display: flex; }

    .nav-links a:not(.btn-secondary):not(.nav-cta) {
        padding: 12px 0;
        font-size: calc(1.05rem + 2px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .nav-links a:not(.btn-secondary):not(.nav-cta)::after { display: none; }
    .nav-links a:not(.btn-secondary):not(.nav-cta):last-child { border-bottom: 0; }

    .nav-separator { display: none; }

    nav .nav-cta { padding: 8px 16px; white-space: nowrap; }
}

footer {
    background: var(--bg-secondary);
    padding: 40px 5%;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 40px;
}

.footer-col {
    text-align: center;
}

.footer-col h3 {
    font-size: 1.6rem;
    margin: 0 0 1rem;
    line-height: 44px;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Left Column */
.footer-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 52px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding-right: 30px;
}

.footer-col-left h3 {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    align-items: center;
}

.footer-logo-icon {
    height: 30px;
    width: auto;
    margin-right: 12px;
}

.footer-social-blurb {
    color: var(--text-muted);
    font-size: 16.5px;
    margin: -21px 0 9px;
}

.footer-cta {
    width: 74%;
    margin-left: 26px;
    padding: 12px 32px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

/* Center Column (Newsletter) */
.footer-col-center {
    padding: 0;
    padding-right: 0rem;
    padding-left: 0rem;
}

.footer-newsletter {
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
}

.footer-newsletter h3 { margin: 0 0 0.4rem; }
.footer-newsletter > p { color: var(--text-muted); margin: 0 0 1.25rem; }
.footer-newsletter-form { display: flex; gap: 0.75rem; margin-bottom: 12px; }
.footer-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.footer-newsletter-form .btn-primary { padding: 12px 24px; font-size: 1rem; border: none; cursor: pointer; }
.footer-newsletter-fineprint { color: var(--text-muted); font-size: 0.8rem; margin: 1rem 0 0; }
.footer-newsletter-fineprint a { color: var(--text-muted); text-decoration: underline; }
#newsletterMessage { font-size: 0.9rem; margin: 0; font-weight: 500; padding: 12px 16px; border-radius: 4px; }
#newsletterMessage.newsletter-success { color: #ffffff; background: #157d23; font-size: 15px; padding: 4px; }
#newsletterMessage.newsletter-error { color: #ffffff; background: #c70406; font-size: 15px; padding: 4px; }

/* Right Column (Social) */
.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 41px;
    padding-left: 29px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-accent {
    display: inline;
    color: var(--accent-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--bg-brand);
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Footer Bottom Section */
.footer-bottom {
    background: linear-gradient(135deg, #055592 0%, #1A6DAE 100%);
    color: #ffffff;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-bottom-line1 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-bottom-brand {
    color: #ffffff;
}

.footer-bottom-divider {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.footer-bottom-tagline {
    color: #ffffff;
}

.footer-bottom-line2 {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col-left h3 {
        max-width: none;
    }

    /* Stacked: swap the desktop vertical dividers for horizontal separators */
    .footer-col-left,
    .footer-col-right {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }

    .footer-col-center,
    .footer-col-right {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
    }
}

/* Landscape tablets (>1024px): keep "Follow Mission Vault" on one line beside the logo */
@media (min-width: 1025px) and (hover: none) and (pointer: coarse) {
    .footer-col-left h3 {
        white-space: nowrap;
    }

    .footer-content { gap: 1.5rem; }
    .footer-col-left { padding-right: 20px; }
    .footer-col-right { padding-left: 20px; }

    .footer-newsletter-form .btn-primary {
        white-space: nowrap;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .footer-newsletter-form { flex-direction: column; }
}

.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-main); }
.footer-copyright { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.page-hero { padding: 10px 0 10px; text-align: center; }
.page-hero h1 { font-size: 2.6rem; margin: 0; }

.section-intro { color: var(--text-muted); font-size: 1.1rem; max-width: 750px; margin: 0 auto 2rem; text-align: center; font-weight: 600; }

.pricing-sub { color: var(--text-muted); font-size: 1rem; margin: 0 0 2rem 0; text-align: left; }

.pricing-sticky-nav {
    position: sticky;
    top: 0;
    background: var(--bg-main);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.pricing-tab {
    display: inline-block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.pricing-tab:hover {
    color: var(--text-main);
}

.pricing-tab.active {
    color: var(--text-main);
    border-bottom-color: var(--accent-primary);
}

.co-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.co-tier-card, .co-addon-card { position: relative; display: block; border: 2px solid #eee; border-radius: 8px; padding: 20px; cursor: pointer; }
.co-tier-card:has(input:checked), .co-addon-card:has(input:checked) { border-color: var(--text-main); background: var(--bg-secondary); }
.co-tier-card input, .co-addon-card input { position: absolute; top: 20px; right: 20px; }
.co-tier-badge { position: absolute; top: -10px; left: 20px; background: var(--accent-primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.co-tier-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; padding-right: 30px; }
.co-tier-name { font-weight: 700; font-size: 1.1rem; }
.co-tier-price { font-weight: 700; }
.co-tier-desc { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.co-addon-card { margin-bottom: 1.5rem; }
.co-note { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1.5rem; }
#checkoutSubmit:disabled { opacity: 0.6; cursor: not-allowed; }

.content-section { padding: 20px 0 80px; }
.subscribed-page { padding: 64px 0 80px; }
.subscribed-container { max-width: 640px; }
.subscribed-tile {
    background: var(--bg-main);
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 40px 24px;
    text-align: center;
}
.subscribed-tile h1 { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; margin: 0 0 16px; }
.subscribed-tile p { color: var(--text-muted); margin: 0; }
.content-section h2 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 2.5rem; margin-top:6px; }
.content-section p { color: var(--text-main); }

/* Timeline Styles */
.container:has(.timeline-container),
.container.about-content,
.container.impact-content {
    max-width: 800px;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-line {
    position: absolute;
    left: 52px;
    top: 80px;
    bottom: 0;
    width: 2px;
    background: #ddd;
    display: none;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.timeline-step:not(:last-child) {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.timeline-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-label {
    display: none;
}

.timeline-content h2 {
    font-size: 1.5rem;
    margin-top: -4px;
    margin-bottom: 1px;
}

.step-number {
    color: #0070f3;
}

.timeline-content p {
    margin: 0;
    color: var(--text-muted);
}

.impact-content h3 {
    font-size: 1.1rem;
    margin-top: -4px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.impact-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.impact-content li {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.impact-intro {
    font-size: 22px;
}

.impact-content h2 {
    margin-bottom: 1rem;
}

.impact-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 35px;
    align-items: start;
    margin-bottom: 35px;
}

.impact-section-1 {
    margin-top: 35px;
}

.impact-section-2 {
    grid-template-columns: 2fr 1fr;
}

.impact-section-2 .impact-text {
    order: -1;
}

.impact-text > *:first-child {
    margin-top: 0;
}

.impact-text > *:last-child {
    margin-bottom: 0;
}

.impact-image {
    display: flex;
    height: 100%;
    padding: 12px 0 7px;
    box-sizing: border-box;
}

.impact-image-placeholder {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    height: 100%;
}

.impact-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .impact-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .impact-section-2 .impact-text {
        order: 0;
    }

    .impact-image {
        height: auto;
        aspect-ratio: 16 / 9;
        padding: 0;
    }
}

/* FAQ Accordion Grid */
.faq-grid {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 1.5rem;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    user-select: none;
    font-weight: 500;
    color: var(--text-main);
}

.faq-question:hover {
    background: #efefef;
}

.faq-chevron {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: white;
    border-bottom: 1px solid #ddd;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-item.active .faq-chevron {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    .features {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        padding: 50px 0;
    }
    nav {
        padding: 1rem 5%;
    }
    .footer-links { gap: 1rem; }

    .timeline-step {
        gap: 1.5rem;
    }

    .timeline-image {
        width: 120px;
        height: 120px;
        font-size: 0.85rem;
    }

    .timeline-line {
        left: 60px;
        top: 80px;
    }

    .timeline-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .timeline-step {
        flex-direction: column;
        gap: 1rem;
    }

    /* Show the whole image instead of a zoomed crop */
    .timeline-image {
        width: 100%;
        max-width: 183px;
        height: auto;
        margin: 0 auto;
        background: transparent;
    }

    .timeline-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .timeline-line {
        display: none;
    }

    .timeline-content h2 {
        font-size: 1.1rem;
    }
}

/* About Page — Editorial Rows */
.container.about-content {
    max-width: 900px;
}

.about-rows {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.about-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.about-rows > .about-row:first-child {
    border-top: none;
    padding-top: 0;
}

.about-row-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-row-number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.about-row-meta .about-row-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
}

.about-row-content p {
    color: var(--text-muted);
    margin: 0 0 16px;
}

.about-row-content p:last-child {
    margin-bottom: 0;
}

.about-row-content strong {
    color: var(--text-main);
    font-weight: 600;
}

.about-pull-quote {
    margin: 24px 0;
    padding: 20px 24px;
    background: rgba(0, 112, 243, 0.06);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.6;
}

.about-stat-card {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 8px;
    margin-bottom: 36px;
    padding: 28px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.about-stat-number {
    flex-shrink: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.about-stat-number span {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

.about-stat-divider {
    flex-shrink: 0;
    width: 1px;
    height: 50px;
    background: #ddd;
}

.about-stat-text {
    margin: 0;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 36px 0;
    }

    .about-stat-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-stat-divider {
        display: none;
    }
}

/* Checkout Form Cards & Structure */
.co-card {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px 20px 20px 20px;
    margin-bottom: 1.5rem;
    background: white;
}

.co-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
}

.co-step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-main);
    color: white;
    font-weight: 700;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.co-card-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.co-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.co-card-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Grids & Layout Utilities */
.co-grid {
    display: grid;
    gap: 12px;
}

.co-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.co-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.co-checkbox {
    width: 16px;
    height: 16px;
}

.co-checkbox-label {
    font-size: 0.95rem;
    cursor: pointer;
    margin: 0;
}

/* Form Fields & Labels */
.co-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    color: #4f4f4f;
}

.co-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Inter, sans-serif;
    box-sizing: border-box;
}

/* Stage Selectors (Radio Tabs) */
.co-stage-wrapper {
    display: flex;
    gap: 8px;
}

.co-stage-label {
    flex: 1;
    cursor: pointer;
}

.co-stage-radio {
    display: none;
}

.co-stage-btn {
    padding: 8px 12px;
    border: 2px solid #eee;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
}

.co-stage-radio:checked + .co-stage-btn {
    border-color: var(--text-main);
    background: #f5f5f5;
}

.co-date-group {
    display: none;
}

.co-date-group.active {
    display: grid;
}

/* Utility State Rules */
.co-error-msg {
    color: #c0392b;
    display: none;
    margin: 1rem 0;
}

.co-input.is-invalid {
    border-color: #c0392b;
}

.error-message {
    color: #c0392b;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

.co-submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
}

.co-text-success {
    color: #28a745;
}
.container-sm {
    max-width: 640px;
}

/* Two-column checkout layout */
.co-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.co-summary-panel {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 20px;
}

.co-summary-heading {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.co-progress-wrapper {
    width: 100%;
}

.co-progress-bar {
    width: 100%;
    height: 3px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.co-progress-fill {
    height: 100%;
    background: var(--text-main);
    transition: width 0.3s ease;
}

.co-summary-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.co-step-indicator {
    font-weight: 600;
    color: var(--text-main);
}

.co-order-table {
    margin-top: 20px;
    border-top: 1px solid #f2f2f2;
    padding-top: 16px;
}

.co-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
}

.co-order-label {
    color: var(--text-muted);
}

.co-order-value {
    color: var(--text-main);
    font-weight: 600;
}

.co-order-row-muted .co-order-value {
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
    font-size: 0.85rem;
}

/* "Zip code needed" placeholder state - shared by Tax (static) and Shipping (toggled in JS
   once the Address Element has a postal code). Overridden back to .co-order-value's normal
   look the moment a real value is known. */
.co-order-value-pending {
    color: #0070F3;
    font-weight: 500;
    font-size: 14px;
    font-style: normal;
}

.co-order-row-total {
    border-top: 2px solid var(--text-main);
    margin-top: 8px;
    padding-top: 14px;
}

.co-order-row-total .co-order-label,
.co-order-row-total .co-order-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Mobile default: summary panel pinned to the bottom of the viewport */
.co-summary-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ddd;
    padding: 16px 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    max-height: 70vh;
    overflow-y: auto;
}

.co-summary-wrap .co-summary-panel {
    width: 90%;
    max-width: 640px;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Offset body padding so the fixed mobile bar doesn't overlap footer content.
   Scoped to the checkout page only - a bare `body` rule here previously leaked
   this padding onto every page on the site. */
body.co-page {
    padding-bottom: 160px;
}

@media (min-width: 880px) {
    .co-layout {
        grid-template-columns: 1.4fr 0.9fr;
    }

    .co-summary-wrap {
        position: sticky;
        top: 100px;
        bottom: auto;
        left: auto;
        right: auto;
        background: transparent;
        border-top: none;
        padding: 0;
        box-shadow: none;
        z-index: auto;
        max-height: none;
        overflow-y: visible;
        align-self: start;
    }

    .co-summary-wrap .co-summary-panel {
        width: auto;
        max-width: none;
        margin: 0;
        border: 1px solid #eee;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        padding: 20px;
    }

    body.co-page {
        padding-bottom: 0;
    }
}

/* Timeline CTA */
.timeline-cta {
    text-align: center;
    margin-top: 0px;
    padding-top: 21px;
}

/* How it works page  */
.content-section.how-it-works {
    padding: 20px 0 35px !important;
}

.how-it-works .section-intro-line2 {
    font-size: 17px;
    font-weight: 425;
    color: var(--text-muted);
}

/* Memory Book page */
.mb-hero-section {
    padding-top: 40px;
}

.mb-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 15px;
    margin-bottom: -25px;
}

.mb-hero-text h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    margin-top: -34px;
}

.mb-hero-specs {
    list-style: none;
    padding: 2rem 0 0;
    margin: 67px 0 -41px;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mb-hero-photo-slot {
    position: relative;
    width: 93%;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.mb-hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.mb-hero-photo-img.is-active {
    opacity: 1;
}

.mb-style-photo {
    position: relative;
    aspect-ratio: 1 / 0.85;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.mb-style-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.mb-style-photo-img.is-active {
    opacity: 1;
    transform: scale(1);
}

.mb-section-heading {
    margin: 0 0 2.5rem;
}

.mb-section-heading h2 {
    margin-top: 20px;
    margin-bottom: -5px;
}

.mb-style-section {
    background: #f5f5f5;
}

.mb-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mb-style-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.mb-style-card-content {
    padding: 1.5rem;
}

.mb-style-card-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.mb-style-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.mb-specs-item {
    border-left: 3px solid var(--accent-primary);
    padding-left: 1rem;
}

.mb-specs-item h4 {
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
}

.mb-specs-item p {
    color: var(--text-muted);
    font-size: 15.5px;
    margin: 0;
}

.mb-ready-strip {
    background: linear-gradient(135deg, #055592 0%, #1A6DAE 100%);
    padding: 22px 0;
    margin-top: -35px;
}

.mb-ready-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mb-ready-strip h2 {
    color: white;
    margin: 0;
    font-size: 29px;
}

.mb-ready-strip-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mb-ready-strip .btn-primary {
    padding: 10px 24px;
    font-size: 1rem;
}

.mb-ready-cta-orange {
    background: #e1660c;
}

.mb-ready-cta-blue {
    background: #055592;
    border: 1px solid #ffffff;
}

.content-section .mb-companion-heading {
    text-align: left;
    font-size: 1.9rem;
    margin: 20px 0 2rem;
}

.mb-companion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.mb-companion-media {
    display: flex;
}

.mb-companion-image {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mb-companion-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mb-companion-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mb-companion-check {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--text-main);
}

.mb-companion-item h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.mb-companion-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .mb-hero {
        grid-template-columns: 1fr;
    }

    .mb-style-grid {
        grid-template-columns: 1fr;
    }

    .mb-hero-specs {
        grid-template-columns: 1fr 1fr;
    }

    .mb-companion-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mb-hero-specs {
        grid-template-columns: 1fr;
    }
}

/* Info tooltip — inline "i" icon with hover (desktop) / tap (mobile) popover */
.mv-info-tip {
    position: relative;
    display: inline;
    margin-left: -1px;
}

.mv-info-tip-icon {
    font-size: 1em;
    font-weight: 500;
    font-style: normal;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mv-info-tip-icon:hover,
.mv-info-tip-icon:focus-visible {
    color: var(--text-brand);
}

.mv-info-tip-bubble {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    background: var(--text-main);
    color: var(--text-inverse);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 20;
    pointer-events: none;
}

.mv-info-tip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-main);
}

@media (hover: hover) {
    .mv-info-tip:hover .mv-info-tip-bubble,
    .mv-info-tip-icon:focus-visible + .mv-info-tip-bubble {
        opacity: 1;
        visibility: visible;
    }
}

.mv-info-tip.is-open .mv-info-tip-bubble {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

