:root {
  --bg: #faf9f5;
  --bg-2: #f5f4ee;
  --bg-3: #f0eee6;
  --card: #fff;
  --text: #141413;
  --muted: #73726c;
  --line: #e8e6dc;
  --line-2: #d1cfc5;
  --brand: #d97757;
  --brand-ink: #c15f3c;
  --brand-2: #141413;
  --accent: #c15f3c;
  --in: #4a7c59;
  --out: #b8463c;
  --warn: #a8701a;
  --radius: 12px;
  --shadow: 0 1px 2px #14141308, 0 2px 10px #14141309;
  --serif: "Tiempos Headline", "Copernicus", ui-serif, Georgia, "Noto Serif SC",
    "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --brand-font: "Cormorant Garamond", "Noto Serif SC", Georgia, "Times New Roman",
    serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #171614;
  --bg-2: #1f1e1b;
  --bg-3: #282622;
  --card: #22211e;
  --text: #f3f1ea;
  --muted: #a3a099;
  --line: #35332e;
  --line-2: #4a4740;
  --brand: #e08a6a;
  --brand-ink: #f0a88c;
  --brand-2: #f3f1ea;
  --accent: #e08a6a;
  --shadow: 0 1px 2px #00000040, 0 2px 12px #00000030;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--sans);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #a84e2e;
  text-underline-offset: 3px;
  text-decoration: underline;
}

[data-theme="dark"] a:hover {
  color: #f0a88c;
}

::selection {
  background: #d9775738;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.muted {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .site-header {
  background: var(--card);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px 0;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.nav-all-btn.open,
.nav-all-btn[aria-expanded="true"] {
  background: #fbf1ec;
  border-color: #f0d2c5;
  color: var(--brand-ink);
}

[data-theme="dark"] .nav-all-btn.open,
[data-theme="dark"] .nav-all-btn[aria-expanded="true"] {
  background: #3a2a24;
  border-color: #5a4036;
  color: var(--brand);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: transparent;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  padding: 20px 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px #14141314;
}

[data-theme="dark"] .mega-menu {
  background: var(--card);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 12px 16px;
}

.mega-col h3 {
  margin: 0 0 10px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
}

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
}

.mega-col a:hover,
.mega-col a.active {
  background: #eef6ff;
  color: #1d4ed8;
  text-decoration: none;
}

[data-theme="dark"] .mega-col a {
  color: var(--muted);
}

[data-theme="dark"] .mega-col a:hover,
[data-theme="dark"] .mega-col a.active {
  background: #2a3340;
  color: var(--brand);
}

.mega-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  background: color-mix(in srgb, var(--ico, #94a3b8) 18%, #fff);
  color: var(--ico, #94a3b8);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.hotbar-wrap {
  border-top: 1px solid transparent;
}

.chev {
  font-size: 10px;
  opacity: 0.7;
  margin-left: 2px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo .logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
}

.logo-name {
  font-family: var(--brand-font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}

[data-theme="dark"] .logo-name {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--brand-2);
  background: var(--brand-2);
  color: var(--bg);
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
}

.btn:hover {
  opacity: 0.92;
  text-decoration: none;
  color: var(--bg);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-2);
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
  opacity: 1;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.header-nav a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--brand-ink);
  background: #eaf4ff;
  text-decoration: none;
}

[data-theme="dark"] .header-nav a:hover,
[data-theme="dark"] .header-nav a.active {
  color: var(--brand);
  background: #2a3340;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.credits-pill:hover {
  text-decoration: none;
  color: var(--text);
  background: var(--bg-2);
}

.credits-pill .bolt {
  color: var(--brand);
}

.hotbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}

@media (min-width: 980px) {
  .hotbar-wrap {
    display: none;
  }
}

.hotbar::-webkit-scrollbar {
  display: none;
}

.hot-chip {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow);
}

.hot-chip:hover,
.hot-chip.active {
  color: var(--brand-ink);
  border-color: #f0d2c5;
  background: #fbf1ec;
  text-decoration: none;
}

[data-theme="dark"] .hot-chip:hover,
[data-theme="dark"] .hot-chip.active {
  background: #3a2a24;
  border-color: #5a4036;
  color: var(--brand);
}

.lang-menu {
  position: relative;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 180px;
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px #14141318;
}

.lang-dropdown.up {
  top: auto;
  bottom: calc(100% + 6px);
}

.lang-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--bg-2);
  color: var(--brand-ink);
  text-decoration: none;
}

.footer-lang-wrap {
  position: relative;
}

