/* Yearly transit reading page (SYN-130).
 *
 * Extracted from src/api/templates/pages/yearly.html inline <style>.
 * Verbatim except for the .video-bg::after override, which was drift
 * against base.css (PR #122 established this fix for the same class of
 * bug in blueprint.css / time-travel.css).
 */

body {
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out;
}

h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--text-secondary);
}

.divider {
    width: 80px;
    height: 1px;
    background-color: var(--secondary);
    margin: 24px auto;
}

/* Pitch */
.pitch {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.pitch-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pitch-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 24px;
}

.price-display {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 4px;
}

.price-note {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* What's Inside */
.includes {
    margin: 40px 0;
    padding: 28px 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.includes h2 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: center;
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.includes-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 1px;
    background-color: var(--accent);
}

/* Form styles + focus-visible live in /static/base.css. */
/* SYN-56: .bundle-* rules removed with the calendar bundle SKU. */

/* Consent */
.consent-group {
    margin: 24px 0 20px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-label a {
    color: var(--accent);
    text-decoration: none;
}

.consent-label a:hover {
    text-decoration: underline;
}

/* Bare button {} rule deleted: form submit migrated to .btn .btn-primary. */

/* Status */
.status {
    margin-top: 32px;
    padding: 20px;
    border-radius: 4px;
    display: none;
}

.status.loading {
    display: block;
    background-color: rgba(139, 115, 85, 0.1);
    border: 1px solid var(--divider);
    text-align: center;
}

.status.error {
    display: block;
    background-color: rgba(184, 115, 51, 0.15);
    border: 1px solid var(--accent);
}

.status h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 12px;
}

.status p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--divider);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Trust */
.trust-section {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.trust-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}

.generation-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    padding: 12px 16px;
}

/* Cross-promo */
.cross-promo {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--divider);
    text-align: center;
}

.cross-promo p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cross-promo a {
    color: var(--accent);
    text-decoration: none;
}

.cross-promo a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 60px;
    padding-top: 40px;
}

form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
