/* ═══════════════════════════════════════════════════════════════
   about.css — Shared styles for /about, /about/features, /about/story,
               /about/faqs, /about/policies, /about/terms
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
    --rust: #C94B6D;
    --rust-lt: #E06882;
    --rust-bg: rgba(201,75,109,0.08);
    --sand: #EEF0F8;
    --sand-mid: #DFE2F2;
    --brown-dk: #1A2E42;
    --brown: #3D5A72;
    --brown-lt: #8AA4B8;
    --white: #FDFAFF;
}

/* ── ABOUT INDEX — HERO ─────────────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--rust) 0%, #9B3056 100%);
    color: #fff;
    padding: 72px 0 64px;
    text-align: center;
}
.about-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.about-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
}
.about-hero-cta {
    display: inline-block;
    background: #fff;
    color: var(--rust);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.about-hero-cta:hover { opacity: 0.88; color: var(--rust); }
.about-hero-secondary {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.15s;
}
.about-hero-secondary:hover { color: #fff; }

/* ── ABOUT INDEX — SECTIONS ─────────────────────────────────── */
.about-section {
    padding: 64px 0;
}
.about-section + .about-section {
    border-top: 1px solid var(--sand-mid);
}
.about-section.bg-tinted {
    background: var(--sand);
}
.about-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rust);
    margin-bottom: 8px;
}
.about-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin-bottom: 14px;
}
.about-section .lead {
    color: var(--brown);
    font-size: 1.05rem;
    max-width: 520px;
}

/* ── ABOUT INDEX — FEATURE CARDS ────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--sand-mid);
    border-radius: 10px;
    padding: 24px 22px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.feature-card:hover {
    box-shadow: 0 6px 24px rgba(26,46,66,0.10);
    transform: translateY(-2px);
}
.feature-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(201,75,109,0.10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.2rem;
    color: var(--rust);
}
.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brown-dk);
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 0.875rem;
    color: var(--brown);
    margin: 0;
    line-height: 1.55;
}

/* ── ABOUT INDEX — HOW IT WORKS ─────────────────────────────── */
.steps {
    counter-reset: step;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    list-style: none;
    padding: 0;
}
.step {
    position: relative;
    padding-left: 56px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rust);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brown-dk);
    margin-bottom: 5px;
}
.step p {
    font-size: 0.875rem;
    color: var(--brown);
    margin: 0;
    line-height: 1.55;
}

/* ── ABOUT INDEX — CTA BAND ─────────────────────────────────── */
.about-cta-band {
    background: var(--brown-dk);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.about-cta-band h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.about-cta-band p {
    opacity: 0.75;
    margin-bottom: 28px;
    font-size: 1rem;
}
.about-cta-band a.btn-primary-rose {
    display: inline-block;
    background: var(--rust);
    color: #fff;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.15s;
}
.about-cta-band a.btn-primary-rose:hover { background: var(--rust-lt); }
.about-cta-band a.btn-outline-light-rose {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 7px;
    text-decoration: none;
    margin-left: 12px;
    transition: border-color 0.15s;
}
.about-cta-band a.btn-outline-light-rose:hover { border-color: rgba(255,255,255,0.7); }
.about-cta-story-link {
    display: block;
    margin-top: 18px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.about-cta-story-link:hover { color: rgba(255,255,255,0.9); }

/* ══════════════════════════════════════════════════════════════
   FEATURES PAGE
   ══════════════════════════════════════════════════════════════ */
.features-hero {
    background: var(--sand);
    padding: 52px 0 44px;
    border-bottom: 1px solid var(--sand-mid);
}
.features-hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rust);
    margin-bottom: 8px;
}
.features-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin-bottom: 10px;
}
.features-hero p {
    color: var(--brown);
    font-size: 1rem;
    max-width: 500px;
}
.features-body { padding: 48px 0 64px; }
.features-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

/* ── FEATURES LIST ──────────────────────────────────────────── */
.features-list {
    background: var(--white);
    border: 1px solid var(--sand-mid);
    border-radius: 12px;
    overflow: hidden;
}
.features-section-label {
    padding: 10px 20px 8px;
    background: var(--sand);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brown);
    border-bottom: 1px solid var(--sand-mid);
}
.features-section-icon--green  { margin-right: 5px; color: #3A7D52; }
.features-section-icon--gray   { margin-right: 5px; color: #5A7090; }
.features-section-icon--purple { margin-right: 5px; color: #7040bd; }

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--sand-mid);
    transition: background 0.1s;
}
.feature-row:last-child { border-bottom: none; }
.feature-row.has-detail { cursor: pointer; }
.feature-row.has-detail:hover { background: var(--sand); }
.feature-row-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--brown-dk);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-row-name .chevron {
    font-size: 0.65rem;
    color: var(--brown);
    transition: transform 0.2s;
}
.feature-row.open .chevron { transform: rotate(90deg); }

