@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/OpenSans-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --site-font: "Open Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    --tblr-font-sans-serif: var(--site-font);
    --tblr-body-font-family: var(--site-font);
}

body {
    font-family: var(--site-font);
    font-size: 16px;
    line-height: 1.75;
}

button, input, select, textarea { font-family: inherit; }
.brand { font-size: 28px; letter-spacing: -.8px; }
.header-inner nav { font-size: 16px; gap: 28px; font-weight: 600; }
.header-inner nav a { color: #334155; }
.platform-menu > summary { font-size: 16px; }
.header-inner nav .platform-options a { font-size: 16px; min-height: 48px; }
.language-menu summary { font-size: 15px; min-height: 42px; }
.language-menu nav a { font-size: 14px; line-height: 1.6; }

.hero-kicker { font-size: 13px; }
.hero h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.6px; }
.hero h1 > span { font-size: 26px; line-height: 1.5; letter-spacing: -.3px; }
.hero-description { font-size: 18px; line-height: 1.8; color: #5b677a; }
.parse-card .form-label { font-size: 14px; line-height: 1.6; color: #64748b; }
#video-url { font-family: var(--site-font); font-size: 16px; line-height: 1.6; padding-block: 8px; }
.url-input-wrap { position: relative; flex: 1; min-width: 0; }
.input-row .url-input-wrap .form-control { width: 100%; padding-left: 42px; padding-right: 42px; }
.input-row .url-input-wrap .link-icon { left: 14px; right: auto; top: 50%; transform: translateY(-50%); }
.input-row .url-input-wrap .clear-button { left: auto; right: 6px; top: 50%; transform: translateY(-50%); }
.parse-button { font-size: 16px; min-width: 180px; line-height: 1.5; }
.paste-button { font-size: 15px; line-height: 1.5; min-height: 44px; }
.input-meta { font-size: 14px; line-height: 1.7; color: #64748b; }
.privacy-label { color: #64748b; }
#form-status { font-size: 15px; line-height: 1.75; }
.feature-strip { font-size: 14px; color: #64748b; }

.result-heading h2 { font-size: 20px; line-height: 1.6; }
.result-heading > span { font-size: 14px; }
.result-heading .badge { font-size: 12px; }
.source-label { font-size: 13px; }
.summary-text h2 { font-size: 18px; line-height: 1.7; }
.summary-text p, .summary-text a { font-size: 14px; line-height: 1.7; }
.summary-foot { font-size: 13px; }
.download-title h2 { font-size: 18px; }
.download-title p { font-size: 14px; line-height: 1.75; }
.section-number { font-size: 14px; }
.resource-tab { font-size: 15px; min-height: 46px; }
.resource-tab .tab-count { font-size: 12px; }
.panel-heading h3 { font-size: 17px; }
.panel-heading p { font-size: 14px; line-height: 1.75; color: #64748b; }
.filter-label { font-size: 14px; }
.filter-label select { font-size: 14px; height: 40px; }
.resource-download { font-size: 15px; line-height: 1.6; min-height: 56px; padding: 11px 10px; }
.resource-meta, .stream-note { font-size: 13px; line-height: 1.7; }
.resource-pagination, .page-info { font-size: 14px; }
.resource-pagination .btn { font-size: 14px; min-height: 40px; }
.cover-grid .resource-item-top strong { font-size: 15px; }
.cover-grid .resource-actions .btn, .resource-actions .btn { font-size: 13px; min-height: 38px; }
.cover-size-status, .link-details summary, .header-value { font-size: 13px; line-height: 1.7; }
.link-details textarea { font-size: 14px; line-height: 1.7; }
.copy-toast { font-size: 14px; line-height: 1.7; }
.subtitle-notice, .direct-notice { font-size: 14px; line-height: 1.8; color: #5b677a; }
.empty-resources, .no-filter-results { font-size: 15px; line-height: 1.75; }
.parse-task strong { font-size: 17px; }
.parse-task p, .task-refresh { font-size: 15px; line-height: 1.75; }

.section-caption > span { font-size: 12px; }
.section-caption h2 { font-size: 26px; line-height: 1.5; }
.section-caption > p { font-size: 16px; line-height: 1.75; }
.benefits-grid h3, .steps-grid h3 { font-size: 18px; line-height: 1.6; }
.benefits-grid p, .steps-grid p { font-size: 16px; line-height: 1.85; color: #5b677a; }
.benefits-grid small { font-size: 12px; line-height: 1.7; }
.faq-grid summary { font-size: 17px; line-height: 1.75; font-weight: 600; color: #334155; }
.faq-grid p { font-size: 16px; line-height: 1.85; color: #5b677a; }
.content-heading p, .content-copy { font-size: 18px; line-height: 1.85; }
.content-copy h2 { font-size: 24px; line-height: 1.5; }

.site-footer { font-size: 16px; line-height: 1.75; }
.site-footer-inner { max-width: 1440px; }
.site-footer-logo { font-size: 27px; }
.site-footer-brand p { font-size: 15px; }
.site-footer h2 { font-size: 16px; }
.site-footer-language-grid a { font-size: 16px; line-height: 1.7; }
.site-footer-bottom { font-size: 14px; }

@media(max-width:1050px) {
    .resource-tab { padding-inline: 7px; }
    .summary-text h2 { font-size: 18px; }
}

@media(max-width:900px) {
    .header-inner > nav > a { display: none; }
}

@media(max-width:600px) {
    .header-inner { gap: 10px; min-height: 64px; }
    .brand { font-size: 23px; letter-spacing: -.8px; }
    .platform-menu > summary { font-size: 14px; }
    .language-menu summary { font-size: 13px; min-height: 40px; }
    .language-menu nav a { font-size: 13px; }
    .hero-kicker { font-size: 12px; }
    .hero h1 { font-size: 28px; line-height: 1.35; }
    .hero h1 > span { font-size: 21px; line-height: 1.5; }
    .hero-description { font-size: 16px; line-height: 1.8; }
    .parse-card { padding: 16px 13px; }
    .parse-card .form-label { font-size: 14px; }
    .input-row .form-control { height: 52px; }
    .url-input-wrap { flex: 0 0 100%; width: 100%; }
    .link-icon { top: 11px; }
    .clear-button { top: 10px; }
    .parse-button, .paste-button { height: 48px; font-size: 15px; min-width: 0; }
    .input-meta { font-size: 13px; line-height: 1.7; }
    .feature-strip { font-size: 13px; gap: 8px 14px; }
    .result-heading { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
    .result-heading h2 { font-size: 18px; }
    .result-heading > span { font-size: 13px; max-width: none; }
    .result-heading .badge { font-size: 11px; }
    .video-summary { grid-template-columns: 96px minmax(0,1fr); padding: 14px; }
    .video-thumbnail { width: 96px; }
    .summary-text h2 { font-size: 15px; line-height: 1.6; -webkit-line-clamp: 3; }
    .summary-text p { font-size: 13px; }
    .summary-text a { font-size: 14px; }
    .resource-tabs { gap: 4px; }
    .resource-tab { font-size: 14px; padding-inline: 3px; }
    .resource-tab .tab-count { font-size: 11px; }
    .panel-heading { flex-wrap: wrap; }
    .panel-heading h3 { font-size: 16px; }
    .panel-heading p { font-size: 14px; line-height: 1.7; }
    .filter-label { font-size: 14px; }
    .filter-label select { font-size: 14px; height: 42px; }
    .resource-download { font-size: 14px; min-height: 52px; padding: 10px 6px; }
    .resource-pagination { flex-wrap: wrap; gap: 8px; }
    .resource-pagination .btn { font-size: 13px; min-height: 40px; }
    .page-info { font-size: 13px; }
    .cover-grid .resource-item-top strong { font-size: 14px; }
    .cover-size-status { font-size: 13px; }
    .subtitle-notice, .direct-notice { font-size: 14px; line-height: 1.75; }
    .section-caption > span { font-size: 12px; }
    .section-caption h2 { font-size: 23px; }
    .section-caption > p { font-size: 15px; }
    .benefits-grid h3, .steps-grid h3 { font-size: 16px; }
    .benefits-grid p, .steps-grid p { font-size: 15px; line-height: 1.8; }
    .benefits-grid small { font-size: 12px; }
    .faq-grid summary { font-size: 16px; }
    .faq-grid p { font-size: 15px; }
    .content-copy, .content-heading p { font-size: 16px; }
    .content-header .container-xl { flex-wrap: wrap; padding-block: 12px; }
    .site-footer { font-size: 15px; }
    .site-footer-language-grid a { font-size: 15px; }
}

@media(max-width:420px) {
    .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 6px 10px; }
    .header-inner > nav { order: 3; flex-basis: 100%; height: 34px; margin-inline-start: 0; }
}
