/* Scoped product storytelling shared by the TOVA homepage and editor tour. */
@import url('tova-theme.css?v=20260928-dark');
.tp-detail-page { margin: 0; background: #0b0b12; color: var(--tp-ink); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.65; }
.tp-detail-page *, .tp-hero *, .tp-section * { box-sizing: border-box; }
.tp-detail-page h1, .tp-detail-page h2, .tp-detail-page h3, .tp-detail-page p, .tp-detail-page figure { margin: 0; }
.tp-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.tp-hero { padding: 142px 0 62px; color: var(--tp-ink); background: radial-gradient(ellipse at 78% 38%, #34225480, transparent 52%), #0b0b12; }
.tp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.tp-eyebrow { color: var(--tp-accent) !important; font-size: 12px !important; font-weight: 750; letter-spacing: .14em; margin-bottom: 22px !important; }
.tp-hero h1 { color: var(--tp-ink); font-size: clamp(44px, 5.6vw, 76px); line-height: 1.09; letter-spacing: -.055em; font-weight: 800; margin: 0 0 26px; text-wrap: balance; word-break: keep-all; }
.tp-hero .tp-lead { font-size: 19px; line-height: 1.8; color: var(--tp-muted); max-width: 560px; margin: 0; word-break: keep-all; overflow-wrap: break-word; }
.tp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tp-button { display: inline-flex; align-items: center; justify-content: center; background: #ad94ff; color: #171027 !important; padding: 14px 22px; border-radius: 10px; font-size: 15px; line-height: 1.5; font-weight: 750; text-decoration: none; border: 1px solid transparent; transition: background .2s, transform .2s; text-align: center; }
.tp-button:hover { background: #c3b2ff; transform: translateY(-2px); }
.tp-button-secondary { background: transparent; border-color: #4b425f; color: var(--tp-ink) !important; }
.tp-button-secondary:hover { background: #272034; }
.tp-hero-tags { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; font-size: 10px; letter-spacing: .12em; color: #85879b; }
.tp-hero-tags span + span::before { content: '·'; margin-right: 16px; color: #b5a1ff; }
.tp-art { margin: 0; width: 100%; max-width: 410px; justify-self: center; }
.tp-art-frame { padding: 7px; background: linear-gradient(140deg, #827099, #242131 65%); border-radius: 29px; box-shadow: 0 26px 90px #05040990; }
.tp-art img { display: block; width: 100%; height: auto; border-radius: 23px; }
.tp-art figcaption { font-size: 11px; line-height: 1.6; color: #8f91a4; margin: 12px 6px 0; }
.tp-section { padding: 88px 0; color: var(--tp-ink); scroll-margin-top: 85px; }
.tp-heading { max-width: 800px; margin-bottom: 36px; }
.tp-section h2 { font-size: clamp(29px, 3.3vw, 44px); line-height: 1.23; font-weight: 750; letter-spacing: -.035em; margin: 0 0 18px; word-break: keep-all; text-wrap: balance; }
.tp-section p { color: var(--tp-muted); line-height: 1.8; }
.tp-heading > p:not(.tp-eyebrow) { font-size: 17px; }
.tp-editor-spotlight { background: #111019; border-top: 1px solid #262131; }
.tp-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tp-capabilities-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-capability { padding: 30px; border: 1px solid var(--tp-line); border-radius: 16px; background: linear-gradient(145deg, #1a1925, #121219); scroll-margin-top: 100px; }
.tp-capability h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.35; margin: 18px 0 13px; word-break: keep-all; }
.tp-capability p { font-size: 15px; margin: 0; }
.tp-number { color: #b5a1ff; font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.tp-capability .tp-tool-labels { color: #b5a1ff; font-size: 12px; margin-top: 24px; border-top: 1px solid var(--tp-line); padding-top: 17px; }
.tp-toolkit { background: #0b0b12; }
.tp-tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tp-tool-card { border: 1px solid var(--tp-line); background: #14141f; border-radius: 15px; overflow: hidden; }
.tp-tool-card > img { width: 100%; height: 184px; object-fit: cover; object-position: center 37%; display: block; }
.tp-tool-card > div { padding: 23px; }
.tp-tool-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 12px; }
.tp-tool-card p { font-size: 14px; margin: 0; }
.tp-note { font-size: 13px; margin: 25px 0 0 !important; color: #989aaf !important; }
.tp-workflow { background: #12121c; }
.tp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.tp-steps article { border-top: 1px solid #464056; padding-top: 23px; }
.tp-steps h3 { font-size: 21px; line-height: 1.45; margin: 14px 0 12px; }
.tp-steps p { font-size: 15px; }
.tp-detail-link { background: linear-gradient(110deg, #231b36, #12131e); }
.tp-detail-link .tp-button { margin-top: 24px; }
.tp-faq { background: #0e0e16; }
.tp-faq .tp-container { max-width: 900px; }
.tp-faq details { padding: 23px 0; border-bottom: 1px solid var(--tp-line); }
.tp-faq summary { cursor: pointer; font-size: 18px; line-height: 1.5; font-weight: 600; }
.tp-faq details p { margin: 18px 0 0; max-width: 760px; }
.tp-final-cta { background: radial-gradient(ellipse at bottom, #37204c, #101019 72%); text-align: center; }
.tp-final-cta .tp-button { margin-top: 28px; }
.tp-header { position: sticky; top: 0; z-index: 50; background: #0b0b12f5; border-bottom: 1px solid var(--tp-line); }
.tp-detail-nav { display: flex; gap: 28px; align-items: center; min-height: 78px; }
.tp-detail-nav a, .tp-footer a { color: #e1dced; text-decoration: none; font-size: 14px; }
.tp-detail-nav .tp-brand { margin-right: auto; }
.tp-brand img { width: 108px; height: auto; display: block; }
.tp-detail-nav select { padding: 10px 30px 10px 12px; border: 1px solid #484050; border-radius: 7px; background: #191521; color: #eee; font: inherit; font-size: 14px; max-width: 160px; }
.tp-detail-page .tp-hero { padding-top: 70px; }
.tp-detail-page .tp-hero h1 { font-size: clamp(40px, 4.7vw, 64px); }
.tp-download { text-align: center; background: #0f1019; }
.tp-stores { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.tp-stores img { width: 180px; height: auto; display: block; }
.tp-footer { text-align: center; padding: 45px 0; border-top: 1px solid var(--tp-line); }
.tp-footer .tp-brand { font-size: 28px; font-weight: 800; color: white; }
.tp-footer p { color: #9393a9; font-size: 13px; margin: 12px 0; }
[data-tova-page] a:focus-visible, [data-tova-page] button:focus-visible, [data-tova-page] select:focus-visible, [data-tova-page] summary:focus-visible { outline: 3px solid #d1beff; outline-offset: 5px; }
[data-tova-page="home"] .nav-links { gap: 22px; }
[data-tova-page="home"] .nav-links a { font-size: 14px; }
[data-tova-page="home"] .nav-container { max-width: 1280px; }
#download, #creative-tools, #editor-features { scroll-margin-top: 85px; }
@media (max-width: 1100px) {
    .tp-capabilities-preview, .tp-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-hero-grid { gap: 35px; }
    [data-tova-page="home"] .mobile-menu-toggle { display: block; }
    [data-tova-page="home"] .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #111019; flex-direction: column; align-items: stretch; padding: 22px 28px; gap: 15px; max-height: calc(100dvh - 80px); overflow-y: auto; }
    [data-tova-page="home"] .nav-links.active { display: flex; }
    [data-tova-page="home"] .nav-links a { display: block; }
    [data-tova-page="home"] .language-selector { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 700px) {
    .tp-container { width: calc(100% - 36px); }
    .tp-hero { padding: 118px 0 44px; }
    .tp-hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .tp-hero h1 { font-size: 48px; }
    .tp-hero .tp-lead { font-size: 17px; }
    .tp-art { max-width: 340px; }
    .tp-hero-tags { margin-top: 25px; gap: 9px; font-size: 9px; }
    .tp-hero-tags span + span::before { margin-right: 9px; }
    .tp-section { padding: 58px 0; }
    .tp-capabilities { grid-template-columns: 1fr; }
    .tp-capability { padding: 26px; }
    .tp-tools-grid { gap: 12px; }
    .tp-tool-card > img { height: 145px; }
    .tp-tool-card > div { padding: 17px; }
    .tp-tool-card h3 { font-size: 17px; }
    .tp-tool-card p { font-size: 13px; }
    .tp-steps { grid-template-columns: 1fr; gap: 25px; }
    .tp-detail-nav { gap: 14px; flex-wrap: wrap; padding-block: 14px; }
    .tp-detail-nav a:not(.tp-brand) { font-size: 12px; }
    .tp-detail-nav select { font-size: 12px; padding: 8px; }
    .tp-detail-nav .tp-brand { flex-basis: 100%; }
    .tp-detail-nav .tp-brand img { width: 84px; }
    .tp-detail-page .tp-hero { padding-top: 45px; }
}
@media (max-width: 380px) {
    .tp-hero h1 { font-size: 40px; }
    .tp-tools-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    [data-tova-page] *, [data-tova-page] *::before, [data-tova-page] *::after { animation: none !important; transition: none !important; }
}
.tp-tool-card h3 { word-break: keep-all; overflow-wrap: break-word; }
.tp-section p { word-break: keep-all; overflow-wrap: break-word; }
[data-tova-page="home"] .nav-links .download { color: #052a20; font-weight: 700; }