#langBtn {
  gap: 6px;
}

/* Main */
.page-main {
  flex: 1;
  padding: 24px 0 48px;
}

.announce {
  background: #fbf1ec;
  border: 1px solid #f0d2c5;
  color: var(--brand-ink);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
  font-size: 13px;
  text-align: center;
}

[data-theme="dark"] .announce {
  background: #3a2a24;
  border-color: #5a4036;
  color: var(--brand);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 24px 0 8px;
}

.hero-lead {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.7;
}

.section {
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tool-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  min-height: 88px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.tool-card:hover {
  border-color: #f0d2c5;
  box-shadow: 0 4px 18px #1414130f;
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text);
}

.tool-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.tool-card.ai {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fbf1ec 100%);
}

[data-theme="dark"] .tool-card.ai {
  background: linear-gradient(180deg, var(--card) 0%, #3a2a24 100%);
}

/* Content */
.content-block {
  margin: 28px 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.content-block h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.content-block > p,
.content-block .lead {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 52rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.feature-list li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.feature-list h3 {
  font-family: var(--serif);
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
}

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

.file-types,
.scene-grid,
.compare {
  display: grid;
  gap: 12px;
}

.file-type,
.scene-card,
.compare-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.scene-card {
  border-left: 2px solid var(--brand);
  background: transparent;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  padding: 4px 0 4px 16px;
}

.file-type h3,
.scene-card h3,
.compare-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.file-type p,
.scene-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.tag:hover {
  color: var(--brand-ink);
  background: #f6e3dc;
  text-decoration: none;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 14px 56px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5e6dd;
  color: var(--brand-ink);
  font-family: var(--serif);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .steps li::before {
  background: #3a2a24;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

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

.compare-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 13px;
}

.compare-card dt {
  color: var(--muted);
}

/* FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  background: transparent;
  border-radius: 0;
  margin: 0;
}

.faq details:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.faq details p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 13px;
  padding: 40px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 24px;
  padding-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--brand-font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.footer-logo:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-logo .logo-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-tagline {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
}

.footer-mail:hover {
  color: var(--brand-ink);
  text-decoration: none;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--brand-ink);
  text-decoration: none;
}

.footer-col .fi {
  width: 16px;
  text-align: center;
  opacity: 0.75;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
}

.footer-lang:hover {
  border-color: var(--line-2);
  background: var(--bg);
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px #d9775740;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--brand-ink);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 0.9fr 0.9fr 1fr;
  }
}

/* Tool page */
.tool-page {
  --tool-color: #185c37;
}

.tool-badge-row {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0 10px;
}

.tool-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tool-color) 12%, #fff);
  color: color-mix(in srgb, var(--tool-color) 75%, #0f172a);
  font-size: 12px;
  font-weight: 500;
}

.tool-hero {
  margin: 8px 0 18px;
}

.tool-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.tool-hero .lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.tool-intro {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  max-width: 58rem;
}

.workspace {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 18px;
}

.tool-workspace {
  padding: 14px;
}

.dropzone {
  border: 1.5px dashed var(--line-2);
  border-radius: 16px;
  padding: 40px 16px;
  text-align: center;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, filter 0.15s;
}

.dropzone-branded {
  border: 1px solid color-mix(in srgb, var(--tool-color) 35%, transparent);
  background: linear-gradient(
    225deg,
    var(--tool-color) 0%,
    color-mix(in srgb, var(--tool-color) 72%, #0b1220) 100%
  );
  padding: 12px;
  color: #fff;
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border: 1.5px dashed rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 40px 24px 30px;
  transition: border-color 0.15s, background 0.15s;
}

.dropzone-branded:hover .dropzone-inner,
.dropzone-branded.dragover .dropzone-inner {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
}

.dropzone.dragover {
  filter: brightness(1.08);
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.dropzone-branded h2 {
  font-family: var(--sans, "Noto Sans SC", system-ui, sans-serif);
  margin: 0 0 10px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.dropzone-branded p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13.5px;
  max-width: 52ch;
  line-height: 1.65;
  font-weight: 450;
}

.dropzone-branded .dropzone-note {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}

.btn-on-brand {
  margin-top: 18px;
  background: #fff;
  border-color: #fff;
  color: color-mix(in srgb, var(--tool-color) 78%, #0f172a);
  font-weight: 600;
  min-width: 148px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-on-brand:hover {
  background: #f8fafc;
  color: #0f172a;
  opacity: 1;
}

.upload-notice {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.dropzone h2 {
  font-family: var(--serif);
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.dropzone:not(.dropzone-branded) p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.tool-workspace .actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.bullet-list {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.bullet-list li + li {
  margin-top: 6px;
}

.guide-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.guide-section:first-of-type {
  margin-top: 8px;
}

.guide-section h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.guide-section p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.inline-links {
  margin: 8px 0 0;
  font-size: 13px;
}

.inline-links a {
  color: var(--tool-color, var(--brand-ink));
  font-weight: 500;
}

.compare-3 {
  grid-template-columns: 1fr;
}

.compare-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.compare-card h3 a {
  color: inherit;
}

.compare-card h3 a:hover {
  color: var(--tool-color, var(--brand-ink));
}

.tip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tip-grid li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 14px 56px;
  position: relative;
}

.tip-num {
  position: absolute;
  left: 14px;
  top: 14px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--tool-color, var(--brand-ink));
  font-weight: 600;
}

.tip-grid h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

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

.related-grid {
  display: grid;
  gap: 12px;
}

.related-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
}

.related-card:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--tool-color) 40%, var(--line));
  background: color-mix(in srgb, var(--tool-color) 6%, var(--card));
  color: var(--text);
}

.related-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tool-color, var(--brand-ink));
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.meta-grid-4 {
  grid-template-columns: 1fr 1fr;
}

.tool-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input:not([type="range"]),
.field select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--card);
  color: var(--text);
}

.field input:not([type="range"]):focus,
.field select:focus {
  outline: none;
  border-color: var(--line-2);
  box-shadow: 0 0 0 3px #d9775722;
}

.range-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  flex-wrap: wrap;
}

