/**
 * /start non-critical (below-the-fold) CSS (per IMPL-008b-3).
 * Loaded via <link rel="stylesheet"> with kliken-components dependency.
 *
 * Sections:
 *   1. Carousel (8 verticals)
 *   2. How It Works (3 steps)
 *   3. Testimonials (3 items)
 *   4. FAQ (8 native <details>/<summary>)
 *   5. Pricing (2 tiers + anchor)
 *   6. Secondary URL capture
 *   7. Footer legal-only mode
 *
 * @since 1.0.0
 */

/* ============ Section base ============ */
.start-section {
    padding: var(--space-12) var(--space-5);
}
.start-section__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--h2-size);
    text-align: center;
    margin: 0 auto var(--space-8);
    max-width: 880px;
}
@media (min-width: 768px) {
    .start-section { padding: var(--space-16) var(--space-6); }
}

/* ============ Carousel ============ */
.start-carousel {
    background-color: var(--color-background-light);
}
.start-carousel__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--h2-size);
    text-align: center;
    margin: 0 auto var(--space-3);
    max-width: 880px;
}
.start-carousel__subhead {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    text-align: center;
    margin: 0 auto var(--space-8);
    max-width: 720px;
    line-height: var(--leading-relaxed);
}
.start-carousel__track {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}
.start-carousel__items {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--space-2) var(--space-2);
}
.start-carousel__items::-webkit-scrollbar { display: none; }
.start-carousel__item {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 360px;
    scroll-snap-align: start;
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.start-carousel__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.start-carousel__picture { display: block; }
.start-carousel__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.start-carousel__label {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-primary);
}
.start-carousel__arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 2;
    font-size: var(--text-xl);
    color: var(--color-text-primary);
}
.start-carousel__arrow--prev { left: var(--space-4); }
.start-carousel__arrow--next { right: var(--space-4); }
.start-carousel__arrow:hover { background-color: var(--color-background-cream); }
.start-carousel__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.start-carousel__dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.start-carousel__dot[aria-current="true"] { background-color: var(--color-accent-primary); }
@media (min-width: 768px) {
    .start-carousel__item { width: 28vw; max-width: 280px; }
    .start-carousel__arrow { display: flex; align-items: center; justify-content: center; }
}
@media (min-width: 1024px) {
    .start-carousel__item { width: 22vw; max-width: 240px; }
}

/* ============ How It Works ============ */
.start-how-it-works {
    text-align: center;
}
.start-how-it-works__steps {
    display: grid;
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    counter-reset: hiw-step;
}
.start-how-it-works__step {
    padding: var(--space-6);
    background-color: var(--color-background);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    counter-increment: hiw-step;
    position: relative;
}
.start-how-it-works__step::before {
    content: counter(hiw-step);
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin-bottom: var(--space-3);
    background-color: var(--color-accent-primary);
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-base);
}
@media (min-width: 768px) {
    .start-how-it-works__steps { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Testimonials ============ */
.start-testimonials {
    background-color: var(--color-background-cream);
}
.start-testimonials__list {
    display: grid;
    gap: var(--space-6);
    max-width: 1080px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.start-testimonials__item {
    padding: var(--space-6);
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    font-style: italic;
    color: var(--color-text-primary);
    line-height: var(--leading-relaxed);
}
.start-testimonials__item::before {
    content: '\201C'; /* left double quotation mark */
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    line-height: 0.8;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-2);
}
.start-testimonials__quote {
    margin: 0 0 var(--space-4) 0;
}
.start-testimonials__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    font-style: normal;
    margin-top: auto;
}
.start-testimonials__author {
    font-weight: 600;
    color: var(--color-text-secondary);
}
.start-testimonials__rating {
    color: #f5a623; /* amber star color */
    letter-spacing: 0.1em;
    font-size: 1.05rem;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .start-testimonials__list { grid-template-columns: repeat(3, 1fr); }
    .start-testimonials__item { display: flex; flex-direction: column; }
}

/* ============ FAQ (native <details>/<summary> single-open accordion) ============ */
.start-faq {
    max-width: 880px;
    margin: 0 auto;
}
.start-faq__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.start-faq__item {
    border-bottom: 1px solid var(--color-border-light);
}
.start-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-2);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    list-style: none;
}
.start-faq__item summary::-webkit-details-marker { display: none; }
.start-faq__item summary::after {
    content: '+';
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-accent-primary);
    transition: transform var(--transition-fast);
}
.start-faq__item[open] summary::after {
    content: '\2212'; /* minus */
}
.start-faq__answer {
    padding: 0 var(--space-2) var(--space-5);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

/* ============ Pricing ============ */
.start-pricing {
    background-color: var(--color-background-light);
    text-align: center;
}
.start-pricing__lead {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    max-width: 720px;
    margin: 0 auto var(--space-3);
    line-height: var(--leading-relaxed);
}
.start-pricing__anchor {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============ Secondary URL capture ============ */
.start-secondary-cta {
    text-align: center;
}
.start-secondary-cta__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--h3-size);
    margin: 0 auto var(--space-6);
    max-width: 720px;
    line-height: var(--leading-tight);
}

/* ============ Footer legal-only mode (per IMPL-001c) ============ */
.site-footer--legal-only {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-6) var(--space-5);
    text-align: center;
}
.site-footer--legal-only__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin: 0 0 var(--space-3);
    padding: 0;
    list-style: none;
}
.site-footer--legal-only__links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}
.site-footer--legal-only__footnote {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    max-width: 720px;
    margin: 0 auto;
}
