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

:root {
    --bg-deep: #12100e;
    --bg-mid: #1a1714;
    --paper: #f4ecdf;
    --paper-strong: #fff8eb;
    --panel: rgba(255, 248, 235, 0.88);
    --panel-strong: #fffaf0;
    --line: rgba(31, 24, 18, 0.12);
    --line-strong: rgba(31, 24, 18, 0.22);
    --ink: #1b1714;
    --muted: #655c53;
    --gold: #f0a81e;
    --gold-deep: #cc8400;
    --teal: #0f8f83;
    --teal-deep: #0a6f66;
    --red: #db4d3f;
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 18px 38px rgba(20, 15, 12, 0.14);
    --shadow-sm: 0 10px 24px rgba(20, 15, 12, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(240, 168, 30, 0.26), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(15, 143, 131, 0.22), transparent 26%),
        linear-gradient(135deg, #161311 0%, #110f0d 45%, #1a1714 100%);
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 28%, transparent 85%);
}

button,
input,
select {
    font: inherit;
}

.page-shell {
    position: relative;
    padding: 28px 18px 44px;
    overflow: hidden;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(22px);
    opacity: 0.38;
    pointer-events: none;
}

.ambient-one {
    width: 280px;
    height: 280px;
    background: rgba(240, 168, 30, 0.2);
    top: -80px;
    left: -60px;
}

.ambient-two {
    width: 360px;
    height: 360px;
    background: rgba(15, 143, 131, 0.18);
    right: -100px;
    top: 180px;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1340px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.96) 0%, rgba(244, 236, 223, 0.93) 100%);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: page-enter 500ms ease-out;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) auto;
    gap: 18px 28px;
    align-items: start;
    padding: 34px 42px;
    background: linear-gradient(140deg, rgba(18, 16, 14, 0.98) 0%, rgba(27, 23, 20, 0.94) 52%, rgba(33, 29, 25, 0.9) 100%);
    color: #fff7e8;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.77rem;
    font-weight: 700;
}

.eyebrow {
    color: #ffcf6f;
}

.title {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(2.9rem, 5vw, 4.9rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
    max-width: 12ch;
    text-wrap: balance;
}

.subtitle {
    max-width: 56ch;
    color: rgba(255, 247, 232, 0.8);
    font-size: 1rem;
}

.hero-stats {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-top: 4px;
}

.stat-card {
    min-height: 112px;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 248, 235, 0.08);
    border: 1px solid rgba(255, 248, 235, 0.12);
    backdrop-filter: blur(10px);
}

.stat-label,
.stat-meta {
    display: block;
}

.stat-label {
    color: rgba(255, 247, 232, 0.68);
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.2rem;
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: #fff6db;
}

.stat-meta {
    color: rgba(255, 247, 232, 0.72);
    font-size: 0.82rem;
    margin-top: 2px;
}

.hero-notes {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 0;
}

.hero-notes span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 248, 235, 0.1);
    border: 1px solid rgba(255, 248, 235, 0.1);
    color: rgba(255, 247, 232, 0.82);
    font-size: 0.86rem;
}

.hero-art-panel {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 12px 0 0;
}

.brand-logo {
    width: min(31vw, 320px);
    min-width: 220px;
    max-width: 320px;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2))
        drop-shadow(0 24px 34px rgba(0, 0, 0, 0.18));
}

.hero-art-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 360px);
    height: 100%;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 228, 0.96) 44%, rgba(243, 223, 181, 0.92) 74%, rgba(231, 196, 128, 0.84) 100%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(244, 228, 196, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -14px 28px rgba(204, 132, 0, 0.08),
        0 22px 42px rgba(0, 0, 0, 0.18);
}

