/* Community Art product page — follows the AI Math product system, in the app's violet and pink */
:root {
    --ca-ink: #140a2e;
    --ca-ink-soft: #24164a;
    --ca-violet: #7c4dff;
    --ca-pink: #fa5c9e;
    --ca-amber: #ffc94d;
    --ca-paper: #f8f6ff;
    --ca-white: #ffffff;
    --ca-copy: #5d5876;
    --ca-line: #e7e2f5;
    --ca-soft: #f1ecff;
    --ca-radius: 24px;
}

html { scroll-behavior: smooth; }

body.ca-site,
body.ca-legal-page {
    margin: 0;
    color: var(--ca-ink);
    background: var(--ca-paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ca-site *,
.ca-legal-page * { box-sizing: border-box; }

.ca-site a,
.ca-legal-page a { color: inherit; }

.product-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ca-white) !important;
    background: var(--ca-violet);
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

/* Navigation */
.product-nav { position: absolute; z-index: 20; inset: 0 0 auto; padding: 22px 0; color: var(--ca-white); }
.product-nav-inner, .product-nav-links, .studio-brand { display: flex; align-items: center; }
.product-nav-inner { justify-content: space-between; gap: 30px; }
.studio-brand { gap: 11px; color: inherit; font-size: 15px; font-weight: 750; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; width: 26px; height: 26px; display: inline-block; border: 1px solid currentColor; border-radius: 50%; opacity: .95; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.brand-mark::before { top: 7px; left: 6px; }
.brand-mark::after { top: 7px; right: 6px; }
.brand-mark span { bottom: 6px; left: 10px; }
.product-nav-links { gap: 28px; }
.product-nav-links a { color: rgba(255,255,255,.72); font-size: 14px; font-weight: 650; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.product-nav-links a:hover, .product-nav-links a:focus-visible { color: var(--ca-white); }
.product-nav-links .nav-download { padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--ca-white); background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.product-nav-links .nav-download:hover { background: rgba(255,255,255,.18); }

/* Hero */
.product-hero {
    position: relative;
    min-height: 860px;
    overflow: hidden;
    color: var(--ca-white);
    background:
        radial-gradient(circle at 78% 34%, rgba(250,92,158,.22), transparent 28%),
        radial-gradient(circle at 60% 70%, rgba(124,77,255,.3), transparent 32%),
        radial-gradient(circle at 12% 88%, rgba(255,201,77,.08), transparent 26%),
        linear-gradient(145deg, #0d0620 0%, #1a0b3d 55%, #2a0f4a 100%);
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, transparent, black 24%, black 75%, transparent);
}

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-one { top: 140px; right: -180px; width: 520px; height: 520px; border: 1px solid rgba(250,92,158,.3); box-shadow: inset 0 0 110px rgba(124,77,255,.1); }
.hero-orb-two { bottom: -220px; left: 30%; width: 440px; height: 440px; background: rgba(124,77,255,.14); filter: blur(90px); }

.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(430px, .82fr); gap: 86px; align-items: center; min-height: 860px; padding-top: 100px; }
.hero-copy { padding: 64px 0; }
.app-identity { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 13px;
    color: var(--ca-white);
    background: linear-gradient(145deg, var(--ca-violet), var(--ca-pink));
    box-shadow: 0 12px 30px rgba(124,77,255,.32), inset 0 1px 1px rgba(255,255,255,.4);
    font-size: 21px;
}

.app-icon.large { width: 58px; height: 58px; margin-bottom: 28px; border-radius: 17px; font-size: 28px; }

.hero-copy h1 { max-width: 700px; margin: 0 0 26px; font-size: clamp(54px, 6vw, 82px); font-weight: 760; letter-spacing: -.058em; line-height: .99; }
.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, #b9a1ff 0%, #ff8cc0 55%, #ffd27a 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 600px; margin: 0; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 11px 18px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    color: var(--ca-white) !important;
    background: rgba(255,255,255,.1);
    box-shadow: 0 14px 38px rgba(0,0,0,.25);
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.app-store-button:hover, .app-store-button:focus-visible { transform: translateY(-2px); background: rgba(255,255,255,.16); box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.apple-symbol { position: relative; width: 28px; color: var(--ca-white); font-size: 26px; line-height: 1; }
.apple-symbol::before { content: ""; position: absolute; top: -3px; left: 14px; width: 8px; height: 5px; border-radius: 8px 1px; background: currentColor; transform: rotate(-35deg); }
.app-store-button span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.app-store-button small { margin-bottom: 3px; font-size: 10px; letter-spacing: .02em; }
.app-store-button strong { font-size: 20px; font-weight: 620; letter-spacing: -.025em; }

.text-link { color: rgba(255,255,255,.74) !important; font-size: 14px; font-weight: 650; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(3px); }
.hero-note { margin: 16px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }

/* Phone mockup */
.hero-product { position: relative; display: flex; justify-content: center; align-items: center; padding-top: 60px; }
.phone-shadow { position: absolute; bottom: 0; width: 330px; height: 80px; border-radius: 50%; background: rgba(250,92,158,.36); filter: blur(48px); }

.phone-frame {
    position: relative;
    width: 345px;
    height: 694px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 54px;
    background: linear-gradient(145deg, #463a63, #0b0716 45%, #75688f 100%);
    box-shadow: 0 60px 100px rgba(0,0,0,.56), 0 0 0 4px rgba(8,4,18,.9), inset 0 1px 1px rgba(255,255,255,.55);
    transform: rotate(3deg);
}

.phone-top { position: absolute; z-index: 5; top: 19px; left: 50%; width: 102px; height: 28px; border-radius: 22px; background: #050309; transform: translateX(-50%); }
.phone-top span { position: absolute; top: 9px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #241544; box-shadow: inset 0 0 0 2px #0d0820; }
.phone-screen { height: 100%; overflow: hidden; padding: 16px 16px 20px; border-radius: 44px; color: var(--ca-ink); background: #ffffff; }
.phone-status { display: flex; justify-content: space-between; padding: 2px 9px 18px; color: #1d1236; font-size: 9px; font-weight: 800; }
.phone-status span:last-child { font-size: 7px; letter-spacing: 2px; }

.post-head { display: flex; align-items: center; gap: 9px; margin: 4px 2px 10px; }
.post-head div { display: flex; flex-direction: column; gap: 1px; }
.post-head strong { font-size: 13px; letter-spacing: -.02em; }
.post-head div span { color: #8b86a3; font-size: 8px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: #d08a5c; font-size: 9px; font-weight: 800; }

/* Painted scenes: a sky, a sun or moon, and two hills, recoloured per edit */
.art { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); --sky-top: #8ec5ff; --sky-bottom: #ffe3b0; --sun: #ffd25c; --hill-back: #6dbb7a; --hill-front: #3f8f5a; }
.art .sun { position: absolute; top: 18%; right: 20%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: 0 0 24px var(--sun); }
.art .hill { position: absolute; left: -10%; right: -10%; bottom: 0; }
.art .hill.back { height: 52%; background: var(--hill-back); clip-path: polygon(0 60%, 18% 30%, 36% 52%, 58% 12%, 78% 46%, 100% 22%, 100% 100%, 0 100%); }
.art .hill.front { height: 34%; background: var(--hill-front); clip-path: polygon(0 40%, 25% 10%, 48% 46%, 70% 18%, 100% 50%, 100% 100%, 0 100%); }
.art.night { --sky-top: #0b1440; --sky-bottom: #3d2a7d; --sun: #f4f1ff; --hill-back: #241a52; --hill-front: #120c2e; }
.art.night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 35%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 12%, #fff, transparent), radial-gradient(1px 1px at 85% 40%, #fff, transparent), radial-gradient(1px 1px at 10% 45%, #fff, transparent); }
.art.poster { --sky-top: #ff6b4a; --sky-bottom: #ffd36e; --sun: #fff1b8; --hill-back: #7a2b5c; --hill-front: #2a1236; }
.art.snow { --sky-top: #c8ddf5; --sky-bottom: #f4f9ff; --sun: #ffffff; --hill-back: #e6eef8; --hill-front: #b7c9e3; }
.art.neon { --sky-top: #170838; --sky-bottom: #ff3fa4; --sun: #6ff7ff; --hill-back: #3b0f73; --hill-front: #1a0636; }
.art.neon .sun { box-shadow: 0 0 30px #6ff7ff, 0 0 60px rgba(111,247,255,.5); }
.art.watercolor { --sky-top: #f7d6e6; --sky-bottom: #fdf3e1; --sun: #ffb4a2; --hill-back: #a8d5ba; --hill-front: #7fb3a0; }

.post-art { height: 170px; }
.tile-label { position: absolute; z-index: 2; left: 9px; top: 9px; padding: 3px 7px; border-radius: 999px; color: white; background: rgba(0,0,0,.4); font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.request-chip { margin: 10px 2px 0; color: #4a4466; font-size: 10px; line-height: 1.4; }
.request-chip b { color: var(--ca-violet); }
.edit-button { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 14px; padding: 10px; border-radius: 999px; color: white; background: var(--ca-violet); font-size: 11px; font-weight: 800; }
.edits-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 9px; }
.edits-head strong { font-size: 14px; letter-spacing: -.03em; }
.sort-pill { padding: 4px 8px; border-radius: 999px; color: var(--ca-violet); background: var(--ca-soft); font-size: 7px; font-weight: 800; }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.edit-tile { position: relative; height: 128px; }
.edit-tile .art { height: 100%; }
.edit-tile .votes { position: absolute; z-index: 2; top: 7px; right: 7px; padding: 3px 6px; border-radius: 999px; color: white; background: rgba(0,0,0,.42); font-size: 7px; font-weight: 800; backdrop-filter: blur(6px); }
.edit-tile .prompt { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 7px; margin: 0; color: white; font-size: 8px; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: rgba(255,255,255,.86); background: rgba(30,15,62,.78); box-shadow: 0 14px 40px rgba(0,0,0,.24); font-size: 13px; font-weight: 650; backdrop-filter: blur(14px); }
.float-chip i { font-style: normal; }
.float-chip-one { top: 175px; right: -38px; transform: rotate(5deg); }
.float-chip-two { bottom: 150px; left: -46px; transform: rotate(-5deg); }

/* Proof strip */
.proof-strip { border-bottom: 1px solid var(--ca-line); background: var(--ca-white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 96px; padding: 20px; border-right: 1px solid var(--ca-line); color: #4a4466; font-size: 13px; }
.proof-grid div:first-child { border-left: 1px solid var(--ca-line); }
.proof-grid span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--ca-violet); background: var(--ca-soft); font-size: 15px; }

/* Sections */
.section { padding: 128px 0; }
.section-heading { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.eyebrow { margin: 0 0 17px; color: var(--ca-violet); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2, .engines-copy h2, .faq-layout h2, .final-cta h2 { margin: 0; color: var(--ca-ink); font-size: clamp(40px, 5vw, 58px); font-weight: 750; letter-spacing: -.05em; line-height: 1.06; }
.section-heading > p:last-child { max-width: 600px; margin: 22px auto 0; color: var(--ca-copy); font-size: 17px; line-height: 1.7; }

.steps-section { background: var(--ca-paper); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; min-width: 0; padding: 30px; border: 1px solid var(--ca-line); border-radius: var(--ca-radius); background: rgba(255,255,255,.7); }
.step-card.featured-step { border-color: #d9ccff; background: linear-gradient(145deg, #fff, #f3eeff); box-shadow: 0 22px 60px rgba(124,77,255,.13); }
.step-index { display: inline-block; margin-bottom: 25px; color: #a29dbb; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.step-card h3 { margin: 26px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.step-card p { margin: 0; color: var(--ca-copy); font-size: 14px; line-height: 1.7; }

.mini-visual { height: 170px; border: 1px solid #ebe6f6; border-radius: 18px; background: var(--ca-white); }
.mini-share { position: relative; padding: 14px; }
.mini-share .art { height: 100%; }
.mini-share .bubble { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; padding: 9px 11px; border-radius: 12px; color: #3b3554; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(20,10,46,.15); font-size: 11px; line-height: 1.4; }
.mini-share .bubble b { color: var(--ca-violet); }
.mini-prompt { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; }
.prompt-field { padding: 12px 13px; border-radius: 12px; color: #3b3554; background: #f5f2fc; font-size: 12px; }
.prompt-field::after { content: "|"; margin-left: 2px; color: var(--ca-violet); animation: blink 1s steps(1) infinite; }
.engine-pills { display: flex; gap: 8px; }
.engine-pills span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border: 1px solid #e9e4f6; border-radius: 11px; color: #4a4466; font-size: 11px; font-weight: 800; }
.engine-pills span.pro { color: white; border-color: transparent; background: linear-gradient(135deg, var(--ca-violet), var(--ca-pink)); }
.mini-rank { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; }
.mini-rank div { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid #f0ecf8; border-radius: 11px; font-size: 11px; font-weight: 700; color: #4a4466; }
.mini-rank i { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; font-style: normal; }
.mini-rank b { margin-left: auto; color: var(--ca-violet); font-size: 11px; }
.mini-rank .rank { width: 14px; color: #a29dbb; font-size: 10px; }

/* Engines (dark) */
.engines-section { color: var(--ca-white); background: var(--ca-ink); }
.engines-layout { display: grid; grid-template-columns: .82fr 1.1fr; gap: 100px; align-items: center; }
.engines-copy h2 { color: var(--ca-white); }
.engines-copy > p:not(.eyebrow) { margin: 25px 0 30px; color: rgba(255,255,255,.64); font-size: 16px; line-height: 1.75; }
.engines-section .eyebrow { color: #c3adff; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.8); font-size: 14px; }
.check-list span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #ffd27a; background: rgba(255,201,77,.12); font-size: 10px; }

.engine-panel { display: grid; gap: 16px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); box-shadow: 0 40px 100px rgba(0,0,0,.32); }
.engine-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.05); }
.engine-card.pro { border-color: rgba(195,173,255,.5); background: rgba(124,77,255,.14); }
.engine-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; color: #c3adff; background: rgba(124,77,255,.18); font-size: 20px; }
.engine-card.pro .engine-icon { color: white; background: linear-gradient(145deg, var(--ca-violet), var(--ca-pink)); }
.engine-card strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.engine-card p { margin: 3px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.5; }
.engine-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.engine-compare .art { height: 150px; }
.engine-compare figure { margin: 0; }
.engine-compare figcaption { margin-top: 8px; color: rgba(255,255,255,.5); font-size: 11px; text-align: center; }
.engine-compare .soft .art { filter: blur(1.2px) saturate(.9); }

/* Bento features */
.features-section { background: #fbfaff; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature-bento { position: relative; min-height: 300px; overflow: hidden; padding: 30px; border: 1px solid var(--ca-line); border-radius: var(--ca-radius); background: var(--ca-white); }
.feature-bento h3 { max-width: 320px; margin: 16px 0 10px; font-size: 24px; letter-spacing: -.035em; }
.feature-bento p { max-width: 430px; margin: 0; color: var(--ca-copy); font-size: 14px; line-height: 1.7; }
.feature-number { color: #a29dbb; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.feature-wide { display: grid; grid-column: span 4; grid-template-columns: 1fr .9fr; gap: 30px; align-items: center; }
.feature-anon { grid-column: span 2; background: linear-gradient(150deg, #f3eeff, #fff); }
.feature-credits, .feature-comments { grid-column: span 3; }
.feature-share { grid-column: span 2; }
.feature-safe { grid-column: span 4; background: var(--ca-ink); }
.feature-safe h3 { color: var(--ca-white); }
.feature-safe p { color: rgba(255,255,255,.6); }
.feature-safe .feature-number { color: rgba(255,255,255,.4); }

.explore-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(2deg); }
.explore-mosaic .art { height: 92px; border-radius: 12px; }
.explore-mosaic .art:nth-child(2) { height: 120px; }
.explore-mosaic .art:nth-child(4) { margin-top: -28px; }

.username-cloud { position: relative; height: 110px; margin-top: 26px; }
.username-cloud span { position: absolute; padding: 8px 12px; border: 1px solid #e0d8f6; border-radius: 999px; color: #574d85; background: rgba(255,255,255,.8); font-size: 11px; font-weight: 700; }
.username-cloud span:nth-child(1) { top: 4px; left: 4%; }
.username-cloud span:nth-child(2) { top: 30px; right: 4%; color: white; background: var(--ca-violet); transform: rotate(4deg); }
.username-cloud span:nth-child(3) { bottom: 4px; left: 16%; transform: rotate(-3deg); }

.credit-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.credit-row span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; color: #5b4a12; background: #fff4d1; font-size: 12px; font-weight: 800; }
.credit-row span.refund { color: #146c4a; background: #e3f7ee; }

.comment-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.comment-stack div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #efebf8; border-radius: 13px; font-size: 12px; color: #4a4466; }
.comment-stack i { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; color: white; font-size: 8px; font-style: normal; font-weight: 800; }
.comment-stack b { margin-left: auto; color: var(--ca-violet); font-size: 11px; white-space: nowrap; }

.share-art { display: flex; justify-content: center; margin-top: 22px; }
.share-art .art { width: 150px; height: 110px; box-shadow: 0 18px 40px rgba(20,10,46,.14); transform: rotate(-4deg); }

.safe-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.safe-pills span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.06); font-size: 11px; font-weight: 700; }

/* FAQ */
.faq-section { background: var(--ca-paper); }
.faq-layout { display: grid; grid-template-columns: .65fr 1fr; gap: 100px; align-items: start; }
.faq-intro { margin-top: 24px; color: var(--ca-copy); font-size: 14px; }
.faq-intro a { color: var(--ca-violet); font-weight: 700; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--ca-line); }
.faq-list details { border-bottom: 1px solid var(--ca-line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 25px; padding: 25px 0; cursor: pointer; font-size: 16px; font-weight: 720; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--ca-violet); font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -7px 45px 24px 0; color: var(--ca-copy); font-size: 14px; line-height: 1.75; }

/* Final call to action */
.final-cta { position: relative; overflow: hidden; padding: 128px 0; color: var(--ca-white); background: linear-gradient(145deg, #140a2e, #2a0f4a); text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 80%, rgba(250,92,158,.26), transparent 38%); }
.final-orb { position: absolute; top: -320px; left: 50%; width: 700px; height: 700px; border: 1px solid rgba(195,173,255,.25); border-radius: 50%; transform: translateX(-50%); }
.final-cta-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { color: #c3adff; }
.final-cta h2 { margin-bottom: 36px; color: var(--ca-white); font-size: clamp(44px, 6vw, 70px); }
.app-store-button.light { color: var(--ca-ink) !important; background: var(--ca-white); }
.app-store-button.light .apple-symbol { color: var(--ca-ink); }
.app-store-button.light:hover { background: #f4efff; }

/* Footer */
.product-footer { margin: 0; padding: 62px 0 28px; color: var(--ca-white); background: #0b0619; text-align: left; }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 35px; align-items: center; padding-bottom: 50px; }
.footer-main p { max-width: 400px; margin: 0; color: rgba(255,255,255,.46); font-size: 13px; line-height: 1.6; }
.footer-nav { display: flex; justify-content: flex-end; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,.62); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.32); font-size: 11px; }

/* Legal pages */
.ca-legal-page { min-height: 100vh; }
.ca-legal-page .product-nav { position: sticky; top: 0; padding: 17px 0; color: var(--ca-ink); background: rgba(248,246,255,.9); border-bottom: 1px solid rgba(231,226,245,.9); backdrop-filter: blur(18px); }
.ca-legal-page .product-nav-links a { color: #6b6589; }
.ca-legal-page .product-nav-links a:hover { color: var(--ca-ink); }
.ca-legal-page .product-nav-links .nav-download { color: white; border: 0; background: var(--ca-ink); }
.ca-legal-page .product-nav-links .nav-download:hover { background: var(--ca-ink-soft); }

.legal-hero-modern { padding: 84px 0 58px; border-bottom: 1px solid var(--ca-line); background: linear-gradient(180deg, #f3eeff, var(--ca-paper)); }
.legal-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #7d7899; font-size: 12px; }
.legal-breadcrumb a { color: var(--ca-violet); font-weight: 700; text-decoration: none; }
.legal-breadcrumb span { color: #b6b1c9; }
.legal-hero-modern h1 { max-width: 820px; margin: 0 0 18px; font-size: clamp(42px, 6vw, 66px); letter-spacing: -.055em; line-height: 1.02; }
.legal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #6f6a8c; font-size: 13px; }
.legal-meta .legal-pill { padding: 7px 10px; border-radius: 999px; color: #5a3fd1; background: #ece4ff; font-weight: 750; }
.legal-meta .language-link { color: var(--ca-violet); font-weight: 700; text-underline-offset: 3px; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; align-items: start; justify-content: center; padding-top: 64px; padding-bottom: 110px; }
.legal-toc { position: sticky; top: 100px; padding: 18px 0; }
.legal-toc > span { display: block; margin-bottom: 15px; color: #a29dbb; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc nav { display: flex; flex-direction: column; gap: 4px; }
.legal-toc a { padding: 8px 12px; border-left: 1px solid var(--ca-line); color: #6f6a8c; font-size: 12px; font-weight: 650; text-decoration: none; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.legal-toc a:hover { border-color: var(--ca-violet); color: var(--ca-violet); background: var(--ca-soft); }
.legal-document-modern { min-width: 0; }
.legal-summary { margin-bottom: 50px; padding: 24px 26px; border: 1px solid #e0d6fb; border-radius: 18px; color: #4f4a6b; background: var(--ca-soft); font-size: 14px; line-height: 1.7; }
.legal-summary strong { color: var(--ca-ink); }
.legal-document-modern section { scroll-margin-top: 105px; margin-bottom: 44px; }
.legal-document-modern h2 { margin: 0 0 14px; color: var(--ca-ink); font-size: 24px; letter-spacing: -.025em; line-height: 1.25; }
.legal-document-modern p, .legal-document-modern li { color: #5f5a7b; font-size: 15px; line-height: 1.8; }
.legal-document-modern p { margin: 0 0 14px; }
.legal-document-modern ul { margin: 14px 0 0; padding-left: 22px; }
.legal-document-modern li { margin-bottom: 8px; padding-left: 5px; }
.legal-document-modern strong { color: #3a3456; }
.legal-document-modern a:not(.legal-button) { color: var(--ca-violet); font-weight: 650; text-underline-offset: 3px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--ca-line); }
.legal-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; border: 1px solid var(--ca-line); border-radius: 12px; color: var(--ca-ink); background: white; font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.legal-button.primary { color: white; border-color: var(--ca-ink); background: var(--ca-ink); }
.legal-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20,10,46,.09); }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1000px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 35px; }
    .hero-copy h1 { font-size: 58px; }
    .phone-frame { width: 310px; height: 624px; }
    .post-art { height: 150px; }
    .edit-tile { height: 112px; }
    .float-chip-one { right: 0; }
    .float-chip-two { left: 0; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid div:nth-child(2) { border-right: 0; }
    .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--ca-line); }
    .engines-layout { gap: 50px; }
    .feature-wide, .feature-safe { grid-column: span 6; }
    .feature-anon, .feature-share { grid-column: span 3; }
    .legal-layout { grid-template-columns: 180px minmax(0, 690px); gap: 45px; }
}

@media (max-width: 780px) {
    .product-container { width: min(100% - 32px, 650px); }
    .product-nav { padding: 16px 0; }
    .product-nav-links a:not(.nav-download) { display: none; }
    .product-nav-links { gap: 0; }
    .product-nav-links .nav-download { padding: 9px 13px; font-size: 12px; }
    .product-hero { min-height: auto; }
    .hero-layout { grid-template-columns: 1fr; gap: 0; padding-top: 110px; }
    .hero-copy { padding: 55px 0 35px; text-align: center; }
    .app-identity { margin-bottom: 24px; }
    .hero-copy h1 { margin-inline: auto; font-size: clamp(45px, 13vw, 64px); }
    .hero-lead { margin-inline: auto; font-size: 16px; }
    .hero-actions { justify-content: center; }
    .hero-product { min-height: 600px; padding: 20px 0 0; }
    .phone-frame { width: 295px; height: 594px; transform: rotate(2deg); }
    .float-chip-one { top: 110px; right: 1%; }
    .float-chip-two { bottom: 80px; left: 1%; }
    .section { padding: 88px 0; }
    .section-heading { margin-bottom: 44px; }
    .section-heading h2, .engines-copy h2, .faq-layout h2 { font-size: 42px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { max-width: 560px; margin-inline: auto; }
    .engines-layout { grid-template-columns: 1fr; gap: 50px; }
    .feature-anon, .feature-credits, .feature-comments, .feature-share, .feature-safe { grid-column: span 6; }
    .feature-bento { min-height: auto; }
    .feature-wide { grid-template-columns: 1fr; }
    .faq-layout { grid-template-columns: 1fr; gap: 45px; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-main .studio-brand { justify-content: center; }
    .footer-main p { margin-inline: auto; }
    .footer-nav { justify-content: center; flex-wrap: wrap; }
    .legal-hero-modern { padding: 64px 0 45px; }
    .legal-layout { grid-template-columns: 1fr; gap: 25px; padding-top: 38px; }
    .legal-toc { position: static; padding: 0 0 20px; overflow: hidden; }
    .legal-toc nav { flex-direction: row; overflow-x: auto; padding-bottom: 7px; }
    .legal-toc a { flex: 0 0 auto; border-left: 0; border-bottom: 1px solid var(--ca-line); }
}

@media (max-width: 520px) {
    .product-container { width: calc(100% - 28px); }
    .studio-brand { font-size: 13px; }
    .brand-mark { width: 24px; height: 24px; }
    .brand-mark span { left: 9px; }
    .hero-actions { flex-direction: column; gap: 18px; }
    .hero-product { min-height: 565px; }
    .phone-frame { width: 278px; height: 558px; border-radius: 46px; }
    .phone-screen { border-radius: 37px; padding-inline: 13px; }
    .post-art { height: 130px; }
    .edit-tile { height: 100px; }
    .float-chip { display: none; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-grid div { justify-content: flex-start; min-height: 68px; border-right: 0; border-bottom: 1px solid var(--ca-line); }
    .proof-grid div:first-child { border-left: 0; }
    .proof-grid div:last-child { border-bottom: 0; }
    .section-heading h2, .engines-copy h2, .faq-layout h2 { font-size: 36px; }
    .section-heading > p:last-child { font-size: 15px; }
    .step-card, .feature-bento, .engine-panel { padding: 22px; }
    .engine-compare .art { height: 120px; }
    .final-cta { padding: 96px 0; }
    .final-cta h2 { font-size: 42px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .legal-hero-modern h1 { font-size: 42px; }
    .legal-meta { align-items: flex-start; flex-direction: column; }
    .legal-summary { padding: 20px; }
    .legal-document-modern h2 { font-size: 21px; }
    .legal-document-modern p, .legal-document-modern li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
    .ca-legal-page .product-nav, .ca-legal-page .legal-toc, .ca-legal-page .product-footer, .ca-legal-page .legal-actions { display: none !important; }
    .ca-legal-page { background: white; }
    .legal-hero-modern { padding: 0 0 25px; background: white; }
    .legal-layout { display: block; padding: 30px 0; }
    .legal-document-modern section { break-inside: avoid; }
}
