:root {
    color-scheme: light;
    --red: #e53935;
    --red-dark: #c62828;
    --red-soft: #fff1f0;
    --ink: #202124;
    --muted: #667085;
    --line: #e6e8ec;
    --surface: #ffffff;
    --background: #f7f8fa;
    --success: #168a61;
    --shadow: 0 12px 35px rgba(31, 35, 48, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button,
a,
label,
select,
input[type="range"] {
    -webkit-tap-highlight-color: transparent;
}

.ambient,
.visual-stack {
    display: none;
}

.site-header,
main,
footer {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--red);
}

.brand-mark svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.05;
}

.brand strong {
    font-size: 16px;
}

.brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}

.hero {
    display: block;
    min-height: auto;
    padding: 78px 0 70px;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.eyebrow i {
    width: 22px;
    height: 1px;
    background: #efaaa8;
}

.hero h1 {
    margin: 20px 0 22px;
    font-size: clamp(45px, 6.5vw, 76px);
    font-weight: 780;
    letter-spacing: -.06em;
    line-height: 1;
}

.hero h1 em {
    color: var(--red);
    font-style: normal;
}

.hero-copy > p {
    max-width: 670px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-points span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-points b {
    color: var(--ink);
}

.server-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 20px;
    padding: 15px 17px;
    border: 1px solid #f2b8b5;
    border-radius: 12px;
    color: #8d2925;
    background: var(--red-soft);
}

.server-alert svg {
    width: 23px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.server-alert p {
    margin: 4px 0 0;
    color: #9c4d49;
    font-size: 13px;
}

.tool-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.tool-choice {
    display: flex;
    min-height: 116px;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 35, 48, .04);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tool-choice:hover {
    border-color: #eab0ad;
    transform: translateY(-2px);
}

.tool-choice.is-active {
    border-color: var(--red);
    background: var(--red-soft);
    box-shadow: 0 9px 25px rgba(198, 40, 40, .1);
}

.tool-choice:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.tool-choice-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: var(--red);
    background: var(--red-soft);
}

.tool-choice.is-active .tool-choice-icon {
    color: #fff;
    background: var(--red);
}

.tool-choice-icon svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.tool-choice strong,
.tool-choice small {
    display: block;
}

.tool-choice > div,
.section-heading > div,
.result-copy {
    min-width: 0;
}

.tool-choice strong {
    font-size: 15px;
}

.tool-choice strong b {
    display: inline-block;
    margin-left: 5px;
    padding: 3px 5px;
    border-radius: 4px;
    color: #fff;
    background: var(--red);
    font-size: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.tool-choice small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.workspace {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.tool-panel[hidden] {
    display: none;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.step-number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.section-heading p,
.section-heading h2 {
    margin: 0;
}

.section-heading p {
    margin-bottom: 3px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 23px;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.drop-zone {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 28px;
    border: 2px dashed #edc4c2;
    border-radius: 14px;
    background: #fffafa;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
    border-color: var(--red);
    background: var(--red-soft);
}

.drop-zone.has-file {
    min-height: 100px;
}

.drop-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.upload-orbit {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--red);
    background: #fff;
    box-shadow: 0 5px 18px rgba(198, 40, 40, .1);
}

.upload-orbit svg {
    width: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.drop-main strong,
.drop-main small {
    display: block;
}

.drop-main strong {
    margin-bottom: 6px;
    font-size: 17px;
}

.drop-main small {
    color: var(--muted);
    font-size: 13px;
}

.drop-main u {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

.drop-limit {
    margin-left: auto;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafa;
}

.file-card[hidden] {
    display: none;
}

.file-icon {
    display: grid;
    width: 40px;
    height: 43px;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: var(--red);
    font-size: 9px;
    font-weight: 900;
}

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

.file-info strong,
.file-info span {
    display: block;
}

.file-info strong {
    overflow: hidden;
    max-width: min(600px, 60vw);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.file-info span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.icon-button {
    display: grid;
    width: 35px;
    height: 35px;
    margin-left: auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
}

.icon-button:hover {
    color: var(--red);
    border-color: #e7aaa7;
}

.icon-button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.settings-card {
    min-width: 0;
    margin: 0;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.settings-card legend {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 750;
}

.setting-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 8px;
    color: var(--red) !important;
    background: var(--red-soft) !important;
}

.setting-icon svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.field {
    display: block;
    margin-top: 15px;
}

.field > span,
.zip-field > span,
.mini-field > span {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.field output {
    color: var(--ink);
}

select,
.mini-field div,
.zip-field div,
.text-input {
    width: 100%;
    border: 1px solid #d8dce2;
    border-radius: 9px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

select {
    height: 43px;
    padding: 0 36px 0 11px;
    cursor: pointer;
}

select:focus,
.mini-field div:focus-within,
.zip-field div:focus-within,
.text-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .1);
}

.text-input {
    display: block;
    height: 43px;
    padding: 0 11px;
}

.range-field {
    padding-top: 3px;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    margin: 7px 0 0;
    accent-color: var(--red);
    cursor: pointer;
}

.range-field.compact {
    margin-top: 12px;
}

.dimensions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.dimensions[hidden] {
    display: none;
}

.mini-field {
    min-width: 0;
    flex: 1;
}

.mini-field div {
    display: flex;
    height: 42px;
    align-items: center;
}

.mini-field input {
    min-width: 0;
    width: 100%;
    border: 0;
    color: var(--ink);
    background: transparent;
    outline: none;
    padding: 0 8px;
}

.mini-field b {
    padding-right: 8px;
    color: var(--muted);
    font-size: 10px;
}

.dimension-link {
    padding-bottom: 12px;
    color: var(--muted);
    font-size: 11px;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    cursor: pointer;
}

.toggle-row > span {
    margin-right: auto;
}

.toggle-row strong,
.toggle-row small {
    display: block;
}

.toggle-row strong {
    font-size: 12px;
}

.toggle-row small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.toggle-row input {
    position: absolute;
    opacity: 0;
}

.toggle-row i {
    position: relative;
    width: 39px;
    height: 22px;
    flex: 0 0 auto;
    border: 1px solid #d5d9df;
    border-radius: 999px;
    background: #e6e8ec;
    transition: .2s ease;
}

.toggle-row i::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    content: "";
    transition: .2s ease;
}

.toggle-row input:checked + i {
    border-color: var(--red);
    background: var(--red);
}

.toggle-row input:checked + i::after {
    left: 20px;
}

.finish-row {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-top: 22px;
}

.form-submit-only {
    justify-content: flex-end;
}

.merge-settings {
    grid-template-columns: repeat(2, 1fr);
}

.selected-files {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.selected-file-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-bottom: 1px solid var(--line);
}

.selected-file-row:last-child {
    border-bottom: 0;
}

.file-order {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 7px;
    color: var(--red-dark);
    background: var(--red-soft);
    font-size: 10px;
    font-weight: 800;
}

.selected-file-row > div {
    min-width: 0;
}

.selected-file-row strong,
.selected-file-row small {
    display: block;
}

.selected-file-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.selected-file-row small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.file-actions {
    display: flex;
    gap: 5px;
}

.file-actions button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    font-size: 15px;
}

.file-actions button:hover:not(:disabled) {
    color: var(--red);
    border-color: #e7aaa7;
}

.file-actions button:disabled {
    cursor: default;
    opacity: .3;
}

.beta-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    background: var(--red);
    font-size: 8px;
    letter-spacing: .06em;
    vertical-align: 1px;
}

.beta-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #efd2a7;
    border-radius: 10px;
    color: #745224;
    background: #fff9ec;
    font-size: 12px;
    line-height: 1.55;
}

.beta-note strong {
    margin-right: 4px;
}

.compact-drop {
    min-height: 125px;
}

.word-icon {
    background: #2855a7;
}

.single-field-row {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-top: 18px;
}

.single-field-row .field {
    max-width: 480px;
    margin: 0;
    flex: 1;
}

.zip-field {
    max-width: 480px;
    flex: 1;
}

.zip-field div {
    display: flex;
    height: 50px;
    align-items: center;
}

.zip-field svg {
    width: 18px;
    margin-left: 14px;
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.zip-field input {
    min-width: 0;
    flex: 1;
    border: 0;
    color: var(--ink);
    background: transparent;
    outline: none;
    padding: 0 10px;
}

.zip-field b {
    margin-right: 14px;
    color: var(--muted);
    font-size: 12px;
}

.primary-button,
.download-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 9px 20px rgba(198, 40, 40, .2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.primary-button {
    min-width: 225px;
    padding: 0 22px;
}

.primary-button:hover,
.download-button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.primary-button:disabled {
    cursor: wait;
    opacity: .55;
    transform: none;
}

.primary-button svg,
.download-button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.preset-panel {
    margin-top: 26px;
    padding: 18px;
    border: 1px solid #edc4c2;
    border-radius: 13px;
    background: linear-gradient(135deg, #fff 0%, #fff7f6 100%);
}

.preset-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preset-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: var(--red);
    background: var(--red-soft);
}

.preset-icon svg,
.preset-url button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.preset-copy strong {
    display: block;
    font-size: 14px;
}

.preset-copy p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.preset-url {
    display: flex;
    gap: 9px;
    margin-top: 14px;
}

.preset-url input {
    min-width: 0;
    height: 44px;
    flex: 1;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #4d535b;
    background: #fff;
    outline: none;
    font-size: 11px;
}

.preset-url input:focus {
    border-color: #dc8581;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .09);
}

.preset-url button {
    display: inline-flex;
    min-width: 135px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--red);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.preset-url button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.preset-panel > small {
    display: block;
    min-height: 16px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
}

.preset-panel > small.is-success {
    color: #21854b;
    font-weight: 700;
}

.progress-panel,
.result-panel {
    margin-top: 24px;
    border: 1px solid #edc4c2;
    border-radius: 13px;
    background: #fffafa;
}

.progress-panel {
    padding: 23px;
}

.progress-panel[hidden],
.result-panel[hidden] {
    display: none;
}

.progress-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.processing-symbol {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 10px;
    background: var(--red-soft);
}

.processing-symbol span {
    width: 4px;
    border-radius: 3px;
    background: var(--red);
    animation: signal 1s ease-in-out infinite;
}

.processing-symbol span:nth-child(1) {
    height: 10px;
}

.processing-symbol span:nth-child(2) {
    height: 19px;
    animation-delay: .15s;
}

.processing-symbol span:nth-child(3) {
    height: 14px;
    animation-delay: .3s;
}

@keyframes signal {
    0%, 100% { opacity: .35; transform: scaleY(.65); }
    50% { opacity: 1; transform: scaleY(1); }
}

.progress-top p,
.progress-top strong {
    display: block;
    margin: 0;
}

.progress-top p {
    margin-bottom: 4px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.progress-top strong {
    font-size: 13px;
}

.progress-top > b {
    margin-left: auto;
    color: var(--red);
    font-size: 22px;
}

.progress-track {
    height: 8px;
    margin: 20px 0 12px;
    overflow: hidden;
    border-radius: 99px;
    background: #f0d9d8;
}

.progress-track i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--red);
    transition: width .28s ease;
}

.progress-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
}

.progress-foot button {
    border: 0;
    color: var(--red-dark);
    background: transparent;
    cursor: pointer;
    font-size: 11px;
}

.result-panel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 23px;
}

.result-check {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: var(--success);
    background: #eaf8f2;
}

.result-check svg {
    width: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.result-copy p,
.result-copy h3,
.result-copy span {
    margin: 0;
}

.result-copy p {
    margin-bottom: 4px;
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.result-copy h3 {
    font-size: 19px;
}

.result-copy span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.download-button {
    min-width: 170px;
    padding: 0 20px;
}

.download-button.is-downloading {
    pointer-events: none;
    opacity: .7;
}

.new-conversion {
    grid-column: 2 / 4;
    justify-self: end;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid var(--red);
    border-radius: 8px;
    color: var(--red-dark);
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    transition: color .2s ease, background .2s ease;
}

.new-conversion:hover {
    color: #fff;
    background: var(--red);
}

.new-conversion svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.form-error {
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #efb4b1;
    border-radius: 9px;
    color: #8c2723;
    background: var(--red-soft);
    font-size: 12px;
}

.privacy-section {
    padding: 52px 0 20px;
}

.privacy-card {
    display: grid;
    grid-template-columns: auto minmax(260px, .9fr) 1.2fr;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.shield {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 15px;
    color: var(--red);
    background: var(--red-soft);
}

.shield svg {
    width: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.privacy-card > div:nth-child(2) > p:first-child {
    margin: 0 0 5px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.privacy-card h2 {
    margin: 0 0 9px;
    font-size: 24px;
    letter-spacing: -.03em;
}

.privacy-card > div:nth-child(2) > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.privacy-timeline {
    display: flex;
    align-items: center;
}

.privacy-timeline > div {
    min-width: 105px;
    text-align: center;
}

.privacy-timeline > div > span {
    display: grid;
    width: 29px;
    height: 29px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 10px;
    font-weight: 800;
}

.privacy-timeline p,
.privacy-timeline b,
.privacy-timeline small {
    display: block;
    margin: 0;
}

.privacy-timeline b {
    font-size: 10px;
}

.privacy-timeline small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.35;
}

.privacy-timeline > i {
    height: 1px;
    flex: 1;
    margin: 0 -8px 40px;
    background: #efc1bf;
}

.expiry-note {
    grid-column: 2 / 4;
    color: var(--muted);
    font-size: 10px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 0 70px;
}

.features article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.features article > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--red);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.features h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.features p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

footer span {
    color: var(--ink);
    font-weight: 800;
}

footer p {
    margin: 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .tool-picker {
        grid-template-columns: 1fr;
    }

    .tool-choice {
        min-height: 90px;
    }

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

    .settings-card:last-child {
        grid-column: 1 / 3;
    }

    .privacy-card {
        grid-template-columns: auto 1fr;
    }

    .privacy-timeline,
    .expiry-note {
        grid-column: 1 / 3;
    }
}

@media (max-width: 700px) {
    .site-header,
    main,
    footer {
        width: calc(100% - 24px);
        max-width: 1080px;
    }

    .header-badge {
        display: none;
    }

    .hero {
        padding: 55px 0 52px;
    }

    .hero h1 {
        font-size: clamp(38px, 10.5vw, 50px);
        overflow-wrap: anywhere;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .workspace {
        padding: 20px;
        border-radius: 14px;
    }

    .tool-choice {
        padding: 16px;
    }

    .drop-zone {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .drop-limit {
        margin-left: 0;
    }

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

    .merge-settings {
        grid-template-columns: 1fr;
    }

    .settings-card:last-child {
        grid-column: auto;
    }

    .finish-row {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit-only .primary-button,
    .single-field-row .primary-button {
        width: 100%;
    }

    .single-field-row {
        align-items: stretch;
        flex-direction: column;
    }

    .single-field-row .field {
        max-width: none;
    }

    .zip-field {
        max-width: none;
    }

    .primary-button {
        width: 100%;
    }

    .preset-url {
        flex-direction: column;
    }

    .preset-url button {
        min-height: 44px;
        width: 100%;
    }

    .result-panel {
        grid-template-columns: auto 1fr;
    }

    .download-button,
    .new-conversion {
        grid-column: 1 / 3;
    }

    .download-button {
        width: 100%;
    }

    .new-conversion {
        justify-self: center;
    }

    .privacy-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .privacy-timeline,
    .expiry-note {
        grid-column: auto;
    }

    .privacy-timeline {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .privacy-timeline > div {
        display: flex;
        align-items: center;
        gap: 11px;
        text-align: left;
    }

    .privacy-timeline > div > span {
        margin: 0;
        flex: 0 0 auto;
    }

    .privacy-timeline > i {
        display: none;
    }

    .features {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

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