.hero-art-panel::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: min(calc(100% - 24px), 336px);
    height: calc(100% - 24px);
    border-radius: 22px;
    border: 1px solid rgba(204, 132, 0, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.hero-art-panel > * {
    position: relative;
    z-index: 1;
}

.main {
    padding: 28px 42px 36px;
}

.workspace-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.sidebar {
    display: grid;
    gap: 20px;
}

@media (min-width: 1121px) {
    .workspace-body:not(:has(.file-list-section:not(.hidden))) {
        grid-template-columns: 1fr;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .sidebar {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        gap: 18px;
        align-items: start;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .settings-section {
        grid-column: 1;
        margin-bottom: 0;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .action-section {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .tips-panel,
    .workspace-body:not(:has(.file-list-section:not(.hidden))) .progress-section.active {
        grid-column: 1 / -1;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .settings-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 16px;
        align-items: start;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .settings-stack .setting-group:has(.toggle-card) {
        grid-column: 1 / -1;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .action-section,
    .workspace-body:not(:has(.file-list-section:not(.hidden))) .tips-panel {
        align-content: start;
    }

    .workspace-body:not(:has(.file-list-section:not(.hidden))) .section-header {
        margin-bottom: 14px;
    }
}

.panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.upload-panel {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.section-header h2,
.section-header h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 0.95;
}

.section-kicker {
    color: var(--teal);
    margin-bottom: 6px;
}

.count-pill {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 143, 131, 0.08);
    color: var(--teal-deep);
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid rgba(15, 143, 131, 0.14);
}

.drop-zone {
    position: relative;
    border: 2px dashed rgba(27, 23, 20, 0.16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top left, rgba(240, 168, 30, 0.15), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 235, 0.94));
    padding: 26px 24px;
    text-align: left;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
    overflow: hidden;
}

.drop-zone::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.drop-zone:hover,
.drop-zone.dragover,
.drop-zone:focus-visible {
    border-color: rgba(240, 168, 30, 0.65);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.drop-zone:focus-visible {
    outline: none;
}

.drop-zone-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.drop-zone-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
    gap: 24px;
    align-items: center;
}

.drop-zone-copy,
.drop-zone-side {
    display: grid;
}

.drop-zone-copy {
    gap: 14px;
    max-width: 540px;
}

.drop-zone-side {
    gap: 16px;
    justify-items: start;
    padding: 4px 0 4px 8px;
}

.drop-zone h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.1rem;
    letter-spacing: 0.04em;
}

.drop-zone p {
    color: var(--muted);
    max-width: 62ch;
}

.drop-zone-icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(240, 168, 30, 0.2), rgba(15, 143, 131, 0.14));
    color: var(--ink);
    animation: icon-float 3.6s ease-in-out infinite;
}

.drop-zone-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes icon-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.drop-zone-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 2px;
}

#fileInput,
#folderInput {
    display: none;
}

.drop-zone-points {
    list-style: none;
    display: grid;
    gap: 10px;
}

.drop-zone-points li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.45;
}

.drop-zone-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--teal));
}

.drop-hint {
    font-size: 0.86rem;
    margin: 0;
}

.btn-primary,
.btn-secondary,
.btn-folder,
.btn-clear {
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary,
.btn-secondary,
.btn-folder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    font-weight: 700;
}

.btn-primary {
    color: #18130f;
    background: linear-gradient(135deg, #ffc54f, var(--gold));
    box-shadow: 0 12px 28px rgba(240, 168, 30, 0.3);
}

.btn-primary:hover:not(:disabled),
.btn-folder:hover:not(:disabled),
.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffd474, #f2b636);
}

.btn-sun {
    width: auto;
    min-width: 180px;
}

.btn-folder {
    width: auto;
    min-width: 180px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(27, 23, 20, 0.14);
    box-shadow: 0 10px 24px rgba(20, 15, 12, 0.08);
}

.btn-folder:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    color: #fff8eb;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    box-shadow: 0 12px 28px rgba(15, 143, 131, 0.18);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #10a596, #0a6f66);
}

.btn-clear {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(27, 23, 20, 0.12);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.btn-clear:hover {
    color: var(--red);
    border-color: rgba(219, 77, 63, 0.25);
    background: rgba(219, 77, 63, 0.06);
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-folder:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.file-list-summary {
    grid-column: 1 / -1;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 143, 131, 0.08);
    border: 1px solid rgba(15, 143, 131, 0.14);
    color: #0a6f66;
    font-size: 0.92rem;
    font-weight: 700;
}

.file-item {
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(27, 23, 20, 0.12);
    box-shadow: 0 12px 24px rgba(20, 15, 12, 0.05);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.file-item:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 168, 30, 0.35);
    box-shadow: var(--shadow-md);
}

.file-item img {
    width: 100%;
    height: 136px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
    background: rgba(27, 23, 20, 0.08);
}

.file-item-name {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
}

