@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f2f4f1;
    --bg-soft: #e9ede8;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #ffffff;
    --surface-muted: rgba(250, 252, 250, 0.86);
    --text: #16201b;
    --muted: #5a6760;
    --line: rgba(22, 32, 27, 0.14);
    --line-strong: rgba(22, 32, 27, 0.24);
    --accent: #0f5f4a;
    --accent-strong: #0b4938;
    --accent-soft: #e2efe9;
    --success: #177546;
    --danger: #b42333;
    --warning: #9a5d12;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 8px 24px rgba(12, 24, 18, 0.06);
    --shadow-md: 0 20px 45px rgba(12, 24, 18, 0.1);
    --shadow-lg: 0 32px 70px rgba(12, 24, 18, 0.16);
    --backdrop: blur(14px) saturate(130%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
}

body::before {
    width: 420px;
    height: 420px;
    left: -140px;
    top: -120px;
    background: rgba(15, 95, 74, 0.1);
}

body::after {
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -120px;
    background: rgba(92, 111, 101, 0.12);
}

::selection {
    background: rgba(15, 95, 74, 0.2);
    color: var(--text);
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.heroicon {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(242, 244, 241, 0.82);
    backdrop-filter: var(--backdrop);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.28s ease, background-color 0.28s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(247, 249, 246, 0.9);
}

.navbar {
    padding: 0.95rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.nav-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.2px;
    font-family: 'Fraunces', Georgia, serif;
}

.nav-brand {
    font-size: 1.35rem;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: contain;
    box-shadow: 0 6px 14px rgba(14, 22, 18, 0.18);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.24s ease, background-color 0.24s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
    outline: none;
}

.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 20, 16, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn,
.error-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border-radius: 999px;
    padding: 0.74rem 1.3rem;
    font-weight: 700;
    font-size: 0.93rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.btn:hover,
.error-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(14, 24, 20, 0.1);
}

.btn-primary,
.error-btn-primary {
    background: var(--accent);
    color: #f6fffb;
    border-color: var(--accent);
}

.btn-primary:hover,
.error-btn-primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.btn-secondary,
.error-btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border-color: var(--line);
}

.btn-secondary:hover,
.error-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.96);
}

.btn-large {
    padding: 0.9rem 1.7rem;
    font-size: 0.97rem;
}

.btn:focus-visible,
.error-btn:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.upload-btn,
.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #f6fffb;
    border-radius: 999px;
    padding: 0.68rem 1.14rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.upload-btn:hover,
.convert-btn:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(12, 24, 18, 0.12);
}

section {
    padding: clamp(3.4rem, 7vw, 6rem) 0;
}

section.hero {
    padding: 4.4rem 0 3.8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.preview-section .section-header,
.file-list-section .section-header,
.archive-info .info-header {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.preview-section .section-header h2,
.file-list-section .section-header h3 {
    margin: 0;
}

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.8rem, 3.8vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.2px;
    margin-bottom: 0.72rem;
    color: var(--text);
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4.2rem);
}

.hero-text {
    flex: 1 1 56%;
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 5.4vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: 0.2px;
    margin-bottom: 1.1rem;
    color: var(--text);
}

.gradient-text {
    color: var(--accent);
}

.hero-description {
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.78rem;
    margin: 1.65rem 0 1.95rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat {
    min-width: 132px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.78rem 1rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--backdrop);
}

.stat-number {
    display: block;
    font-size: 1.45rem;
    line-height: 1.08;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
}

.hero-image {
    flex: 1 1 44%;
    display: flex;
    justify-content: center;
}

.hero-banner {
    width: min(370px, 100%);
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 999px;
    background: rgba(15, 95, 74, 0.08);
    filter: blur(1px);
}

.shape-1 {
    width: 260px;
    height: 260px;
    top: 8%;
    left: -70px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    right: 6%;
    top: 14%;
}

.shape-3 {
    width: 180px;
    height: 180px;
    left: 25%;
    bottom: -60px;
}

.online-tools,
.features,
.formats,
.download,
.faq-section,
.features-info,
.upload-section,
.preview-section,
.settings-section,
.pdf-settings,
.editor-section,
.file-list-section,
.settings-panel,
.archive-info,
.progress-section,
.legal-section,
.tool-tabs,
.tab-content.active,
.error-container {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--backdrop);
    box-shadow: var(--shadow-sm);
}

.online-tools,
.features,
.formats,
.download,
.faq-section {
    padding: clamp(2.2rem, 5vw, 3rem);
    margin-top: 1.6rem;
}

.tools-grid,
.features-grid,
.formats-grid,
.settings-grid,
.settings-row,
.files-grid,
.images-grid,
.templates-grid,
.footer-content,
.download-content,
.archive-details,
.features-info .features-grid,
.error-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tool-card,
.feature-card,
.feature-item,
.format-item,
.file-card,
.image-card,
.template-card,
.legal-subsection,
.legal-list-item,
.legal-restriction-item,
.faq-item,
.detail-item,
.archive-file-item,
.error-feature {
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.tool-card,
.feature-card,
.feature-item,
.template-card,
.error-feature {
    padding: 1.25rem;
}

.tool-card,
.feature-card,
.feature-item,
.format-item,
.file-card,
.image-card,
.template-card,
.faq-item,
.error-feature,
.archive-file-item {
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.tool-card:hover,
.feature-card:hover,
.feature-item:hover,
.format-item:hover,
.file-card:hover,
.image-card:hover,
.template-card:hover,
.faq-item:hover,
.error-feature:hover,
.archive-file-item:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 95, 74, 0.34);
    box-shadow: var(--shadow-sm);
}

.tool-card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 260px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.82rem;
}

.tool-icon,
.feature-icon,
.feature-item > .heroicon,
.format-item > .heroicon,
.page-title > .heroicon,
.download-feature .heroicon,
.error-feature-icon {
    display: none;
}

.tool-title,
.feature-title,
.download-title,
.faq-title,
.page-title,
.error-title,
.editor-header h2,
.settings-panel h3,
.pdf-settings h3,
.features-info h2,
.legal-heading,
.error-feature-title {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0.1px;
}

.tool-title {
    font-size: 1.2rem;
}

.tool-description,
.feature-description,
.feature-item p,
.download-description,
.page-description,
.page-subtitle,
.legal-text,
.error-description,
.footer-description,
.faq-subtitle,
.faq-answer-content,
.setting-hint {
    color: var(--muted);
}

.tool-features,
.download-features,
.upload-buttons,
.preview-controls,
.file-controls,
.editor-controls,
.decrypt-actions,
.hero-buttons,
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.58rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.tool-link {
    margin-top: auto;
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.tool-link:hover {
    color: var(--accent-strong);
}

.features-grid {
    margin-top: 0.8rem;
}

.feature-card,
.feature-item {
    flex: 1 1 calc(33.333% - 0.67rem);
    min-width: 230px;
}

.feature-title,
.feature-item h3 {
    font-size: 1.18rem;
    margin-bottom: 0.38rem;
}

.formats-grid {
    justify-content: center;
}

.format-item {
    flex: 1 1 calc(16.66% - 0.84rem);
    min-width: 120px;
    min-height: 78px;
    padding: 1rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.download {
    margin-bottom: 1.8rem;
}

.download-content {
    align-items: stretch;
}

.download-text,
.download-image {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 280px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
}

.download-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.download-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-logo,
.download-banner,
.promotion-banner {
    width: min(320px, 100%);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.app-promotion {
    margin: 1.25rem 0;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.promotion-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.promotion-text {
    flex: 1 1 320px;
}

.promotion-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin: 0.75rem 0;
}

.promotion-image {
    flex: 1 1 220px;
    display: flex;
    justify-content: center;
}

.main-content,
.main {
    min-height: 100vh;
    padding-top: calc(78px + 1.4rem);
    padding-bottom: 1.4rem;
}

.page-header {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 1.35rem;
}

.page-title {
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.page-subtitle,
.page-description {
    max-width: 760px;
    margin: 0 auto;
}

.page-meta {
    margin-top: 1rem;
}

.page-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-size: 0.85rem;
    padding: 0.35rem 0.82rem;
}

.upload-area,
.upload-zone {
    border: 1.5px dashed rgba(15, 95, 74, 0.32);
    border-radius: var(--radius-md);
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem) 1.1rem;
    background: rgba(255, 255, 255, 0.62);
    transition: border-color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.upload-area:hover,
.upload-zone:hover,
.upload-zone.drag-over,
.upload-area.drag-over,
.file-upload-area:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.92);
}

.upload-content .heroicon-cloud-arrow-up,
.upload-content .heroicon-archive-box,
.upload-zone .heroicon,
.file-upload-area .heroicon,
.file-upload-area i {
    width: 2.8rem;
    height: 2.8rem;
    color: var(--accent);
    margin-bottom: 0.7rem;
}

.upload-content h3,
.upload-zone h3,
.file-upload-area h3 {
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
}

.upload-content p,
.upload-zone p,
.file-upload-area p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.file-upload-area {
    border: 1.5px dashed rgba(15, 95, 74, 0.32);
    border-radius: var(--radius-md);
    padding: 1.45rem 1rem;
    background: rgba(255, 255, 255, 0.64);
    transition: border-color 0.24s ease, background-color 0.24s ease;
}

.tool-tabs {
    width: fit-content;
    margin: 0 auto 1.2rem;
    padding: 0.35rem;
    border-radius: 999px;
}

.tab-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tab-btn.active {
    background: var(--accent);
    color: #f4fff9;
}

.tab-content {
    display: none;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}

.tab-content.active {
    display: block;
}

.preview-section,
.settings-section,
.pdf-settings,
.editor-section,
.file-list-section,
.settings-panel,
.archive-info,
.progress-section,
.features-info,
.templates-section {
    padding: 1.2rem;
    margin-bottom: 1.15rem;
}

.section-header h2,
.section-header h3,
.info-header h3,
.archive-contents h4,
.settings-section h3,
.pdf-settings h3,
.settings-panel h3,
.templates-section h3 {
    color: var(--text);
    font-family: 'Fraunces', Georgia, serif;
}

.images-grid {
    margin-top: 0.6rem;
}

.image-card {
    width: clamp(170px, 23%, 226px);
    overflow: hidden;
    position: relative;
}

.image-preview {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.7rem;
}

.image-name,
.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.image-order {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--accent);
    color: #f6fffb;
}

.files-grid {
    margin-top: 0.8rem;
}

.file-card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 240px;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.file-icon,
.file-icon-anim,
.zip-icon-anim {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 95, 74, 0.11);
    color: var(--accent);
}

.file-info {
    min-width: 0;
    flex: 1;
}

.file-size,
.progress-details,
.label,
.value {
    font-size: 0.84rem;
    color: var(--muted);
}

.remove-btn,
.remove-file-btn {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: #d95261;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.24s ease;
}