/* ── FEATURE BADGES ─────────────────────────────────────────── */
.feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}
.feat-live    { background: rgba(91,168,112,0.15); color: #3A7D52; }
.feat-tbd     { background: rgba(100,120,150,0.10); color: #5A7090; }
.feat-ai-want { background: rgba(140,100,220,0.13); color: #7040bd; }
.feat-disabled { background: rgba(160,60,20,0.10); color: #8c3a14; }
.feature-row--disabled { opacity: 0.55; }

/* ── FEATURE DETAIL ─────────────────────────────────────────── */
.feature-detail {
    display: none;
    padding: 0 20px 14px 20px;
    font-size: 0.85rem;
    color: var(--brown);
    line-height: 1.5;
    border-bottom: 1px solid var(--sand-mid);
    background: var(--sand);
}
.feature-detail.open { display: block; }

/* ── FEATURES FOOTER NOTE ───────────────────────────────────── */
.features-footer-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--brown);
    text-align: center;
}
.features-footer-note a {
    color: var(--rust);
}

/* ══════════════════════════════════════════════════════════════
   STORY PAGE
   ══════════════════════════════════════════════════════════════ */
.story-hero {
    background: linear-gradient(135deg, var(--brown-dk) 0%, #0d1e2e 100%);
    color: #fff;
    padding: 80px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.story-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(201,75,109,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.story-hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rust-lt);
    margin-bottom: 16px;
}
.story-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.15;
}
.story-hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── STORY LAYOUT ───────────────────────────────────────────── */
.story-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── STORY CHAPTERS ─────────────────────────────────────────── */
.story-chapter {
    padding: 64px 0;
    border-bottom: 1px solid var(--sand-mid);
}
.story-chapter:last-child { border-bottom: none; }
.story-chapter-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 12px;
}
.story-chapter h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}
.story-chapter p {
    font-size: 1.05rem;
    color: var(--brown);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}
.story-chapter p:last-child { margin-bottom: 0; }

/* ── STORY PULL QUOTE ───────────────────────────────────────── */
.story-pullquote {
    border-left: 3px solid var(--rust);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--sand);
    border-radius: 0 8px 8px 0;
}
.story-pullquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--brown-dk) !important;
    margin: 0 !important;
    line-height: 1.65;
}

/* ── STORY VALUES ───────────────────────────────────────────── */
.story-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
@media (max-width: 600px) {
    .story-values { grid-template-columns: 1fr; }
}
.story-value-card {
    background: var(--sand);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}
.story-value-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.story-value-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown-dk);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}
.story-value-desc {
    font-size: 0.88rem;
    color: var(--brown);
    line-height: 1.55;
}

/* ── STORY NAME TAG ─────────────────────────────────────────── */
.story-name-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--rust), #9B3056);
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px 10px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.story-name-tag i { font-size: 1rem; }

/* ── STORY CTA ──────────────────────────────────────────────── */
.story-cta {
    background: linear-gradient(135deg, var(--rust) 0%, #9B3056 100%);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    margin: 48px 0 64px;
}
.story-cta h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.story-cta p {
    opacity: 0.88;
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.65;
}
.story-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--rust);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.story-cta-btn:hover { opacity: 0.88; color: var(--rust); }

/* ══════════════════════════════════════════════════════════════
   LEGAL / PROSE PAGES  (Privacy Policy, Terms of Service)
   ══════════════════════════════════════════════════════════════ */
.legal-hero {
    background: var(--sand);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--sand-mid);
}
.legal-hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rust);
    margin-bottom: 8px;
}
.legal-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin-bottom: 8px;
}
.legal-hero .legal-meta {
    font-size: 0.85rem;
    color: var(--brown);
}
.legal-hero .legal-meta .legal-version {
    font-size: 0.75rem;
    background: var(--rust-bg);
    color: var(--rust);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 6px;
}

/* ── Prose body ─────────────────────────────────────────────── */
.legal-body {
    padding: 48px 0 72px;
}
.legal-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.legal-wrap h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin: 36px 0 12px;
    padding-top: 12px;
    border-top: 1px solid var(--sand-mid);
}
.legal-wrap h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}
.legal-wrap h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-dk);
    margin: 20px 0 8px;
}
.legal-wrap p {
    font-size: 0.95rem;
    color: var(--brown);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.legal-wrap ul,
.legal-wrap ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-wrap li {
    font-size: 0.95rem;
    color: var(--brown);
    line-height: 1.75;
    margin-bottom: 0.35rem;
}
.legal-wrap li strong {
    color: var(--brown-dk);
}
.legal-wrap ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.legal-wrap a {
    color: var(--rust);
    text-decoration: none;
}
.legal-wrap a:hover {
    text-decoration: underline;
}
.legal-wrap strong {
    font-weight: 700;
}

/* ── Legal contact footer ───────────────────────────────────── */
.legal-contact-card {
    margin-top: 40px;
    padding: 24px 28px;
    background: var(--sand);
    border-radius: 12px;
    border: 1px solid var(--sand-mid);
}
.legal-contact-card h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 8px;
}
.legal-contact-card p {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════════════════════════ */
.faq-hero {
    background: var(--sand);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--sand-mid);
}
.faq-hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rust);
    margin-bottom: 8px;
}
.faq-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brown-dk);
    margin-bottom: 8px;
}
.faq-hero p {
    color: var(--brown);
    font-size: 1rem;
    max-width: 500px;
}

.faq-body {
    padding: 48px 0 72px;
}
.faq-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--sand-mid);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.faq-item:hover {
    box-shadow: 0 2px 12px rgba(26,46,66,0.06);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brown-dk);
    line-height: 1.45;
    transition: color 0.12s;
}
.faq-question:hover {
    color: var(--rust);
}
.faq-question .chevron {
    font-size: 0.7rem;
    color: var(--brown);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-question .chevron {
    transform: rotate(90deg);
}
.faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--brown);
    line-height: 1.7;
    border-top: 1px solid var(--sand-mid);
    padding-top: 14px;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-answer p {
    margin: 0 0 0.75rem;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ── FAQ CTA ────────────────────────────────────────────────── */
.faq-cta {
    margin-top: 40px;
    padding: 28px;
    background: var(--sand);
    border-radius: 12px;
    border: 1px solid var(--sand-mid);
    text-align: center;
}
.faq-cta p {
    font-size: 0.9rem;
    color: var(--brown);
    margin-bottom: 12px;
}
.faq-cta a {
    color: var(--rust);
    font-weight: 600;
    text-decoration: none;
}
.faq-cta a:hover {
    text-decoration: underline;
}