.file-item-remove {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(219, 77, 63, 0.14);
    border-radius: 12px;
    background: rgba(219, 77, 63, 0.06);
    color: var(--red);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.file-item-remove:hover {
    transform: translateY(-1px);
    background: rgba(219, 77, 63, 0.12);
    border-color: rgba(219, 77, 63, 0.22);
}

.settings-stack {
    display: grid;
    gap: 18px;
}

.setting-group {
    display: grid;
    gap: 10px;
}

.setting-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(27, 23, 20, 0.12);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.radio-label:hover {
    transform: translateY(-1px);
}

.radio-label input {
    accent-color: var(--gold-deep);
}

.radio-label:has(input:checked) {
    background: rgba(240, 168, 30, 0.14);
    border-color: rgba(240, 168, 30, 0.4);
    box-shadow: inset 0 0 0 1px rgba(240, 168, 30, 0.14);
}

.dimension-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.input-group {
    display: grid;
    gap: 8px;
}

.input-group label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(27, 23, 20, 0.12);
    background: rgba(255, 255, 255, 0.82);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.input-shell:focus-within {
    border-color: rgba(15, 143, 131, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 143, 131, 0.1);
}

.input-shell input {
    width: 100%;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 14px 0;
    color: var(--ink);
}

.input-shell input:focus {
    outline: none;
}

.unit {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.toggle-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(27, 23, 20, 0.12);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.toggle-card input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--teal);
}

.toggle-copy {
    display: grid;
    gap: 4px;
}

.toggle-copy strong {
    font-size: 0.94rem;
}

.toggle-copy small {
    color: var(--muted);
    font-size: 0.82rem;
}

select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(27, 23, 20, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
}

select:focus {
    outline: none;
    border-color: rgba(15, 143, 131, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 143, 131, 0.1);
}

.action-copy {
    color: var(--muted);
    margin-bottom: 16px;
}

.action-buttons {
    display: grid;
    gap: 12px;
}

.progress-section {
    display: none;
}

.progress-section.active {
    display: block;
    animation: fade-up 280ms ease-out;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar {
    height: 14px;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(27, 23, 20, 0.1);
    border: 1px solid rgba(27, 23, 20, 0.08);
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    transition: width 260ms ease;
}

.progress-text {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.tips-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.tips-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

.tips-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--teal));
}

.footer {
    display: grid;
    gap: 18px;
    padding: 20px 42px 36px;
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
}

.about-card {
    display: grid;
    gap: 14px;
    justify-items: center;
    padding: 26px 28px 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.94), rgba(255, 248, 235, 0.97) 38%, rgba(243, 233, 214, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 20px 44px rgba(20, 15, 12, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-card-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--teal);
}

.about-card-title {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.3rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: var(--ink);
}

.about-card-copy {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.about-card-emoji {
    margin: 2px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    letter-spacing: 0.18em;
}

.about-card-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-card-links a {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(27, 23, 20, 0.06);
    border: 1px solid rgba(27, 23, 20, 0.12);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.about-card-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 168, 30, 0.32);
    background: rgba(240, 168, 30, 0.12);
}

.hidden {
    display: none !important;
}

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

    .hero {
        padding: 34px;
    }

    .hero-copy {
        order: 2;
    }

    .hero-art-panel {
        order: 1;
        justify-content: center;
        padding-top: 0;
    }

    .hero-stats,
    .hero-notes {
        order: 3;
    }

    .brand-logo {
        width: min(100%, 320px);
    }
}

@media (max-width: 820px) {
    .main,
    .footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero {
        padding: 28px 22px;
    }

    .brand-logo {
        width: min(100%, 320px);
        min-width: 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .drop-zone-grid {
        grid-template-columns: 1fr;
    }

    .drop-zone-side {
        padding-left: 0;
    }

    .section-header {
        flex-direction: column;
    }

    .count-pill {
        align-self: flex-start;
    }

    .radio-group,
    .dimension-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .page-shell {
        padding: 12px 10px 24px;
    }

    .container {
        border-radius: 24px;
    }

    .hero-art-panel {
        padding: 0;
    }

    .title {
        font-size: 3.2rem;
    }

    .brand-logo {
        width: min(100%, 280px);
    }

    .panel {
        padding: 18px;
        border-radius: 20px;
    }

    .about-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .about-card-emoji {
        letter-spacing: 0.12em;
    }

    .drop-zone {
        padding: 24px 16px;
    }

    .drop-zone-actions {
        width: 100%;
    }

    .btn-sun,
    .btn-folder {
        width: 100%;
    }
}