.range-field input[type="range"] {
  flex: 1;
  min-width: 120px;
  width: auto;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--tool-color, var(--brand, #c45c26));
  cursor: pointer;
}

.range-field input[type="range"]:focus {
  outline: none;
  box-shadow: none;
}

.range-bound {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  min-width: 2.5em;
  text-align: center;
}

.range-value {
  flex-shrink: 0;
  min-width: 2.25em;
  text-align: right;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}

.range-value-pill {
  min-width: 6.5em;
  text-align: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  font-size: 13px;
}

.file-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.result-preview {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.result-preview-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.result-preview-grid {
  display: grid;
  gap: 16px;
}

.result-preview-card {
  display: grid;
  gap: 10px;
}

.result-compare {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .result-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.result-pane {
  margin: 0;
  min-width: 0;
}

.result-pane figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.result-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  max-height: min(72vh, 580px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  padding: 10px;
}

.result-checker {
  background-color: #f3f0ea;
  background-image:
    linear-gradient(45deg, #e4ddd2 25%, transparent 25%),
    linear-gradient(-45deg, #e4ddd2 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e4ddd2 75%),
    linear-gradient(-45deg, transparent 75%, #e4ddd2 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

.result-frame img {
  max-width: 100%;
  max-height: min(70vh, 560px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

.result-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.result-preview-name {
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}

.result-frame-doc {
  padding: 0;
  min-height: 420px;
  max-height: min(75vh, 720px);
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
}

.doc-embed {
  width: 100%;
  height: min(75vh, 700px);
  min-height: 400px;
  border: 0;
  background: #fff;
  display: block;
}

@media (min-width: 900px) {
  .result-compare-doc {
    grid-template-columns: 1fr 1fr;
  }
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 13px;
}

.file-item.is-done {
  border-color: color-mix(in srgb, var(--tool-color, var(--in)) 35%, var(--line));
  background: color-mix(in srgb, var(--tool-color, var(--in)) 6%, var(--card));
}

.file-item.is-error {
  border-color: color-mix(in srgb, var(--out) 40%, var(--line));
}

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

.file-item-name {
  word-break: break-all;
}

.file-item .meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.file-item-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
}

.btn-download {
  min-width: 72px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.actions .btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
}

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

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

.status.ok {
  color: var(--in);
}

.meta-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 0 0 16px;
}

.meta-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-size: 13px;
}

.meta-item strong {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
  font-size: 12px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: #14141366;
  padding: 16px;
}

.contact-modal.open {
  display: grid;
}

.contact-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.contact-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 8px;
}

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

@media (max-width: 1200px) {
  .mega-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 16px 20px;
  }

  .mega-col h3 {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .mega-menu {
    max-height: min(70vh, 560px);
    overflow: auto;
  }

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

@media (min-width: 720px) {
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-list,
  .file-types,
  .compare {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .steps li {
    padding: 14px;
  }

  .steps li::before {
    position: static;
    margin-bottom: 10px;
  }

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

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

  .compare-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

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

@media (min-width: 980px) {
  .header-nav {
    display: flex;
  }

  .file-types,
  .scene-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .meta-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.legal-hero {
  margin-bottom: 8px;
}

.legal-section + .legal-section {
  margin-top: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-mail {
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-all;
}

.feedback-hero {
  margin-bottom: 8px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  margin: 0 0 36px;
}

.feedback-card,
.feedback-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px #14141308;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

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

.feedback-form textarea {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--card);
  color: var(--text);
  resize: vertical;
  font: inherit;
  line-height: 1.55;
}

.feedback-form textarea:focus {
  outline: none;
  border-color: var(--line-2);
  box-shadow: 0 0 0 3px #d9775722;
}

.feedback-actions {
  display: flex;
  justify-content: flex-start;
}

.feedback-actions .btn {
  min-width: 140px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  padding: 0 22px;
}

.feedback-actions .btn:hover {
  background: var(--brand-ink, #c15f3c);
}

.feedback-aside h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.feedback-tips {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.feedback-tips li + li {
  margin-top: 6px;
}

.feedback-mail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.feedback-mail-label {
  display: block;
}

.feedback-mail-link {
  display: inline-block;
  color: var(--brand-ink, #c15f3c);
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.feedback-flash {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.feedback-flash.ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.feedback-flash.err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

@media (max-width: 860px) {
  .feedback-layout {
    grid-template-columns: 1fr;
  }
  .feedback-row {
    grid-template-columns: 1fr;
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand-ink, #c15f3c);
  text-decoration: none;
}

.crumbs-sep {
  opacity: 0.45;
  user-select: none;
}

.crumbs-cur {
  color: var(--text);
  max-width: min(100%, 42rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-page {
  margin: 0 0 48px;
}

.blog-hero {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.blog-count {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-list {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
}

.blog-card,
.blog-card:hover,
.blog-card:focus,
.blog-card:visited,
.blog-card * {
  text-decoration: none !important;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 4px 18px #14141312;
  transform: translateY(-1px);
  color: inherit;
}

[data-theme="dark"] .blog-card:hover {
  box-shadow: 0 4px 18px #00000045;
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--bg-2), var(--bg-3));
  overflow: hidden;
  text-decoration: none;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}

.blog-card-media.is-placeholder {
  display: grid;
  place-items: center;
  min-height: 140px;
}

.blog-card-mark,
.blog-empty-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #d9775720;
  color: var(--brand-ink, #c15f3c);
  font-size: 1.35rem;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  min-width: 0;
}

.blog-card-body h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.blog-card:hover .blog-card-body h2 {
  color: var(--brand-ink, #c15f3c);
}

.blog-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.blog-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-empty {
  margin: 8px 0 0;
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line-2);
  border-radius: 18px;
}

.blog-empty p {
  margin: 0;
  font-size: 1.02rem;
}

.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 0;
}

.blog-pager-btn {
  min-width: 88px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.blog-pager-btn:hover {
  border-color: var(--brand);
  color: var(--brand-ink, #c15f3c);
  text-decoration: none;
}

.blog-pager-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.blog-pager-cur {
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-article {
  width: 100%;
  max-width: none;
  margin: 0 0 56px;
}

.blog-article-head {
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.blog-article-head h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.blog-article-head .blog-meta {
  display: block;
  margin: 0 0 18px;
}

.blog-article-cover {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.blog-article-cover img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.blog-article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote,
.blog-article-body pre,
.blog-article-body table,
.blog-article-body figure {
  margin: 1.15em 0 0;
}

.blog-article-body > :first-child {
  margin-top: 1.25em;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  margin: 1.4em 0 0.55em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.3;
}

.blog-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1.1em auto;
  border: 1px solid var(--line);
}

.blog-article-body a {
  color: var(--brand-ink, #c15f3c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-body blockquote {
  padding: 0.2em 0 0.2em 1em;
  border-inline-start: 3px solid var(--brand);
  color: var(--muted);
}

.blog-article-body ul,
.blog-article-body ol {
  padding-inline-start: 1.35em;
}

.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.blog-article-body th,
.blog-article-body td {
  border: 1px solid var(--line);
  padding: 8px 10px;
}

@media (min-width: 760px) {
  .blog-card {
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 168px;
  }
  .blog-card-media {
    aspect-ratio: auto;
    min-height: 100%;
  }
  .blog-card-media.is-placeholder {
    min-height: 100%;
  }
}