.remove-btn:hover,
.remove-file-btn:hover {
    background: #bc2f40;
}

.settings-grid .setting-item,
.settings-row .setting-group,
.template-selector,
.setting-item,
.setting-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
}

.setting-item label,
.setting-group label,
.template-selector label,
.password-prompt h4,
.footer-title,
.legal-subheading,
.legal-list-title {
    font-weight: 700;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.64rem 0.74rem;
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.ql-toolbar button:focus-visible,
.ql-picker-label:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 95, 74, 0.12);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--accent);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
}

.checkbox-label input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: #f5fffa;
    font-size: 0.72rem;
    font-weight: 800;
}

.action-section {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.archive-details {
    margin: 0.9rem 0;
}

.detail-item {
    flex: 1 1 calc(33.333% - 0.67rem);
    min-width: 170px;
    padding: 0.76rem;
    display: flex;
    justify-content: space-between;
    gap: 0.55rem;
    align-items: center;
}

.archive-file-item {
    padding: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.52rem;
}

.archive-file-item:last-child {
    margin-bottom: 0;
}

.archive-files-list {
    max-height: 280px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.encrypted-info,
.decrypt-password,
.legal-subsection,
.legal-list-item,
.legal-restriction-item {
    padding: 0.95rem;
}

.encrypted-info {
    border: 1px solid rgba(154, 93, 18, 0.28);
    background: rgba(255, 247, 233, 0.9);
}

.encryption-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffe4b8;
    color: #7e4b0c;
    border: 1px solid rgba(154, 93, 18, 0.28);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.decrypt-notice {
    margin-top: 0.8rem;
    padding: 0.62rem;
    border-radius: 10px;
    background: rgba(255, 239, 211, 0.88);
    color: #7e4b0c;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.progress-header span {
    font-weight: 800;
    color: var(--accent);
}

.progress-bar {
    height: 9px;
    border-radius: 999px;
    background: rgba(15, 95, 74, 0.14);
    overflow: hidden;
    margin: 0.65rem 0;
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.24s ease;
}

.text-progress {
    text-align: center;
    margin: 0.75rem 0;
}

.progress-text {
    min-height: 1.5rem;
    color: var(--text);
    font-size: 1.02rem;
    font-family: 'Fraunces', Georgia, serif;
}

.progress-text span {
    display: inline-block;
    opacity: 0.45;
    color: var(--muted);
    transition: opacity 0.25s ease, color 0.25s ease;
}

.progress-text span.filled {
    color: var(--accent);
    opacity: 1;
}

.file-animation {
    margin-top: 1rem;
}

.processing-files {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.arrow-anim {
    color: var(--accent);
    animation: slideRight 1.35s ease-in-out infinite;
}

.file-icon-anim,
.zip-icon-anim {
    animation: pulse 1.8s ease-in-out infinite;
}

.heroicon-spin {
    animation: spin 1s linear infinite;
}

.faq-section {
    margin-top: 1.7rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.3rem;
}

.faq-title {
    font-size: clamp(1.55rem, 3.2vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    text-align: left;
    padding: 0.95rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-question:hover,
.faq-question.active {
    background: rgba(226, 239, 233, 0.92);
    color: var(--accent-strong);
}

.faq-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: rgba(255, 255, 255, 0.6);
}

.faq-answer.active {
    max-height: 480px;
}

.faq-answer-content {
    padding: 0.85rem 1rem 1rem;
}

.faq-answer-content p {
    margin-bottom: 0.6rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-highlight {
    color: var(--accent-strong);
    font-weight: 700;
}

.faq-app-link,
.legal-link,
.contact-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.24s ease;
}

.faq-app-link:hover,
.legal-link:hover,
.contact-link:hover {
    color: var(--accent-strong);
}

.footer {
    background: #101915;
    color: #d2dad6;
    margin-top: 1.8rem;
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-section {
    flex: 1 1 240px;
    min-width: 210px;
}

.footer-brand {
    color: #f6fffb;
    font-size: 1.3rem;
    margin-bottom: 0.62rem;
}

.footer-title {
    color: #f6fffb;
    margin-bottom: 0.65rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.42rem;
}

.footer-links a {
    text-decoration: none;
    color: #b8c4be;
    transition: color 0.24s ease;
}

.footer-links a:hover {
    color: #f6fffb;
}

.contact-link {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #d5f4e9;
}

.contact-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(214, 228, 220, 0.16);
    padding-top: 0.9rem;
    text-align: center;
    color: #9dadA5;
    font-size: 0.88rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 0.9rem;
    padding: 1.12rem;
}

.legal-heading {
    font-size: 1.3rem;
    margin-bottom: 0.62rem;
}

.legal-subheading,
.legal-list-title {
    margin-bottom: 0.32rem;
}

.legal-list-text {
    color: var(--muted);
}

.legal-list,
.legal-restrictions {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.legal-conclusion {
    background: rgba(226, 239, 233, 0.92);
}

.legal-emphasis {
    font-weight: 700;
    color: var(--accent-strong);
}

.message {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    max-width: min(420px, calc(100% - 2rem)) !important;
    border-radius: 14px !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 0.72rem 0.86rem !important;
    display: flex !important;
    gap: 0.52rem !important;
    align-items: center !important;
    z-index: 10000 !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    animation: slideInRight 0.28s ease !important;
    backdrop-filter: var(--backdrop);
}

.message.success {
    background: rgba(227, 246, 237, 0.94);
    color: #145e3a;
}

.message.error {
    background: rgba(253, 233, 236, 0.96);
    color: #8f1729;
}

.message.info {
    background: rgba(232, 240, 252, 0.95);
    color: #1f487d;
}

.message.warning {
    background: rgba(255, 244, 226, 0.95);
    color: #7d4a0f;
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
}

.error-container {
    width: min(700px, 100%);
    text-align: center;
    padding: clamp(1.6rem, 5vw, 2.8rem);
}

.error-code {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(4.8rem, 17vw, 7.8rem);
    line-height: 0.95;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.error-title {
    font-size: clamp(1.6rem, 4.2vw, 2.4rem);
    margin-bottom: 0.45rem;
}

.error-description {
    max-width: 52ch;
    margin: 0 auto 1rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.error-features {
    margin-top: 1rem;
}

.error-feature {
    flex: 1 1 calc(33.333% - 0.67rem);
    min-width: 150px;
}

.error-feature-desc {
    color: var(--muted);
    font-size: 0.82rem;
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.template-selector select {
    min-width: 220px;
}

#editor {
    border-radius: 0 0 14px 14px !important;
    border: 1px solid var(--line) !important;
    background: rgba(255, 255, 255, 0.9);
}

.ql-toolbar.ql-snow {
    border: 1px solid var(--line) !important;
    border-radius: 14px 14px 0 0;
    background: rgba(255, 255, 255, 0.84);
}

.ql-container.ql-snow {
    border: 1px solid var(--line) !important;
    border-top: none !important;
}

.template-card.selected {
    border-color: var(--accent);
    background: rgba(226, 239, 233, 0.92);
}

.template-card p {
    color: var(--muted);
}

.text-input-area textarea,
.text-input-area input {
    margin-bottom: 0.72rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.48s ease, transform 0.48s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes slideRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

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

@media (max-width: 1080px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .feature-card,
    .feature-item,
    .tool-card {
        flex-basis: calc(50% - 0.5rem);
    }

    .format-item {
        flex-basis: calc(33.333% - 0.67rem);
    }

    .download-text,
    .download-image,
    .file-card {
        flex-basis: 100%;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(1160px, calc(100% - 1.5rem));
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0.75rem;
        right: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.22rem;
        padding: 0.7rem;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: rgba(248, 250, 248, 0.96);
        backdrop-filter: var(--backdrop);
        box-shadow: var(--shadow-md);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease;
        z-index: 999;
        margin-left: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.78rem 0.9rem;
    }

    .hero {
        min-height: auto;
    }

    .tool-tabs {
        width: 100%;
        border-radius: 18px;
    }

    .tab-btn {
        flex: 1;
        justify-content: center;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.86rem;
    }

    .tab-content {
        padding: 0.95rem;
    }

    .settings-grid .setting-item,
    .settings-row .setting-group,
    .template-selector {
        min-width: 150px;
    }

    .template-selector select {
        min-width: 100%;
    }

    .message {
        right: 10px !important;
        top: 10px !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.4rem);
    }

    .section-title {
        font-size: clamp(1.55rem, 8vw, 2.05rem);
    }

    .feature-card,
    .feature-item,
    .tool-card,
    .format-item,
    .detail-item,
    .file-card,
    .error-feature {
        flex-basis: 100%;
        min-width: 0;
    }

    .page-header,
    .online-tools,
    .features,
    .formats,
    .download,
    .faq-section,
    .features-info,
    .settings-section,
    .preview-section,
    .pdf-settings,
    .editor-section,
    .file-list-section,
    .settings-panel,
    .archive-info,
    .progress-section,
    .legal-section,
    .tab-content.active {
        border-radius: 18px;
    }

    .hero-buttons,
    .upload-buttons,
    .preview-controls,
    .file-controls,
    .editor-controls,
    .decrypt-actions,
    .download-buttons {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons .btn,
    .upload-buttons .btn,
    .preview-controls .btn,
    .file-controls .btn,
    .editor-controls .btn,
    .decrypt-actions .btn,
    .download-buttons .btn,
    .error-actions .error-btn {
        width: 100%;
    }

    .image-card {
        width: calc(50% - 0.5rem);
    }

    .faq-question {
        font-size: 0.92rem;
    }

    .footer {
        padding-top: 2.1rem;
    }

    .footer-content {
        gap: 1.1rem;
    }
}

@media (max-width: 460px) {
    .image-card {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ===== 2026 Premium Editorial Redesign Overrides ===== */
:root {
    --bg: #ecefe9;
    --bg-soft: #e2e7df;
    --surface: rgba(248, 250, 246, 0.78);
    --surface-strong: #f9fbf7;
    --surface-muted: rgba(255, 255, 255, 0.82);
    --text: #152018;
    --muted: #58655d;
    --line: rgba(21, 32, 24, 0.15);
    --line-strong: rgba(21, 32, 24, 0.28);
    --accent: #0f5f4a;
    --accent-strong: #0b4637;
    --accent-soft: #deede6;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow-sm: 0 10px 30px rgba(12, 23, 16, 0.08);
    --shadow-md: 0 24px 56px rgba(12, 23, 16, 0.14);
    --backdrop: blur(16px) saturate(135%);
}

body {
    background:
        radial-gradient(70vw 60vh at 14% -8%, rgba(41, 104, 74, 0.12), transparent 70%),
        radial-gradient(58vw 58vh at 95% 8%, rgba(51, 76, 62, 0.12), transparent 72%),
        var(--bg);
}

.container {
    width: min(1240px, calc(100% - 3rem));
}

section {
    padding: clamp(4.8rem, 11vw, 8.4rem) 0;
}

.header {
    background: rgba(237, 241, 235, 0.7);
    border-bottom: 1px solid rgba(21, 32, 24, 0.1);
}

.navbar {
    padding: 1.1rem 0;
}

.nav-brand {
    font-size: 1.45rem;
    letter-spacing: 0.4px;
}

.nav-link {
    font-size: 0.94rem;
    letter-spacing: 0.15px;
}

.hero {
    min-height: calc(100vh - 84px);
    padding: clamp(4.4rem, 9vw, 7.2rem) 0 4.2rem;
}

.hero-editorial .hero-content {
    align-items: stretch;
    gap: clamp(2rem, 7vw, 6rem);
}

.hero-editorial .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 780px;
}

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1.1rem;
    padding: 0.35rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.77rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-editorial .hero-title {
    font-size: clamp(2.8rem, 8.6vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    margin-bottom: 1.45rem;
    color: #132019;
}

.hero-editorial .hero-description {
    max-width: 56ch;
    font-size: 1.08rem;
    line-height: 1.82;
    margin-bottom: 2.15rem;
}

.hero-editorial .hero-stats {
    margin-top: 0.3rem;
}

.hero-editorial .stat {
    min-width: 148px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
}

.hero-visual-stack {
    height: 100%;
    display: grid;
    align-content: center;
    gap: 1.1rem;
}

.hero-meta-card {
    padding: 1.3rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.hero-meta-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.18rem;
    margin-bottom: 0.38rem;
}

.hero-meta-card p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-editorial .hero-banner {
    width: min(420px, 100%);
    border-radius: 26px;
}

.narrative-block {
    position: relative;
    padding-top: clamp(5.2rem, 12vw, 9rem);
}

.narrative-layout {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 42%);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.narrative-intro {
    max-width: 620px;
}

.narrative-intro .section-title {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.narrative-intro .section-subtitle {
    margin: 0;
    max-width: 52ch;
    line-height: 1.8;
    font-size: 1.05rem;
}

.switcher {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: var(--backdrop);
    box-shadow: var(--shadow-sm);
}

.switcher-controls {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.switcher-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.24s ease;
}

.switcher-btn:hover {
    color: var(--text);
}

.switcher-btn.active {
    color: #f7fffb;
    background: var(--accent);
    border-color: var(--accent);
}

.switcher-content {
    min-height: 280px;
    position: relative;
}

.switcher-pane {
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.72);
}

.switcher-pane.active {
    display: block;
    animation: paneIn 0.38s ease;
}

.switcher-pane h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.switcher-pane p {
    color: var(--muted);
    margin-bottom: 0.85rem;
    line-height: 1.75;
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.panel-list li {
    position: relative;
    padding-left: 1.05rem;
    color: var(--text);
}

.panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.studio-shell {
    padding-top: clamp(4.8rem, 10vw, 8rem);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.studio-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--backdrop);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.studio-card .tool-title {
    margin-bottom: 0.45rem;
    font-size: 1.35rem;
}

.studio-card .tool-description {
    margin-bottom: 0.9rem;
    line-height: 1.7;
}

.studio-card .file-upload-area,
.studio-card .text-input-area {
    margin-top: auto;
}

.studio-card .file-upload-area {
    border-style: dashed;
    padding: 1.15rem;
}

.studio-card .file-upload-area p {
    margin-bottom: 0.65rem;
}

.text-input-area textarea {
    min-height: 110px;
    background: rgba(255, 255, 255, 0.82);
}

.studio-card .tool-link {
    margin-top: 0.85rem;
}

.formats .formats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
}

.formats .format-item {
    min-height: 98px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.lab-shell {
    padding-top: calc(86px + clamp(1.8rem, 4vw, 3rem));
}

.lab-hero {
    text-align: left;
    padding: clamp(1.6rem, 4vw, 2.3rem);
}

.lab-hero .page-title {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    line-height: 0.98;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.lab-hero .page-description {
    margin: 0;
    max-width: 58ch;
}

.process-story {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--backdrop);
    padding: 1.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
    margin-bottom: 1.05rem;
}

.story-track,
.story-display {
    display: grid;
    gap: 0.65rem;
}

.story-step {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.92rem;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
}

.story-step.active {
    border-color: rgba(15, 95, 74, 0.45);
    background: rgba(222, 237, 230, 0.9);
}

.story-index {
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.story-step h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    margin-bottom: 0.18rem;
}

.story-step p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.story-pane {
    display: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.75);
    min-height: 112px;
}

.story-pane.active {
    display: block;
    animation: paneIn 0.34s ease;
    opacity: 1 !important;
    transform: none !important;
}

.story-pane h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.story-pane p {
    color: var(--muted);
    line-height: 1.7;
}

.studio-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
}

.studio-main {
    min-width: 0;
}

.studio-aside {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.aside-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    padding: 0.95rem;
}

.aside-panel h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    margin-bottom: 0.38rem;
}

.aside-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.tool-tabs {
    margin-bottom: 1rem;
}

.tab-btn {
    font-size: 0.88rem;
    padding: 0.62rem 1.2rem;
}

.features-info .features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.features-info .feature-item {
    min-width: 0;
    border-radius: 16px;
}

.download-content {
    gap: 0.85rem;
}

.download-text,
.download-image {
    border-radius: 24px;
    padding: 1.5rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1;
}

.download-feature {
    padding: 0.62rem 0.76rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.download-feature span {
    color: var(--text);
    font-weight: 600;
    font-size: 0.93rem;
}

.faq-section {
    padding-top: clamp(3rem, 7vw, 5.2rem);
}

.faq-item {
    border-radius: 18px;
}

.faq-question {
    padding: 1rem 1.05rem;
    font-size: 0.96rem;
}

.footer {
    margin-top: 2.4rem;
}

.message {
    top: 14px !important;
    right: 14px !important;
}

@keyframes paneIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .hero-editorial .hero-title,
    .lab-hero .page-title,
    .narrative-intro .section-title,
    .download-title {
        line-height: 1.02;
    }

    .narrative-layout,
    .studio-layout,
    .process-story {
        grid-template-columns: 1fr;
    }

    .studio-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .formats .formats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-info .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .container {
        width: min(1240px, calc(100% - 1.5rem));
    }

    .hero-editorial .hero-title {
        font-size: clamp(2.4rem, 13vw, 4rem);
    }

    .hero-visual-stack {
        justify-items: center;
    }

    .switcher,
    .process-story,
    .tab-content,
    .studio-card,
    .upload-zone,
    .file-list-section,
    .settings-panel,
    .archive-info,
    .progress-section,
    .features-info,
    .download-text,
    .download-image,
    .faq-section,
    .page-header,
    .online-tools,
    .formats,
    .download {
        border-radius: 20px;
    }

    .studio-grid {
        grid-template-columns: 1fr;
    }

    .studio-aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    section {
        padding: clamp(3.6rem, 10vw, 5.5rem) 0;
    }

    .hero-editorial .hero-title {
        font-size: clamp(2.2rem, 15vw, 3.4rem);
    }

    .section-eyebrow,
    .hero-kicker {
        font-size: 0.7rem;
    }

    .switcher-btn,
    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .switcher-controls {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .formats .formats-grid,
    .features-info .features-grid {
        grid-template-columns: 1fr;
    }

    .tool-tabs {
        width: 100%;
        border-radius: 18px;
    }

    .story-step,
    .story-pane,
    .switcher-pane,
    .aside-panel,
    .studio-card {
        border-radius: 14px;
    }
}

/* ===== Pocket-inspired high-contrast language ===== */
.theme-pocket-like {
    background:
        radial-gradient(1200px 520px at 110% -20%, rgba(24, 101, 78, 0.33), transparent 60%),
        radial-gradient(1000px 520px at -20% 0%, rgba(245, 255, 250, 0.06), transparent 55%),
        #0f1412;
    color: #ecf1ed;
}

.theme-pocket-like::before,
.theme-pocket-like::after {
    display: none;
}

.theme-pocket-like .header {
    background: rgba(15, 20, 18, 0.76);
    border-bottom-color: rgba(237, 242, 239, 0.14);
}

.theme-pocket-like .header.scrolled {
    background: rgba(15, 20, 18, 0.88);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.theme-pocket-like .nav-brand,
.theme-pocket-like .footer-brand {
    color: #f4f8f6;
}

.theme-pocket-like .nav-link {
    color: rgba(236, 241, 237, 0.72);
}

.theme-pocket-like .nav-link:hover,
.theme-pocket-like .nav-link.active {
    color: #f6fbf8;
    background: rgba(236, 241, 237, 0.1);
    box-shadow: none;
}

.theme-pocket-like .hero {
    background: transparent;
    min-height: calc(100vh - 82px);
}

.theme-pocket-like .hero-kicker,
.theme-pocket-like .section-eyebrow {
    color: rgba(236, 241, 237, 0.72);
    border-color: rgba(236, 241, 237, 0.28);
    background: rgba(236, 241, 237, 0.06);
}

.theme-pocket-like .hero-title {
    color: #f2f7f4;
}

.theme-pocket-like .gradient-text {
    color: #64d3ae;
}

.theme-pocket-like .hero-description,
.theme-pocket-like .section-subtitle {
    color: rgba(236, 241, 237, 0.76);
}

.theme-pocket-like .hero-meta-card,
.theme-pocket-like .stat,
.theme-pocket-like .download-text,
.theme-pocket-like .download-image,
.theme-pocket-like .studio-card,
.theme-pocket-like .switcher,
.theme-pocket-like .process-story,
.theme-pocket-like .tab-content,
.theme-pocket-like .aside-panel,
.theme-pocket-like .upload-zone,
.theme-pocket-like .file-list-section,
.theme-pocket-like .settings-panel,
.theme-pocket-like .archive-info,
.theme-pocket-like .progress-section,
.theme-pocket-like .features-info,
.theme-pocket-like .faq-section,
.theme-pocket-like .formats {
    background: rgba(239, 244, 241, 0.94);
    color: #132018;
    border-color: rgba(14, 23, 18, 0.12);
}

.theme-pocket-like .hero-meta-card p,
.theme-pocket-like .tool-description,
.theme-pocket-like .feature-item p,
.theme-pocket-like .faq-subtitle,
.theme-pocket-like .faq-answer-content,
.theme-pocket-like .download-description,
.theme-pocket-like .story-step p,
.theme-pocket-like .story-pane p,
.theme-pocket-like .aside-panel p {
    color: #4d5d55;
}

.theme-pocket-like .hero-banner {
    border-color: rgba(236, 241, 237, 0.18);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

.theme-pocket-like .btn {
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.theme-pocket-like .btn-primary {
    background: #0f5f4a;
    border-color: #0f5f4a;
}

.theme-pocket-like .btn-primary:hover {
    background: #0c4a39;
    border-color: #0c4a39;
}

.theme-pocket-like .btn-secondary {
    background: rgba(15, 95, 74, 0.08);
    border-color: rgba(15, 95, 74, 0.2);
    color: #113428;
}

.theme-pocket-like .btn-secondary:hover {
    background: rgba(15, 95, 74, 0.14);
}

.theme-home .impact-marquee {
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.theme-home .impact-marquee-inner {
    border: 1px solid rgba(236, 241, 237, 0.16);
    border-radius: 28px;
    padding: clamp(1.8rem, 4.5vw, 3.4rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(16, 25, 21, 0.7);
    backdrop-filter: blur(6px);
}

.theme-home .impact-line {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 6.8vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.01em;
    color: #f0f6f3;
}

.theme-home .impact-line + .impact-line {
    margin-top: 0.8rem;
}

.theme-home .impact-line-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 246, 243, 0.5);
}

.theme-home .narrative-layout {
    grid-template-columns: 1fr 1fr;
}

.theme-home .switcher {
    border-radius: 28px;
}

.theme-home .switcher-controls {
    gap: 0.4rem;
}

.theme-home .switcher-btn {
    border-radius: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.theme-home .switcher-pane {
    border-radius: 16px;
    min-height: 280px;
}

.theme-home .studio-grid {
    gap: 0.9rem;
}

.theme-home .studio-card {
    border-radius: 20px;
    min-height: 300px;
}

.theme-home .formats .format-item {
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
}

.theme-workbench .lab-hero {
    background:
        linear-gradient(145deg, rgba(15, 95, 74, 0.9), rgba(8, 34, 27, 0.95));
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.theme-workbench .lab-hero .section-eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(245, 252, 248, 0.88);
}

.theme-workbench .lab-hero .page-title,
.theme-workbench .lab-hero .page-description {
    color: #f4fbf7;
}

.theme-workbench .process-story {
    background: rgba(16, 24, 20, 0.74);
    border-color: rgba(240, 246, 243, 0.2);
}

.theme-workbench .story-step,
.theme-workbench .story-pane {
    background: rgba(244, 249, 246, 0.95);
}

.theme-workbench .story-step.active {
    border-color: rgba(15, 95, 74, 0.6);
    box-shadow: inset 0 0 0 1px rgba(15, 95, 74, 0.26);
}

.theme-workbench .tool-tabs {
    border: 1px solid rgba(236, 241, 237, 0.14);
    background: rgba(12, 19, 16, 0.74);
}

.theme-workbench .tab-btn {
    color: rgba(236, 241, 237, 0.74);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.theme-workbench .tab-btn.active {
    background: #0f5f4a;
    color: #f4fff9;
}

.theme-workbench .tab-content {
    border-radius: 24px;
}

.theme-workbench .studio-layout {
    gap: 0.9rem;
}

.theme-workbench .studio-aside {
    position: sticky;
    top: 102px;
    align-self: start;
}

.theme-workbench .aside-panel {
    border-radius: 16px;
}

.theme-workbench .upload-zone {
    border-width: 2px;
}

.theme-workbench .upload-zone .upload-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-family: 'Fraunces', Georgia, serif;
}

.theme-workbench .upload-zone .upload-content p {
    font-size: 1rem;
}

.theme-workbench .feature-item {
    border-radius: 14px;
}

.theme-workbench .download {
    background: transparent;
}

.theme-workbench .download-title {
    font-size: clamp(1.8rem, 4.4vw, 3rem);
}

.theme-pocket-like .footer {
    background: #060b09;
}

@media (max-width: 1120px) {
    .theme-home .narrative-layout {
        grid-template-columns: 1fr;
    }

    .theme-workbench .studio-aside {
        position: static;
    }
}

@media (max-width: 860px) {
    .theme-pocket-like .header {
        background: rgba(12, 18, 16, 0.9);
    }

    .theme-pocket-like .nav-menu {
        background: rgba(11, 18, 15, 0.95);
        border-color: rgba(236, 241, 237, 0.2);
    }

    .theme-pocket-like .nav-link {
        color: rgba(236, 241, 237, 0.9);
    }

    .theme-pocket-like .nav-toggle {
        border-color: rgba(236, 241, 237, 0.24);
        background: rgba(236, 241, 237, 0.05);
    }

    .theme-pocket-like .nav-toggle span {
        background: rgba(236, 241, 237, 0.92);
    }
}

/* ===== 2026-02 Pocket-Inspired Editorial Refresh ===== */
.theme-pocket-like {
    --p-bg: #080808;
    --p-bg-soft: #0f0f0f;
    --p-panel: rgba(255, 255, 255, 0.04);
    --p-panel-strong: #111111;
    --p-line: rgba(255, 255, 255, 0.16);
    --p-line-soft: rgba(255, 255, 255, 0.08);
    --p-text: #f3f0ec;
    --p-muted: rgba(243, 240, 236, 0.66);
    --p-accent: #ef2f28;
    --p-accent-deep: #c1241f;
    --p-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}

body.theme-pocket-like {
    background: var(--p-bg);
    color: var(--p-text);
}

body.theme-pocket-like::before {
    width: 540px;
    height: 540px;
    left: -200px;
    top: -240px;
    background: rgba(239, 47, 40, 0.24);
    filter: blur(110px);
}

body.theme-pocket-like::after {
    width: 460px;
    height: 460px;
    right: -190px;
    bottom: -210px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(120px);
}

.theme-pocket-like .container {
    width: min(1240px, calc(100% - 3rem));
}

.theme-pocket-like .header {
    background: rgba(8, 8, 8, 0.78);
    border-bottom: 1px solid var(--p-line-soft);
    backdrop-filter: blur(14px);
}

.theme-pocket-like .header.scrolled {
    background: rgba(6, 6, 6, 0.9);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.46);
}

.theme-pocket-like .nav-brand,
.theme-pocket-like .footer-brand {
    color: var(--p-text);
}

.theme-pocket-like .nav-link {
    color: rgba(243, 240, 236, 0.72);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.theme-pocket-like .nav-link:hover,
.theme-pocket-like .nav-link:focus-visible {
    color: var(--p-text);
    background: rgba(255, 255, 255, 0.08);
}

.theme-pocket-like .nav-link.active {
    color: var(--p-text);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.theme-pocket-like .btn {
    border-radius: 11px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--p-text);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.theme-pocket-like .btn:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

.theme-pocket-like .btn-primary {
    background: var(--p-accent);
    border-color: var(--p-accent);
    color: #fff8f7;
}

.theme-pocket-like .btn-primary:hover {
    background: var(--p-accent-deep);
    border-color: var(--p-accent-deep);
}

.theme-pocket-like .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--p-line);
    color: var(--p-text);
}

.theme-pocket-like .section-eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--p-line);
    border-radius: 999px;
    padding: 0.36rem 0.86rem;
    color: rgba(243, 240, 236, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.theme-pocket-like .section-title {
    color: var(--p-text);
    font-family: 'Fraunces', Georgia, serif;
}

.theme-pocket-like .section-subtitle,
.theme-pocket-like .page-description {
    color: var(--p-muted);
}

.theme-home .hero-cinematic {
    min-height: calc(100vh - 76px);
    padding: clamp(5.4rem, 11vh, 8rem) 0 clamp(4.2rem, 9vh, 7rem);
    border-bottom: 1px solid var(--p-line-soft);
    background:
        radial-gradient(circle at 72% 22%, rgba(239, 47, 40, 0.19), transparent 44%),
        radial-gradient(circle at 22% 74%, rgba(255, 255, 255, 0.07), transparent 46%),
        #080808;
}

.theme-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(2rem, 5vw, 5.6rem);
    align-items: center;
}

.theme-home .hero-statement {
    position: relative;
    z-index: 3;
}

.theme-home .hero-kicker {
    color: rgba(243, 240, 236, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    margin-bottom: 1.35rem;
}

.theme-home .hero-title {
    font-size: clamp(2.7rem, 7.5vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    max-width: 10.6ch;
    margin-bottom: 1.36rem;
}

.theme-home .gradient-text {
    color: var(--p-accent);
}

.theme-home .hero-description {
    max-width: 52ch;
    font-size: clamp(1.03rem, 1.28vw, 1.24rem);
    margin-bottom: 2.1rem;
}

.theme-home .hero-buttons {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.theme-home .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.theme-home .stat {
    min-width: 150px;
    border-radius: 12px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.95rem 1.04rem;
    backdrop-filter: blur(3px);
}

.theme-home .stat-number {
    color: var(--p-text);
    font-size: 1.4rem;
}

.theme-home .stat-label {
    color: rgba(243, 240, 236, 0.58);
    font-size: 0.82rem;
}

.theme-home .hero-orbit {
    position: relative;
    min-height: 620px;
    display: grid;
    align-content: center;
    gap: 0.9rem;
}

.theme-home .orbital-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(76vw, 510px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.72;
    transform: translate(-50%, -50%);
    animation: orbitalDrift 26s linear infinite;
    pointer-events: none;
}

.theme-home .orbital-ring::before,
.theme-home .orbital-ring::after {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: inherit;
}

.theme-home .orbital-ring::after {
    inset: 23%;
    border-color: rgba(239, 47, 40, 0.3);
}

.theme-home .orbital-card {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: min(460px, 100%);
    border-radius: 14px;
    border: 1px solid var(--p-line);
    background: rgba(12, 12, 12, 0.82);
    padding: 1.2rem 1.25rem;
    box-shadow: var(--p-shadow);
}

.theme-home .orbital-card + .orbital-card {
    margin-top: 0.25rem;
}

.theme-home .orbital-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(243, 240, 236, 0.53);
    margin-bottom: 0.5rem;
}

.theme-home .orbital-card h3 {
    margin: 0 0 0.36rem;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-family: 'Fraunces', Georgia, serif;
    color: var(--p-text);
}

.theme-home .orbital-card p {
    margin: 0;
    color: rgba(243, 240, 236, 0.66);
}

.theme-home .orbital-media {
    padding: 0;
    overflow: hidden;
}

.theme-home .hero-banner {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: none;
}

.theme-home .manifesto {
    padding: clamp(5rem, 11vw, 8rem) 0;
}

.theme-home .manifesto-panel {
    border-radius: 20px;
    border: 1px solid var(--p-line);
    padding: clamp(2.3rem, 5vw, 4.2rem);
    background: rgba(12, 12, 12, 0.72);
    position: relative;
    overflow: hidden;
}

.theme-home .manifesto-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.04) 0px,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 18px
    );
    opacity: 0.35;
    pointer-events: none;
}

.theme-home .impact-line {
    font-size: clamp(2.3rem, 8vw, 8rem);
    line-height: 0.9;
    font-family: 'Fraunces', Georgia, serif;
    color: var(--p-text);
    letter-spacing: -0.02em;
}

.theme-home .impact-line + .impact-line {
    margin-top: 0.55rem;
}

.theme-home .impact-line-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(243, 240, 236, 0.64);
}

.theme-home .narrative-block {
    padding-top: clamp(4.2rem, 8vw, 6.8rem);
}

.theme-home .narrative-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.4rem, 3.4vw, 3rem);
}

.theme-home .narrative-intro {
    padding-right: clamp(0rem, 2vw, 1.4rem);
}

.theme-pocket-like .switcher {
    border-radius: 16px;
    border: 1px solid var(--p-line);
    background: rgba(12, 12, 12, 0.78);
    padding: 1rem;
}

.theme-pocket-like .switcher-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.theme-pocket-like .switcher-btn {
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(243, 240, 236, 0.72);
    border-radius: 10px;
    padding: 0.56rem 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-pocket-like .switcher-btn.active {
    color: #fff;
    background: var(--p-accent);
    border-color: var(--p-accent);
}

.theme-pocket-like .switcher-pane {
    display: none;
    border: 1px solid var(--p-line-soft);
    background:
        linear-gradient(152deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(10, 10, 10, 0.92);
    border-radius: 12px;
    min-height: 270px;
    padding: 1.16rem;
}

.theme-pocket-like .switcher-pane.active {
    display: block;
}

.theme-pocket-like .switcher-pane h3 {
    margin-bottom: 0.52rem;
    font-family: 'Fraunces', Georgia, serif;
    color: var(--p-text);
}

.theme-pocket-like .switcher-pane p {
    color: rgba(243, 240, 236, 0.84);
}

.theme-pocket-like .panel-list {
    color: rgba(243, 240, 236, 0.8);
}

.theme-pocket-like .panel-list {
    margin-top: 0.85rem;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.theme-pocket-like .panel-list li {
    color: inherit;
}

.theme-pocket-like .panel-list li::before {
    background: rgba(239, 47, 40, 0.9);
}

.theme-home .scroll-chapters {
    padding-top: clamp(5rem, 10vw, 9rem);
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.theme-home .chapter-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    align-items: start;
}

.theme-home .chapter-sticky {
    position: sticky;
    top: 94px;
    align-self: start;
    border: 1px solid var(--p-line);
    border-radius: 14px;
    background: rgba(10, 10, 10, 0.9);
    padding: 1.15rem;
}

.theme-home .chapter-sticky .section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin: 0.95rem 0 1.2rem;
}

.theme-home .chapter-pane {
    display: none;
    margin-top: 0.78rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--p-line-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    min-height: 126px;
}

.theme-home .chapter-pane.active {
    display: block;
    opacity: 1 !important;
    transform: none !important;
}

.theme-home .chapter-pane h3 {
    margin-bottom: 0.45rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.38rem, 2.2vw, 2rem);
    color: var(--p-text);
}

.theme-home .chapter-pane p {
    color: rgba(243, 240, 236, 0.78);
}

.theme-home .chapter-steps {
    display: grid;
    gap: 1rem;
}

.theme-home .chapter-step {
    min-height: min(44vh, 400px);
    border: 1px solid var(--p-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: clamp(1.2rem, 2vw, 1.8rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.58rem;
}

.theme-home .chapter-step h3,
.theme-home .chapter-step p,
.theme-home .chapter-step .story-index {
    transition: color 0.24s ease;
}

.theme-home .chapter-step .story-index {
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    color: rgba(243, 240, 236, 0.56);
}

.theme-home .chapter-step h3 {
    margin-top: 0.18rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    color: rgba(243, 240, 236, 0.76);
}

.theme-home .chapter-step p {
    max-width: 40ch;
    color: rgba(243, 240, 236, 0.68);
}

.theme-home .chapter-step.active {
    border-color: rgba(239, 47, 40, 0.52);
    background:
        linear-gradient(180deg, rgba(239, 47, 40, 0.1) 0%, rgba(239, 47, 40, 0.05) 45%, rgba(239, 47, 40, 0.02) 100%),
        rgba(12, 12, 12, 0.9);
}

.theme-home .chapter-step.active .story-index {
    color: rgba(243, 240, 236, 0.9);
}

.theme-home .chapter-step.active h3 {
    color: #fff;
}

.theme-home .chapter-step.active p {
    color: rgba(243, 240, 236, 0.82);
}

.theme-pocket-like .file-upload-area,
.theme-pocket-like .text-input-area {
    margin-top: 1rem;
    border: 1px dashed var(--p-line);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.theme-pocket-like .file-upload-area p {
    color: rgba(243, 240, 236, 0.68);
    margin-bottom: 0.7rem;
}

.theme-pocket-like .upload-btn,
.theme-pocket-like .convert-btn {
    border-radius: 10px;
    background: var(--p-accent);
    border-color: var(--p-accent);
}

.theme-pocket-like .upload-btn:hover,
.theme-pocket-like .convert-btn:hover {
    background: var(--p-accent-deep);
    border-color: var(--p-accent-deep);
}

.theme-pocket-like .text-input-area textarea {
    width: 100%;
    border: 1px solid var(--p-line);
    border-radius: 10px;
    min-height: 120px;
    padding: 0.75rem;
    margin-bottom: 0.72rem;
    color: var(--p-text);
    background: rgba(0, 0, 0, 0.45);
    resize: vertical;
}

.theme-pocket-like .tool-link {
    margin-top: 1rem;
    display: inline-block;
    color: rgba(243, 240, 236, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(243, 240, 236, 0.35);
    transition: border-color 0.2s ease;
}

.theme-pocket-like .tool-link:hover {
    border-color: rgba(243, 240, 236, 0.85);
}

.theme-pocket-like .formats {
    background: transparent;
}

.theme-pocket-like .formats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.72rem;
}

.theme-pocket-like .format-item {
    border-radius: 10px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem 0.6rem;
    text-align: center;
    color: rgba(243, 240, 236, 0.9);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.theme-pocket-like .download {
    padding-top: clamp(5rem, 10vw, 8rem);
}

.theme-pocket-like .download-content {
    border: 1px solid var(--p-line);
    border-radius: 18px;
    background: rgba(12, 12, 12, 0.82);
    overflow: hidden;
}

.theme-pocket-like .download-text,
.theme-pocket-like .download-image {
    background: transparent;
}

.theme-pocket-like .download-title {
    color: var(--p-text);
}

.theme-pocket-like .download-description,
.theme-pocket-like .download-feature span {
    color: var(--p-muted);
}

.theme-pocket-like .download-feature {
    border-bottom: 1px solid var(--p-line-soft);
}

.theme-pocket-like .footer {
    background: #060606;
    border-top: 1px solid var(--p-line-soft);
}

.theme-pocket-like .footer-title,
.theme-pocket-like .footer-description,
.theme-pocket-like .footer-bottom,
.theme-pocket-like .footer-links a,
.theme-pocket-like .contact-link {
    color: rgba(243, 240, 236, 0.75);
}

.theme-pocket-like .footer-links a:hover,
.theme-pocket-like .contact-link:hover {
    color: #fff;
}

.theme-workbench .lab-shell {
    padding-top: clamp(3.2rem, 6vw, 5rem);
}

.theme-workbench .lab-hero-cinematic {
    border: 1px solid var(--p-line);
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 1.1rem;
    background:
        radial-gradient(circle at 18% 20%, rgba(239, 47, 40, 0.22), transparent 46%),
        rgba(11, 11, 11, 0.92);
}

.theme-workbench .lab-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: end;
}

.theme-workbench .lab-hero-cinematic .page-title {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--p-text);
}

.theme-workbench .lab-hero-cinematic .page-description {
    margin: 0;
    max-width: 50ch;
    color: var(--p-muted);
}

.theme-workbench .lab-meta-strip {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme-workbench .lab-meta-strip span {
    border: 1px solid var(--p-line);
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    font-size: 0.73rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(243, 240, 236, 0.85);
}

.theme-workbench .process-story {
    border-radius: 16px;
    border: 1px solid var(--p-line);
    background: rgba(11, 11, 11, 0.84);
    padding: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.9rem;
}

.theme-workbench .story-display {
    position: sticky;
    top: 100px;
    align-self: start;
}

.theme-workbench .story-pane {
    display: none;
    border: 1px solid var(--p-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.05rem;
}

.theme-workbench .story-pane.active {
    display: block;
    opacity: 1 !important;
    transform: none !important;
}

.theme-workbench .story-pane h4 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.2rem, 2vw, 1.74rem);
    color: var(--p-text);
    font-family: 'Fraunces', Georgia, serif;
}

.theme-workbench .story-pane p {
    color: var(--p-muted);
}

.theme-workbench .story-track {
    display: grid;
    gap: 0.75rem;
}

.theme-workbench .story-step {
    border: 1px solid var(--p-line);
    border-radius: 12px;
    padding: 1.06rem;
    background: rgba(255, 255, 255, 0.03);
}

.theme-workbench .story-step .story-index {
    color: rgba(243, 240, 236, 0.56);
}

.theme-workbench .story-step h3 {
    margin-top: 0.24rem;
    color: rgba(243, 240, 236, 0.78);
}

.theme-workbench .story-step p {
    color: rgba(243, 240, 236, 0.58);
}

.theme-workbench .story-step.active {
    border-color: rgba(239, 47, 40, 0.55);
    background: rgba(239, 47, 40, 0.09);
}

.theme-workbench .story-step.active h3,
.theme-workbench .story-step.active p,
.theme-workbench .story-step.active .story-index {
    color: #fff;
}

.theme-workbench .tool-tabs {
    margin-top: 1.05rem;
    border: 1px solid var(--p-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem;
}

.theme-workbench .tab-btn {
    border-radius: 9px;
    color: rgba(243, 240, 236, 0.72);
    letter-spacing: 0.07em;
    font-weight: 800;
}

.theme-workbench .tab-btn.active {
    color: #fff;
    background: var(--p-accent);
}

.theme-workbench .tab-content {
    margin-top: 0.95rem;
    border: 1px solid var(--p-line);
    border-radius: 16px;
    background: rgba(11, 11, 11, 0.86);
}

.theme-workbench .studio-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.95rem;
}

.theme-workbench .studio-aside {
    position: sticky;
    top: 102px;
    align-self: start;
}

.theme-workbench .aside-panel {
    border-radius: 12px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.03);
}

.theme-workbench .aside-panel h3 {
    color: var(--p-text);
}

.theme-workbench .aside-panel p {
    color: var(--p-muted);
}

.theme-workbench .upload-zone,
.theme-workbench .file-list-section,
.theme-workbench .settings-panel,
.theme-workbench .archive-info,
.theme-workbench .features-info,
.theme-workbench .faq-section,
.theme-workbench .progress-section {
    border-radius: 12px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--p-text);
}

.theme-workbench .upload-zone {
    border-style: dashed;
}

.theme-workbench .upload-zone.drag-over {
    border-color: var(--p-accent);
    background: rgba(239, 47, 40, 0.08);
}

.theme-workbench .upload-content h3,
.theme-workbench .settings-panel h3,
.theme-workbench .features-info h2,
.theme-workbench .archive-info h3,
.theme-workbench .faq-title,
.theme-workbench .download-title {
    color: var(--p-text);
}

.theme-workbench .upload-content p,
.theme-workbench .setting-hint,
.theme-workbench .faq-subtitle,
.theme-workbench .download-description,
.theme-workbench .feature-item p,
.theme-workbench .archive-info .label,
.theme-workbench .archive-info .value,
.theme-workbench .progress-details {
    color: var(--p-muted);
}

.theme-workbench .setting-group input,
.theme-workbench .setting-group select,
.theme-workbench .password-input-wrapper input,
.theme-workbench .decrypt-password input {
    background: rgba(8, 8, 8, 0.68);
    color: var(--p-text);
    border: 1px solid var(--p-line);
}

.theme-workbench .setting-group label,
.theme-workbench .checkbox-label,
.theme-workbench .detail-item .label {
    color: rgba(243, 240, 236, 0.88);
}

.theme-workbench .password-toggle {
    border-color: var(--p-line);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(243, 240, 236, 0.82);
}

.theme-workbench #decryptPasswordHint {
    background: rgba(239, 47, 40, 0.08);
    border: 1px solid rgba(239, 47, 40, 0.45);
}

.theme-workbench #decryptPasswordHint small {
    color: rgba(255, 220, 218, 0.94);
}

.theme-workbench .file-card,
.theme-workbench .feature-item,
.theme-workbench .archive-file-item,
.theme-workbench .faq-item {
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.03);
}

.theme-workbench .file-name,
.theme-workbench .detail-item .value,
.theme-workbench .faq-question,
.theme-workbench .feature-item h3,
.theme-workbench .download-feature span {
    color: var(--p-text);
}

.theme-workbench .faq-question {
    background: transparent;
}

.theme-workbench .faq-answer-content {
    color: var(--p-muted);
}

.theme-workbench .progress-bar {
    background: rgba(255, 255, 255, 0.08);
}

.theme-workbench .progress-fill {
    background: linear-gradient(90deg, var(--p-accent), #ff7a73);
}

.theme-workbench .message {
    border: 1px solid var(--p-line);
    background: rgba(8, 8, 8, 0.94);
    color: var(--p-text);
}

.theme-workbench .message.success {
    border-color: rgba(76, 211, 127, 0.64);
}

.theme-workbench .message.error {
    border-color: rgba(239, 47, 40, 0.62);
}

.theme-workbench .message.info {
    border-color: rgba(109, 188, 255, 0.62);
}

@keyframes orbitalDrift {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .theme-home .hero-grid,
    .theme-home .narrative-layout,
    .theme-home .chapter-layout,
    .theme-workbench .lab-intro-grid,
    .theme-workbench .process-story,
    .theme-workbench .studio-layout {
        grid-template-columns: 1fr;
    }

    .theme-home .hero-orbit {
        min-height: 0;
    }

    .theme-home .orbital-card {
        width: 100%;
    }

    .theme-home .chapter-sticky,
    .theme-workbench .story-display,
    .theme-workbench .studio-aside {
        position: static;
    }

    .theme-home .atelier-grid .studio-card,
    .theme-home .atelier-grid .studio-card:nth-child(1),
    .theme-home .atelier-grid .studio-card:nth-child(2),
    .theme-home .atelier-grid .studio-card:nth-child(3),
    .theme-home .atelier-grid .studio-card:nth-child(4) {
        grid-column: span 6;
    }
}

@media (max-width: 860px) {
    .theme-pocket-like .container {
        width: min(1240px, calc(100% - 1.4rem));
    }

    .theme-pocket-like .header {
        background: rgba(7, 7, 7, 0.92);
    }

    .theme-pocket-like .nav-menu {
        background: rgba(7, 7, 7, 0.97);
        border-color: var(--p-line);
    }

    .theme-pocket-like .nav-toggle {
        border-color: var(--p-line);
        background: rgba(255, 255, 255, 0.05);
    }

    .theme-pocket-like .nav-toggle span {
        background: rgba(243, 240, 236, 0.92);
    }

    .theme-home .hero-title {
        max-width: 12ch;
    }

    .theme-home .formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-pocket-like .switcher-controls {
        grid-template-columns: 1fr;
    }

    .theme-home .chapter-step {
        min-height: 320px;
    }
}

/* ===== 2026-02 Scroll-Driven Narrative Layer ===== */
.theme-home [data-scroll-scrub] {
    will-change: transform, opacity;
    transform-origin: center center;
    backface-visibility: hidden;
}

.theme-home .reel-section {
    --reel-progress: 0;
    position: relative;
    margin: clamp(5rem, 11vw, 9rem) 0 clamp(4.4rem, 10vw, 8rem);
}

.theme-home .reel-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 1.2rem;
    overflow: hidden;
}

.theme-home .reel-header {
    margin-bottom: 0.3rem;
}

.theme-home .reel-header .section-title {
    max-width: 14ch;
    margin: 0.85rem 0 0.52rem;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 0.93;
}

.theme-home .reel-header .section-subtitle {
    max-width: 56ch;
    margin: 0;
}

.theme-home .reel-meter {
    width: min(460px, 100%);
    margin-top: 0.95rem;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.theme-home .reel-meter span {
    display: block;
    height: 100%;
    width: calc(var(--reel-progress) * 100%);
    border-radius: inherit;
    background: linear-gradient(90deg, #ef2f28 0%, #ff8f76 100%);
    transition: width 0.12s linear;
}

.theme-home .reel-window {
    width: 100%;
    overflow: hidden;
    padding: 0 clamp(1.4rem, 4vw, 3rem);
}

.theme-home .reel-track {
    display: flex;
    align-items: stretch;
    gap: 0.95rem;
    width: max-content;
    transform: translate3d(0, 0, 0);
    transform-origin: left center;
    will-change: transform;
}

.theme-home .reel-card {
    flex: 0 0 clamp(320px, 34vw, 460px);
    min-height: clamp(290px, 58vh, 500px);
    border-radius: 16px;
    border: 1px solid var(--p-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(9, 9, 9, 0.88);
    padding: clamp(1rem, 1.8vw, 1.45rem);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    opacity: 0.68;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.26s ease, transform 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.theme-home .reel-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    border-color: rgba(239, 47, 40, 0.55);
    background:
        linear-gradient(145deg, rgba(239, 47, 40, 0.18), rgba(239, 47, 40, 0.04)),
        rgba(9, 9, 9, 0.96);
}

.theme-home .reel-card-head {
    display: grid;
    gap: 0.45rem;
}

.theme-home .reel-index {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 0.24rem 0.66rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(243, 240, 236, 0.75);
}

.theme-home .reel-card h3 {
    margin: 0;
    color: rgba(243, 240, 236, 0.84);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.35rem, 2.2vw, 2.05rem);
}

.theme-home .reel-card p {
    margin: 0;
    color: rgba(243, 240, 236, 0.72);
    font-size: clamp(0.98rem, 1.3vw, 1.16rem);
    line-height: 1.58;
}

.theme-home .reel-card small {
    display: inline-flex;
    width: fit-content;
    color: rgba(243, 240, 236, 0.86);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

@media (max-width: 1024px) {
    .theme-home .reel-section {
        margin: clamp(3.4rem, 8vw, 5rem) 0;
        height: auto !important;
    }

    .theme-home .reel-sticky {
        position: static;
        min-height: 0;
        gap: 0.9rem;
    }

    .theme-home .reel-meter {
        display: none;
    }

    .theme-home .reel-window {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .theme-home .reel-window::-webkit-scrollbar {
        height: 6px;
    }

    .theme-home .reel-window::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 999px;
    }

    .theme-home .reel-track {
        transform: none !important;
        padding: 0 1.4rem 0.4rem;
        gap: 0.8rem;
    }

    .theme-home .reel-card {
        flex: 0 0 min(82vw, 380px);
        min-height: 320px;
        scroll-snap-align: start;
        opacity: 1;
        transform: none;
    }
}

/* ===== 2026-02 Unified Minimal Refinement ===== */
.theme-pocket-like {
    --u-panel-bg: rgba(255, 255, 255, 0.04);
    --u-panel-bg-strong: rgba(255, 255, 255, 0.06);
    --u-panel-border: rgba(255, 255, 255, 0.08);
    --u-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    --u-radius: 12px;
}

.theme-pocket-like .btn,
.theme-pocket-like .upload-btn,
.theme-pocket-like .convert-btn,
.theme-pocket-like .tab-btn {
    border-radius: 10px;
}

.theme-pocket-like .page-header,
.theme-pocket-like .preview-section,
.theme-pocket-like .settings-section,
.theme-pocket-like .pdf-settings,
.theme-pocket-like .editor-section,
.theme-pocket-like .file-list-section,
.theme-pocket-like .settings-panel,
.theme-pocket-like .archive-info,
.theme-pocket-like .features-info,
.theme-pocket-like .faq-section,
.theme-pocket-like .studio-card,
.theme-pocket-like .tab-content,
.theme-pocket-like .aside-panel,
.theme-pocket-like .legal-content,
.theme-pocket-like .legal-section,
.theme-pocket-like .error-container,
.theme-pocket-like .download-content {
    border: none !important;
    border-radius: var(--u-radius) !important;
    box-shadow: var(--u-shadow);
    background: var(--u-panel-bg);
}

.theme-pocket-like .tool-link,
.theme-pocket-like .download-feature,
.theme-pocket-like .faq-item,
.theme-pocket-like .feature-item,
.theme-pocket-like .file-card,
.theme-pocket-like .archive-file-item,
.theme-pocket-like .detail-item,
.theme-pocket-like .setting-item,
.theme-pocket-like .setting-group,
.theme-pocket-like .template-selector {
    border-color: var(--u-panel-border) !important;
}

.theme-pocket-like .upload-zone,
.theme-pocket-like .upload-area,
.theme-pocket-like .file-upload-area {
    border: 1px dashed rgba(255, 255, 255, 0.22) !important;
    border-radius: var(--u-radius);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
}

.theme-pocket-like .upload-zone:hover,
.theme-pocket-like .upload-area:hover,
.theme-pocket-like .file-upload-area:hover,
.theme-pocket-like .upload-zone.drag-over,
.theme-pocket-like .upload-area.drag-over,
.theme-pocket-like .file-upload-area.drag-over {
    border-color: rgba(239, 47, 40, 0.6) !important;
    background: rgba(239, 47, 40, 0.06);
}

.theme-pocket-like .main-content,
.theme-pocket-like .main {
    padding-top: calc(78px + 2rem);
}

.theme-pocket-like .section-header {
    margin-bottom: 1.5rem;
}

.theme-home .narrative-layout {
    align-items: stretch;
}

.theme-home .narrative-intro,
.theme-home .switcher {
    height: 100%;
}

.theme-home .switcher {
    display: flex;
    flex-direction: column;
}

.theme-home .switcher-content {
    display: flex;
    flex: 1;
}

.theme-home .switcher-pane {
    width: 100%;
    min-height: 0;
    margin: 0;
}

.theme-workbench .studio-layout {
    align-items: stretch;
}

.theme-workbench .studio-main {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.theme-workbench .studio-aside {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.theme-workbench .studio-aside .aside-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.theme-workbench .upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.theme-workbench .upload-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
}

.theme-workbench .upload-buttons .btn {
    min-width: 146px;
    justify-content: center;
}

.theme-workbench .action-section,
.theme-workbench #normalExtractAction,
.theme-tool .action-section,
.theme-tool .download-buttons,
.theme-home .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.theme-workbench .action-section {
    border-top: none !important;
    padding-top: 1.15rem;
}

.theme-workbench .tool-tabs {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.theme-workbench .story-step {
    border-radius: 12px;
}

.theme-workbench .story-step {
    border: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.theme-workbench .story-step.active {
    background: rgba(239, 47, 40, 0.12);
    box-shadow: 0 12px 28px rgba(132, 24, 22, 0.28);
}

.theme-home .studio-grid,
.theme-workbench .studio-layout,
.theme-tool .features-grid {
    align-items: stretch;
}

.theme-tool .page-header,
.theme-tool .upload-section,
.theme-tool .preview-section,
.theme-tool .settings-section,
.theme-tool .pdf-settings,
.theme-tool .editor-section,
.theme-tool .features-info {
    background: rgba(12, 12, 12, 0.74);
}

.theme-tool .upload-content,
.theme-tool .upload-area {
    text-align: center;
}

.theme-tool .editor-header,
.theme-tool .editor-controls,
.theme-tool .preview-controls {
    gap: 0.7rem;
}

.theme-tool .settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.theme-tool .features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.theme-tool .feature-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 180px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.theme-tool .feature-item > .heroicon {
    width: 1.3rem;
    height: 1.3rem;
    opacity: 0.46;
    margin-bottom: 0.5rem;
}

.theme-tool .download-content {
    background: rgba(12, 12, 12, 0.82);
}

.theme-tool #editor,
.theme-tool .ql-toolbar.ql-snow,
.theme-tool .ql-container.ql-snow,
.theme-tool .ql-editor {
    background: rgba(8, 8, 8, 0.66) !important;
    color: var(--p-text) !important;
    border-color: var(--u-panel-border) !important;
}

.theme-tool .ql-snow .ql-stroke {
    stroke: rgba(243, 240, 236, 0.8);
}

.theme-tool .ql-snow .ql-fill {
    fill: rgba(243, 240, 236, 0.8);
}

.theme-tool input,
.theme-tool select,
.theme-tool textarea,
.theme-workbench input,
.theme-workbench select,
.theme-workbench textarea,
.theme-legal input,
.theme-legal select,
.theme-legal textarea {
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.4);
    color: var(--p-text);
}

.theme-tool input:focus,
.theme-tool select:focus,
.theme-tool textarea:focus,
.theme-workbench input:focus,
.theme-workbench select:focus,
.theme-workbench textarea:focus,
.theme-legal input:focus,
.theme-legal select:focus,
.theme-legal textarea:focus {
    border-color: rgba(239, 47, 40, 0.7);
    box-shadow: 0 0 0 3px rgba(239, 47, 40, 0.12);
}

.theme-legal .main,
.theme-legal .main-content {
    padding-top: calc(78px + 2rem);
}

.theme-legal .page-header,
.theme-legal .legal-content {
    background: rgba(12, 12, 12, 0.78);
}

.theme-legal .legal-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 0.72rem;
}

.theme-legal .legal-heading {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.theme-legal .legal-text,
.theme-legal .legal-list-text,
.theme-legal .page-subtitle,
.theme-legal .page-date {
    color: rgba(243, 240, 236, 0.72);
}

.theme-legal .legal-conclusion {
    background: rgba(239, 47, 40, 0.08);
}

.theme-legal .legal-emphasis {
    color: rgba(255, 221, 218, 0.95);
}

.theme-error .error-page {
    background:
        radial-gradient(circle at 18% 24%, rgba(239, 47, 40, 0.22), transparent 46%),
        radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.08), transparent 54%),
        #080808;
}

.theme-error .error-container {
    background: rgba(12, 12, 12, 0.82);
}

.theme-error .error-code {
    color: var(--p-accent);
}

.theme-error .error-feature {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.8rem;
    box-shadow: none;
}

.theme-error .error-feature-icon {
    opacity: 0.56;
}

.theme-error .error-feature-title,
.theme-error .error-title {
    color: var(--p-text);
}

.theme-error .error-description,
.theme-error .error-feature-desc {
    color: var(--p-muted);
}

@media (max-width: 1120px) {
    .theme-tool .settings-grid,
    .theme-tool .features-grid {
        grid-template-columns: 1fr;
    }

    .theme-workbench .studio-aside {
        height: auto;
    }
}

@media (max-width: 860px) {
    .theme-workbench .upload-buttons {
        flex-direction: column;
    }

    .theme-workbench .upload-buttons .btn {
        width: 100%;
    }

    .theme-pocket-like .page-header,
    .theme-pocket-like .preview-section,
    .theme-pocket-like .settings-section,
    .theme-pocket-like .pdf-settings,
    .theme-pocket-like .editor-section,
    .theme-pocket-like .file-list-section,
    .theme-pocket-like .settings-panel,
    .theme-pocket-like .archive-info,
    .theme-pocket-like .features-info,
    .theme-pocket-like .faq-section,
    .theme-pocket-like .studio-card,
    .theme-pocket-like .tab-content,
    .theme-pocket-like .aside-panel,
    .theme-pocket-like .legal-content,
    .theme-pocket-like .legal-section,
    .theme-pocket-like .error-container,
    .theme-pocket-like .download-content {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    }
}

.theme-home .hero-grid,
.theme-home .chapter-layout,
.theme-workbench .lab-intro-grid,
.theme-workbench .process-story {
    align-items: stretch;
}

.theme-pocket-like .download-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.theme-pocket-like .download-text,
.theme-pocket-like .download-image {
    min-height: 100%;
    border: none !important;
}

.theme-pocket-like .download-feature {
    border: none !important;
    background: transparent !important;
    padding-left: 0;
    padding-right: 0;
}

.theme-pocket-like .feature-item,
.theme-pocket-like .faq-item,
.theme-pocket-like .archive-file-item,
.theme-pocket-like .file-card,
.theme-pocket-like .detail-item {
    border: none !important;
}

.theme-pocket-like .faq-question,
.theme-pocket-like .faq-answer {
    border: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

@media (max-width: 1120px) {
    .theme-pocket-like .download-content {
        grid-template-columns: 1fr;
    }
}

/* ===== 2026-02 Tool Page Layout Refresh ===== */
.theme-home .atelier-grid .studio-card .tool-features {
    margin-top: auto;
    margin-bottom: 0.95rem;
}

.theme-home .atelier-grid .studio-card .btn {
    width: 100%;
    justify-content: center;
}

.theme-tool .tool-hero {
    border: 1px solid var(--p-line);
    border-radius: 16px;
    padding: clamp(1.1rem, 2.2vw, 1.8rem);
    margin-bottom: 1rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(239, 47, 40, 0.18), transparent 44%),
        rgba(10, 10, 10, 0.82);
}

.theme-tool .tool-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.theme-tool .tool-hero-content {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.theme-tool .tool-hero-title {
    margin: 0;
    color: var(--p-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    max-width: 11.5ch;
}

.theme-tool .tool-hero-description {
    margin: 0;
    color: rgba(243, 240, 236, 0.78);
    max-width: 56ch;
}

.theme-tool .tool-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.theme-tool .tool-hero-tags span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    color: rgba(243, 240, 236, 0.88);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.theme-tool .tool-hero-card {
    border-radius: 14px;
    border: 1px solid var(--p-line-soft);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.05rem;
    display: grid;
    align-content: start;
    gap: 0.72rem;
}

.theme-tool .tool-hero-card h3 {
    margin: 0;
    color: var(--p-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
}

.theme-tool .tool-hero-card ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.44rem;
    color: rgba(243, 240, 236, 0.78);
}

.theme-tool .tool-shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.theme-tool .tool-main-stack {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.theme-tool .tool-panel {
    border-radius: 14px;
    border: 1px solid var(--p-line);
    background: rgba(10, 10, 10, 0.78);
    padding: 1rem;
}

.theme-tool .tool-panel .section-header {
    margin-bottom: 0.95rem;
}

.theme-tool .tool-panel h2,
.theme-tool .tool-panel h3,
.theme-tool .tool-panel label {
    color: var(--p-text);
}

.theme-tool .tool-panel p,
.theme-tool .tool-panel small {
    color: rgba(243, 240, 236, 0.74);
}

.theme-tool .tool-panel .upload-area {
    border-color: var(--p-line);
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(2rem, 4.5vw, 3.2rem) clamp(1rem, 3vw, 2rem);
}

.theme-tool .tool-panel .upload-area:hover {
    border-color: rgba(239, 47, 40, 0.58);
    background: rgba(239, 47, 40, 0.07);
}

.theme-tool .tool-panel .upload-content h3 {
    color: var(--p-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}

.theme-tool .tool-panel .upload-content p {
    color: rgba(243, 240, 236, 0.74);
}

.theme-tool .tool-side-stack {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 0.85rem;
}

.theme-tool .tool-side-panel {
    border-radius: 12px;
    border: 1px solid var(--p-line);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem;
}

.theme-tool .tool-side-panel h3 {
    margin: 0 0 0.45rem;
    color: var(--p-text);
    font-size: 1.02rem;
}

.theme-tool .tool-side-panel p {
    margin: 0;
    color: rgba(243, 240, 236, 0.72);
    font-size: 0.92rem;
    line-height: 1.62;
}

.theme-tool .tool-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid rgba(239, 47, 40, 0.5);
    background: rgba(239, 47, 40, 0.1);
    color: #ffd9d6;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 0.84rem;
    transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.theme-tool .tool-side-link:hover {
    background: rgba(239, 47, 40, 0.2);
    border-color: rgba(239, 47, 40, 0.72);
    color: #fff;
}

.theme-tool .tool-features-refresh {
    margin-top: 1rem;
}

.theme-tool .tool-features-refresh h2 {
    color: var(--p-text);
}

.theme-tool .tool-features-refresh .feature-item {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    min-height: 178px;
    text-align: left;
    padding: 1.1rem 1rem;
}

.theme-tool .tool-features-refresh .feature-item h3 {
    color: var(--p-text);
}

.theme-tool .tool-features-refresh .feature-item p {
    color: rgba(243, 240, 236, 0.72);
}

.theme-pocket-like.theme-tool .faq-section {
    border: 1px solid var(--p-line-soft) !important;
    background:
        radial-gradient(circle at 22% 0%, rgba(239, 47, 40, 0.14), transparent 52%),
        rgba(8, 8, 8, 0.74) !important;
    color: var(--p-text);
}

.theme-pocket-like.theme-tool .faq-title {
    color: var(--p-text);
}

.theme-pocket-like.theme-tool .faq-subtitle {
    color: rgba(243, 240, 236, 0.76);
}

.theme-pocket-like.theme-tool .faq-item {
    border: 1px solid var(--p-line) !important;
    background: rgba(255, 255, 255, 0.03);
}

.theme-pocket-like.theme-tool .faq-question {
    border: none !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #152018;
}

.theme-pocket-like.theme-tool .faq-question:hover,
.theme-pocket-like.theme-tool .faq-question.active {
    background: #ffffff !important;
    color: var(--accent);
}

.theme-pocket-like.theme-tool .faq-answer {
    border: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.theme-pocket-like.theme-tool .faq-answer-content {
    color: rgba(243, 240, 236, 0.82);
}

@media (max-width: 1120px) {
    .theme-tool .tool-hero-grid,
    .theme-tool .tool-shell-grid {
        grid-template-columns: 1fr;
    }

    .theme-tool .tool-side-stack {
        position: static;
    }
}

@media (max-width: 860px) {
    .theme-tool .tool-hero,
    .theme-tool .tool-panel,
    .theme-tool .tool-side-panel {
        padding: 0.9rem;
    }

    .theme-tool .tool-hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
}

/* ===== 2026-02 Home Quick Actions Rebuild ===== */
.theme-home .online-tools.atelier {
    margin-top: clamp(4rem, 9vw, 7rem);
    padding: clamp(3.2rem, 6.8vw, 5.4rem) 0;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none;
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, 0.86) 12%, rgba(8, 8, 8, 0.94) 100%) !important;
    position: relative;
    overflow: hidden;
}

.theme-home .online-tools.atelier::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(-32deg, rgba(255, 255, 255, 0.032) 0px, rgba(255, 255, 255, 0.032) 1px, transparent 1px, transparent 28px),
        radial-gradient(circle at 14% 28%, rgba(239, 47, 40, 0.2), transparent 45%);
    opacity: 0.5;
}

.theme-home .online-tools.atelier > .container {
    position: relative;
    z-index: 1;
}

.theme-home .atelier .section-header {
    text-align: left;
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.theme-home .atelier .section-title {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.theme-home .atelier .section-subtitle {
    max-width: 56ch;
    color: rgba(243, 240, 236, 0.7);
}

.theme-home .atelier .section-eyebrow {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    background: rgba(255, 255, 255, 0.05);
}

.theme-home .atelier-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
}

.theme-home .atelier-grid .studio-card:nth-child(1),
.theme-home .atelier-grid .studio-card:nth-child(2) {
    grid-column: span 6;
}

.theme-home .atelier-grid .studio-card:nth-child(3) {
    grid-column: span 5;
}

.theme-home .atelier-grid .studio-card:nth-child(4) {
    grid-column: span 7;
}

.theme-home .atelier-grid .studio-card {
    border-radius: 0 !important;
    border: 1px solid rgba(243, 240, 236, 0.24) !important;
    background:
        linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 45%),
        rgba(9, 9, 9, 0.9) !important;
    box-shadow: none !important;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    min-height: 304px;
    padding: 1.28rem 1.2rem 1.18rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
}

.theme-home .atelier-grid .studio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(239, 47, 40, 0.2), transparent 58%);
    opacity: 0.55;
}

.theme-home .atelier-grid .studio-card > * {
    position: relative;
    z-index: 1;
}

.theme-home .atelier-grid .studio-card:hover {
    border-color: rgba(239, 47, 40, 0.68) !important;
    transform: translateY(-4px);
}

.theme-home .atelier-grid .studio-card .tool-title {
    margin: 0;
    color: var(--p-text);
}

.theme-home .atelier-grid .studio-card .tool-description {
    color: rgba(243, 240, 236, 0.76);
    font-size: 1.03rem;
}

.theme-home .atelier-grid .studio-card .tool-features {
    margin-top: auto;
    margin-bottom: 0.88rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.theme-home .atelier-grid .studio-card .feature-tag {
    border-radius: 0;
    border: 1px solid rgba(243, 240, 236, 0.28);
    background: transparent;
    color: rgba(243, 240, 236, 0.84);
    padding: 0.3rem 0.58rem 0.3rem 0.54rem;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

.theme-home .atelier-grid .studio-card .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0 !important;
    border: 1px solid rgba(239, 47, 40, 0.92);
    background: linear-gradient(90deg, rgba(239, 47, 40, 0.94), rgba(176, 34, 30, 0.94));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 14px 50%);
    padding: 0.78rem 1rem;
}

.theme-home .atelier-grid .studio-card .btn:hover {
    background: linear-gradient(90deg, rgba(199, 36, 31, 0.98), rgba(145, 25, 22, 0.98));
}

@media (max-width: 1120px) {
    .theme-home .atelier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-home .atelier-grid .studio-card:nth-child(1),
    .theme-home .atelier-grid .studio-card:nth-child(2),
    .theme-home .atelier-grid .studio-card:nth-child(3),
    .theme-home .atelier-grid .studio-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 860px) {
    .theme-home .online-tools.atelier {
        padding: 2.4rem 0;
    }

    .theme-home .atelier-grid {
        grid-template-columns: 1fr;
    }

    .theme-home .atelier-grid .studio-card {
        clip-path: none;
        min-height: 0;
    }

    .theme-home .atelier-grid .studio-card .feature-tag,
    .theme-home .atelier-grid .studio-card .btn {
        clip-path: none;
    }
}

/* ===== 2026-02 Cross-Page Surface Unification ===== */
.theme-pocket-like .download {
    margin-top: clamp(1.6rem, 4vw, 2.8rem);
    margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
    padding: clamp(2.4rem, 5vw, 4.2rem) 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.theme-pocket-like .download-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: clamp(0.9rem, 1.8vw, 1.4rem);
    padding: clamp(0.95rem, 2.1vw, 1.45rem);
    border: 1px solid rgba(243, 240, 236, 0.22) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    background:
        linear-gradient(132deg, rgba(239, 47, 40, 0.16), rgba(239, 47, 40, 0.02) 36%, transparent 48%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.9)) !important;
    box-shadow: none !important;
}

.theme-pocket-like .download-text,
.theme-pocket-like .download-image {
    min-width: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: clamp(0.95rem, 1.9vw, 1.35rem);
}

.theme-pocket-like .download-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-pocket-like .download-title {
    margin-bottom: 0.78rem;
    color: #faf6f2 !important;
    font-size: clamp(1.85rem, 4.1vw, 3.3rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    max-width: 14ch;
}

.theme-pocket-like .download-description {
    color: rgba(243, 240, 236, 0.8) !important;
    max-width: 46ch;
}

.theme-pocket-like .download-features {
    margin: 1rem 0 1.12rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.78rem;
}

.theme-pocket-like .download-feature {
    border: none !important;
    background: transparent !important;
    padding: 0.45rem 0.5rem 0.48rem 0.82rem;
    position: relative;
}

.theme-pocket-like .download-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 4px;
    height: 13px;
    background: rgba(239, 47, 40, 0.88);
}

.theme-pocket-like .download-feature span {
    color: rgba(243, 240, 236, 0.86) !important;
}

.theme-pocket-like .download-buttons {
    justify-content: flex-start;
}

.theme-pocket-like .download-image {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.theme-pocket-like .download-banner,
.theme-pocket-like .download-logo {
    width: min(368px, 100%);
    height: auto;
    border-radius: 0 !important;
    border: 1px solid rgba(243, 240, 236, 0.2) !important;
    background: #090909;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    box-shadow: none !important;
}

.theme-legal .main,
.theme-legal .main-content {
    background:
        radial-gradient(circle at 12% 10%, rgba(239, 47, 40, 0.12), transparent 38%),
        radial-gradient(circle at 88% 90%, rgba(243, 240, 236, 0.08), transparent 42%);
}

.theme-legal .page-header {
    border: 1px solid rgba(243, 240, 236, 0.2) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    box-shadow: none !important;
    background:
        linear-gradient(140deg, rgba(239, 47, 40, 0.12), transparent 42%),
        rgba(10, 10, 10, 0.82) !important;
}

.theme-legal .legal-content {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.theme-legal .legal-section {
    margin-bottom: 0.86rem;
    border: 1px solid rgba(243, 240, 236, 0.16) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    box-shadow: none !important;
    background:
        linear-gradient(156deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 42%),
        rgba(9, 9, 9, 0.7) !important;
}

.theme-legal .legal-subsection,
.theme-legal .legal-list-item,
.theme-legal .legal-restriction-item {
    border: 1px solid rgba(243, 240, 236, 0.16) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.theme-legal .page-title,
.theme-legal .legal-heading {
    color: #faf6f2;
}

.theme-legal .legal-subheading,
.theme-legal .legal-list-title {
    color: rgba(250, 246, 242, 0.92);
}

.theme-legal .legal-text,
.theme-legal .legal-list-text,
.theme-legal .page-subtitle,
.theme-legal .page-date {
    color: rgba(243, 240, 236, 0.78) !important;
}

.theme-legal .page-date {
    border: 1px solid rgba(243, 240, 236, 0.26);
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.32rem 0.74rem;
}

.theme-legal .legal-link {
    color: #ff938b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.theme-legal .legal-link:hover {
    color: #ffc8c3;
}

.theme-legal .legal-conclusion {
    border-color: rgba(239, 47, 40, 0.54) !important;
    background:
        linear-gradient(136deg, rgba(239, 47, 40, 0.25), rgba(239, 47, 40, 0.05) 54%),
        rgba(9, 9, 9, 0.78) !important;
}

.theme-legal .legal-emphasis {
    color: #fff3f1 !important;
}

@media (max-width: 1120px) {
    .theme-pocket-like .download-content {
        grid-template-columns: 1fr;
    }

    .theme-pocket-like .download-image {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .theme-pocket-like .download-content,
    .theme-legal .page-header,
    .theme-legal .legal-section,
    .theme-legal .legal-subsection,
    .theme-legal .legal-list-item,
    .theme-legal .legal-restriction-item,
    .theme-pocket-like .download-banner,
    .theme-pocket-like .download-logo {
        clip-path: none;
    }

    .theme-pocket-like .download-features {
        grid-template-columns: 1fr;
    }
}
