:root {
    --page: #e7eaec;
    --page-deep: #dde1e3;
    --surface: #f8f9f9;
    --surface-strong: #ffffff;
    --ink: #192024;
    --muted: #5f696f;
    --line: #cfd5d8;
    --line-soft: #e3e7e9;
    --accent: #df244c;
    --accent-deep: #bd173b;
    --accent-soft: #fbe8ed;
    --success: #16774b;
    --success-soft: #e4f3eb;
    --error: #a72d3b;
    --shadow: 0 24px 60px rgba(35, 44, 49, 0.12);
    --radius-lg: 26px;
    --radius-md: 17px;
    --section-space: clamp(56px, 6vw, 72px);
    --section-heading-space: 26px;
    --card-space: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(223, 36, 76, 0.3);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.page-width {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: -60px;
    z-index: 100;
    padding: 11px 16px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
}

.skip-link:focus {
    top: 18px;
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(113, 124, 130, 0.2);
    background: rgba(231, 234, 236, 0.92);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-link,
.logo {
    display: inline-flex;
    align-items: center;
}

.logo {
    gap: 10px;
    line-height: 1;
}

.logo-mark {
    width: 37px;
    height: 37px;
    flex: none;
}

.logo-mark rect {
    fill: var(--accent);
}

.logo-mark path {
    fill: #fff;
}

.logo-word {
    color: var(--ink);
    font-size: 25px;
    font-weight: 780;
    letter-spacing: -1.1px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 29px;
    color: #3f494e;
    font-size: 14px;
    font-weight: 620;
}

.desktop-nav a {
    padding: 8px 0;
    transition: color 150ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active {
    color: var(--accent-deep);
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-nav summary {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
    background: rgba(255, 255, 255, 0.55);
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav summary span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
}

.mobile-nav[open] summary span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav[open] summary span:nth-child(2) {
    opacity: 0;
}

.mobile-nav[open] summary span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav nav {
    position: absolute;
    right: 0;
    top: 52px;
    width: 235px;
    padding: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.mobile-nav nav a {
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 650;
}

.mobile-nav nav a:hover {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.hero-section,
.tool-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(111, 123, 129, 0.18);
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.9), transparent 48%),
        linear-gradient(180deg, var(--page) 0%, var(--page-deep) 100%);
}

.hero-section {
    padding: 60px 0 56px;
}

.hero-section::before,
.hero-section::after,
.tool-hero::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::before {
    width: 340px;
    height: 340px;
    left: -180px;
    top: 20px;
    background: rgba(223, 36, 76, 0.055);
}

.hero-section::after {
    width: 300px;
    height: 300px;
    right: -150px;
    bottom: -80px;
    background: rgba(90, 110, 120, 0.07);
}

.tool-hero::before {
    width: 300px;
    height: 300px;
    right: -120px;
    top: 70px;
    background: rgba(223, 36, 76, 0.045);
}

.hero-inner,
.tool-hero > .page-width {
    position: relative;
    z-index: 1;
}

.hero-inner {
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 11px;
    border: 1px solid rgba(111, 123, 129, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    color: #515d63;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(223, 36, 76, 0.12);
}

.hero-inner h1,
.tool-heading h1,
.article-header h1 {
    margin: 0;
    line-height: 1.03;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero-inner h1 {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 760;
}

.hero-copy {
    max-width: 680px;
    margin: 16px auto 26px;
    color: var(--muted);
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
}

.converter-card {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: var(--card-space);
    border: 1px solid rgba(181, 189, 193, 0.86);
    border-radius: var(--radius-lg);
    background: rgba(248, 249, 249, 0.96);
    box-shadow: var(--shadow);
    text-align: left;
}

.format-tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #e9edef;
}

.format-tabs button {
    min-width: 76px;
    padding: 9px 17px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #5c676d;
    font-size: 13px;
    font-weight: 780;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.format-tabs button[aria-pressed="true"] {
    background: var(--surface-strong);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(40, 49, 53, 0.09);
}

.format-tabs button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.converter-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.url-field {
    min-width: 0;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 8px 0 16px;
    border: 1px solid #c8cfd2;
    border-radius: 14px;
    background: var(--surface-strong);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.url-field:focus-within {
    border-color: #aeb8bc;
    box-shadow: 0 0 0 4px rgba(74, 90, 97, 0.08);
}

.url-field > svg,
.paste-button svg,
.button svg,
.trust-row svg,
.feature-grid svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.url-field > svg {
    width: 21px;
    height: 21px;
    flex: none;
    color: #7b868b;
    stroke-width: 1.8;
}

.url-field input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
}

.url-field input::placeholder {
    color: #8a9499;
}

.paste-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: #f2f4f4;
    color: #4c575c;
    font-size: 13px;
    font-weight: 680;
    cursor: pointer;
}

.paste-button:hover {
    background: #e9eded;
}

.paste-button svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.7;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.button:disabled {
    opacity: 0.68;
    cursor: wait;
    transform: none;
}

.button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(191, 25, 60, 0.2);
}

.button-primary:hover {
    background: var(--accent-deep);
}

.button-secondary {
    border-color: #b8c1c5;
    background: rgba(255, 255, 255, 0.5);
    color: var(--ink);
}

.button-secondary:hover {
    background: #fff;
}

.button-success {
    background: var(--success);
    color: #fff;
}

.convert-button {
    min-width: 177px;
    height: 60px;
    padding-inline: 24px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.turnstile-wrap {
    min-height: 4px;
    margin-top: 13px;
}

.converter-status {
    min-height: 20px;
    margin-top: 13px;
    color: #687379;
    font-size: 13px;
    text-align: center;
}

.converter-status.is-error {
    color: var(--error);
    font-weight: 650;
}

.video-result {
    margin-top: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
}

.video-result > img {
    width: 190px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 11px;
    background: #dde1e3;
}

.video-result-copy {
    min-width: 0;
    align-self: center;
}

.result-label {
    color: var(--success);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.video-result h2 {
    margin: 5px 0 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.video-result-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.result-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.result-meta span {
    padding: 5px 8px;
    border: 1px solid #dce2e4;
    border-radius: 999px;
    background: #f3f5f5;
    color: #556167;
    font-size: 11px;
    font-weight: 750;
}

.result-action {
    margin-top: 13px;
    min-height: 43px;
}

.progress-wrap {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 680;
}

.progress-wrap progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    appearance: none;
}

.progress-wrap progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #e8ecee;
}

.progress-wrap progress::-webkit-progress-value {
    border-radius: 999px;
    background: var(--accent);
}

.progress-wrap progress::-moz-progress-bar {
    border-radius: 999px;
    background: var(--accent);
}

.trust-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    color: #556167;
    font-size: 13px;
    font-weight: 610;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-row svg {
    width: 17px;
    height: 17px;
    color: var(--success);
    stroke-width: 2;
}

.content-section {
    padding-top: var(--section-space);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto var(--section-heading-space);
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.section-heading h2,
.editorial-copy h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.09;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.section-heading p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.step-card {
    min-height: 190px;
    padding: var(--card-space);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(248, 249, 249, 0.72);
}

.step-number {
    width: 41px;
    height: 41px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.step-card h3 {
    margin: 24px 0 8px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.editorial-section {
    padding-top: var(--section-space);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 52px;
    align-items: start;
}

.home-editorial {
    padding-top: var(--section-space);
}

.editorial-copy p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
}

.benefit-panel {
    padding: 8px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(248, 249, 249, 0.72);
}

.benefit-panel > div {
    padding: 19px 0;
    display: flex;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.benefit-panel > div:last-child {
    border-bottom: 0;
}

.benefit-panel > div > span {
    width: 25px;
    height: 25px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 13px;
    font-weight: 800;
}

.benefit-panel h3 {
    margin: 1px 0 5px;
    font-size: 15px;
}

.benefit-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.tool-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.format-feature {
    min-height: 300px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(248, 249, 249, 0.78);
}

.format-feature-audio {
    background: linear-gradient(145deg, #f8f9f9, #f5e9ed);
}

.format-feature-video {
    background: linear-gradient(145deg, #f8f9f9, #e8eef0);
}

.format-feature-shorts {
    background: linear-gradient(145deg, #f8f9f9, #eee9f1);
}

.format-label {
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.format-feature h3 {
    margin: 48px 0 11px;
    font-size: 24px;
    letter-spacing: -0.035em;
}

.format-feature p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.text-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 750;
}

.text-link span {
    transition: transform 150ms ease;
}

.text-link:hover span {
    transform: translateX(3px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-grid article {
    padding: 22px;
    border-top: 1px solid var(--line);
}

.feature-grid svg {
    width: 31px;
    height: 31px;
    color: var(--accent-deep);
    stroke-width: 1.6;
}

.feature-grid h3 {
    margin: 20px 0 8px;
    font-size: 18px;
}

.feature-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.faq-preview {
    padding-bottom: 18px;
}

.faq-list {
    border-top: 1px solid #bbc4c8;
}

.faq-list details {
    border-bottom: 1px solid #bbc4c8;
}

.faq-list summary {
    min-height: 64px;
    padding: 17px 48px 17px 0;
    position: relative;
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 680;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary > span,
.faq-list summary > span::after {
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-deep);
}

.faq-list summary > span {
    right: 8px;
}

.faq-list summary > span::after {
    content: "";
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.faq-list details[open] summary > span::after {
    transform: rotate(0);
}

.faq-list details p {
    max-width: 850px;
    margin: -2px 0 20px;
    color: var(--muted);
    line-height: 1.72;
}

.secondary-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 750;
}

.notice-section {
    margin-top: 64px;
    margin-bottom: 72px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(248, 249, 249, 0.68);
}

.notice-section h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.notice-section p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.site-footer {
    padding-top: 42px;
    background: #242c30;
    color: #e8ecee;
}

.footer-grid {
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}

.site-footer .logo-word {
    color: #fff;
}

.footer-brand p {
    max-width: 340px;
    margin: 14px 0 0;
    color: #aeb8bd;
    font-size: 14px;
    line-height: 1.7;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-grid h2 {
    margin: 3px 0 8px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-grid a {
    color: #b8c1c5;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #3e474c;
    color: #8f9ba1;
    font-size: 12px;
}

.tool-hero {
    padding: 24px 0 56px;
}

.breadcrumbs {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6c777d;
    font-size: 12px;
}

.breadcrumbs a:hover {
    color: var(--accent-deep);
}

.tool-heading {
    max-width: 840px;
    margin: 36px auto 24px;
    text-align: center;
}

.tool-heading h1,
.article-header h1 {
    font-size: clamp(32px, 4vw, 46px);
}

.tool-heading p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.switch-format {
    margin-top: 56px;
    margin-bottom: 72px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #c7d0d4;
    border-radius: 20px;
    background: #dce3e5;
}

.switch-format h2 {
    margin: 0 0 7px;
    font-size: 21px;
    letter-spacing: -0.03em;
}

.switch-format p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.article-main {
    padding: 24px 0 72px;
}

.article-header {
    max-width: 860px;
    margin: 44px 0 32px;
}

.article-header p {
    max-width: 780px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.article-body {
    max-width: 920px;
    padding: 34px 40px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(248, 249, 249, 0.74);
}

.article-body > h2 {
    margin: 30px 0 10px;
    font-size: 21px;
    letter-spacing: -0.03em;
}

.article-body > h2:first-child,
.article-body > .effective-date + h2 {
    margin-top: 0;
}

.article-body > p {
    margin: 0 0 16px;
    color: #566167;
    font-size: 15px;
    line-height: 1.72;
}

.article-body a,
.form-heading a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body ul {
    margin: 0 0 22px;
    padding-left: 22px;
    color: #566167;
}

.article-body li {
    margin: 9px 0;
    line-height: 1.65;
}

.article-body .faq-list {
    margin-top: -8px;
}

.effective-date {
    color: var(--accent-deep) !important;
    font-size: 13px !important;
    font-weight: 750;
}

.article-cta {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-article {
    max-width: 1000px;
}

.contact-layout {
    max-width: 1000px;
}

.contact-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.contact-topics article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.contact-topics article > span {
    color: var(--accent-deep);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.contact-topics h2 {
    margin: 20px 0 7px;
    font-size: 17px;
}

.contact-topics p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.contact-form {
    margin-top: 22px;
    padding: 24px;
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
}

.form-heading h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.form-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #3f4a50;
    font-size: 13px;
    font-weight: 680;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #c8d0d3;
    border-radius: 10px;
    background: #f9fafa;
    color: var(--ink);
    outline: none;
}

.contact-form input,
.contact-form select {
    height: 47px;
    padding: 0 12px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding: 12px;
    line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #9ca9ae;
    box-shadow: 0 0 0 4px rgba(74, 90, 97, 0.08);
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-status {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form-status.error {
    color: var(--error);
}

.form-status.success {
    color: var(--success);
}

.status-page {
    min-height: 68vh;
    padding-top: 76px;
    padding-bottom: 76px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.status-code {
    margin-bottom: 18px;
    color: var(--accent-deep);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-page h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 50px);
    letter-spacing: -0.05em;
}

.status-page p {
    max-width: 560px;
    margin: 16px 0 28px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 920px) {
    .desktop-nav {
        gap: 20px;
        font-size: 13px;
    }

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

    .format-feature-shorts {
        grid-column: 1 / -1;
        min-height: 300px;
    }
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .hero-section {
        padding-top: 48px;
    }

    .converter-input-row {
        grid-template-columns: 1fr;
    }

    .convert-button {
        width: 100%;
    }

    .steps-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 0;
    }

    .editorial-section {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-topics {
        grid-template-columns: 1fr;
    }

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

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

    .format-feature-shorts {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .page-width {
        width: min(100% - 24px, 1120px);
    }

    .header-inner {
        min-height: 68px;
    }

    .hero-section {
        padding: 40px 0 44px;
    }

    .hero-inner h1 {
        font-size: 32px;
    }

    .hero-copy {
        margin-top: 16px;
        font-size: 16px;
    }

    .converter-card {
        padding: 14px;
        border-radius: 19px;
    }

    .url-field {
        height: 56px;
        padding-left: 12px;
    }

    .url-field > svg {
        display: none;
    }

    .paste-button {
        padding-inline: 9px;
    }

    .convert-button {
        height: 55px;
    }

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

    .video-result > img {
        width: 100%;
    }

    .trust-row {
        gap: 10px 16px;
        font-size: 12px;
    }

    .content-section,
    .home-editorial {
        padding-top: 52px;
    }

    .format-feature {
        min-height: 270px;
        padding: 23px;
    }

    .notice-section {
        margin-top: 52px;
        margin-bottom: 56px;
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .footer-bottom p {
        margin: 0;
    }

    .tool-heading {
        margin-top: 28px;
    }

    .tool-heading h1 {
        font-size: 32px;
    }

    .tool-heading p {
        font-size: 16px;
    }

    .editorial-section {
        padding-top: 52px;
    }

    .switch-format {
        margin-top: 48px;
        margin-bottom: 56px;
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
    }

    .article-main {
        padding-bottom: 56px;
    }

    .article-header {
        margin: 34px 0 28px;
    }

    .article-header h1 {
        font-size: 34px;
    }

    .article-header p {
        font-size: 16px;
    }

    .article-body {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 374px) {
    .hero-inner h1,
    .tool-heading h1 {
        font-size: 30px;
    }

    .format-tabs {
        width: 100%;
    }

    .format-tabs button {
        flex: 1;
    }
}

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