*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow.pine { color: var(--pine); }
.eyebrow.pine::before { background: var(--pine); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.section-head p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
}

section { position: relative; }
.section-pad { padding: 88px 0; }
.section-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff8f4;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--text); background: var(--surface); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 4px;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 18px; height: 18px; color: #fff8f4; }
.brand .brand-en { color: var(--text-muted); font-weight: 600; font-size: 13px; margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.main-nav a:hover { color: var(--text); background: var(--bg-alt); }

.main-nav .nav-workspace { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.header-cta { padding: 8px 12px; font-size: 13.5px; }

.lang-select { position: relative; }
.lang-select summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
}
.lang-select summary::-webkit-details-marker { display: none; }
.lang-select summary svg { width: 14px; height: 14px; }
.lang-select[open] summary { border-color: var(--text); color: var(--text); }
.lang-select .lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 220px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 50;
}
.lang-select .lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.lang-select .lang-menu a:hover { background: var(--bg-alt); color: var(--text); }
.lang-select .lang-menu a[aria-current] { color: var(--accent); }

.tools-nav { position: relative; }
.tools-nav summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.tools-nav summary::-webkit-details-marker { display: none; }
.tools-nav summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  opacity: 0.6;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.tools-nav:hover summary, .tools-nav[open] summary { color: var(--text); background: var(--bg-alt); }
.tools-nav[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.tools-nav .tools-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 24px;
  z-index: 60;
  width: max-content;
}
.tools-menu-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.tools-menu-col a {
  display: block;
  padding: 6px 8px;
  margin: 0 -8px 2px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tools-menu-col a:hover { background: var(--bg-alt); color: var(--text); }
.tools-menu-viewall {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 14px !important;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent) !important;
}
.tools-menu-viewall:hover { background: transparent !important; text-decoration: underline; }

.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

.hero { padding: 68px 0 96px; overflow: hidden; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}
.trust-chip svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(0deg, var(--accent-soft) 0%, var(--accent-soft) 32%, transparent 32%);
  padding: 0 2px;
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats div strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
}
.hero-stats div span {
  font-size: 13px;
  color: var(--text-muted);
}

.section-tools-first {
  padding: 28px 0 56px;
  scroll-margin-top: 88px;
}
.tools-intro {
  text-align: center;
  margin-bottom: 22px;
}
.tools-intro .hero-trust-row {
  justify-content: center;
  margin-bottom: 14px;
}
.tools-intro h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.tools-intro-sub {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  font-size: 15px;
  color: var(--text-secondary);
}

.value-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.value-strip .container {
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .icon-box {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.value-item .icon-box svg { width: 20px; height: 20px; }
.value-item h3 { font-size: 15px; font-weight: 700; }
.value-item p { margin-top: 3px; font-size: 13.5px; color: var(--text-secondary); }

.section-tools { padding-top: 28px; scroll-margin-top: 88px; }
.tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: sticky;
  top: 72px;
  z-index: 40;
  padding: 12px 0;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--border);
}
.tools-search {
  position: relative;
  flex: 0 1 320px;
}
.tools-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 14.5px;
  color: var(--text);
}
.tools-search input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.tools-search svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
.tools-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  min-height: 44px;
}
.filter-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tools-empty {
  display: none;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.tools-empty.show { display: block; }

.tool-category { margin-bottom: 56px; }
.tool-category:last-child { margin-bottom: 0; }
.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cat-head h3 { font-size: 20px; font-weight: 800; }
.cat-head p { font-size: 14.5px; color: var(--text-secondary); }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.tool-grid-flat { margin-top: 4px; }
.tool-card {
  display: block;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tool-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tool-card .icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tool-card .icon-box svg { width: 20px; height: 20px; }
.tool-card h4 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-card p,
.tool-card-desc { margin-top: 7px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.tool-card .badges { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--pine-soft);
  color: var(--pine);
}
.badge.gold { background: var(--gold-soft); color: var(--gold); }
.tool-card .go {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.tool-card .go svg { width: 13px; height: 13px; transition: transform 0.15s ease; }
.tool-card:hover .go svg { transform: translateX(3px); }

.why-grid-compact .why-item .num { display: none; }
.why-grid-compact .why-item { padding: 28px; }
.why-grid-compact .why-item h3 { margin-top: 0; font-size: 17px; }
.section-how-compact { padding-top: 56px; padding-bottom: 56px; }
.blog-grid.blog-grid-single {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.section-blog-teaser .section-head { margin-bottom: 24px; }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scenario-card,
.tip-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.scenario-card .icon-box,
.tip-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--pine-soft);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.scenario-card .icon-box svg,
.tip-card .icon-box svg { width: 22px; height: 22px; }
.scenario-viewall {
  text-align: center;
  margin-top: 36px;
}
.scenario-viewall .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  height: auto;
}
.scenario-viewall .btn svg { flex-shrink: 0; }
.scenario-card h3,
.tip-card h3 { font-size: 16.5px; font-weight: 700; }
.scenario-card p,
.tip-card p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }
.scenario-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-links a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-alt);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.scenario-links a:hover { border-color: var(--accent); color: var(--accent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item { background: var(--surface); padding: 34px; }
.why-item .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.why-item h3 { margin-top: 10px; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.why-item h3 svg { width: 20px; height: 20px; color: var(--accent); }
.why-item p { margin-top: 10px; color: var(--text-secondary); font-size: 15px; }

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step-item { position: relative; padding-left: 0; }
.step-item .step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 18px;
  background: var(--surface);
}
.step-item h3 { font-size: 17px; font-weight: 700; }
.step-item p { margin-top: 8px; font-size: 14.5px; color: var(--text-secondary); }
.step-connector {
  position: absolute;
  top: 23px;
  left: 100%;
  width: calc(28px + 0px);
  border-top: 1px dashed var(--border-strong);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.blog-card .thumb {
  height: 132px;
  background: linear-gradient(160deg, var(--accent-soft) 0%, var(--pine-soft) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card .thumb svg { width: 34px; height: 34px; color: var(--accent); opacity: 0.85; }
.blog-card .thumb .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  color: var(--pine);
}
.blog-card .body { padding: 18px 20px 20px; }
.blog-card h3 { font-size: 15.5px; font-weight: 800; line-height: 1.45; letter-spacing: -0.01em; }
.blog-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.blog-card .meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.blog-card .meta svg { width: 14px; height: 14px; flex-shrink: 0; }

.faq-list { max-width: 760px; margin: 0 auto; overflow-anchor: none; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--text);
  transition: transform 0.2s ease;
}
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] summary .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-item[open] summary { color: var(--accent); }
.faq-answer { padding: 0 30px 22px 4px; color: var(--text-secondary); font-size: 15px; }

.cta-band {
  background: var(--dark);
  color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; font-weight: 800; color: #fff; max-width: 480px; }
.cta-band p { margin-top: 10px; color: #c7c1b3; max-width: 460px; }
.cta-band .btn-primary { background: var(--accent); color: #fff8f4; }
.cta-band .btn-primary:hover { background: var(--accent-dark); }
.cta-band .btn-secondary { border-color: var(--dark-border); color: var(--dark-text); }
.cta-band .btn-secondary:hover { border-color: var(--dark-text); background: rgba(255,255,255,0.04); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section-final-cta {
  padding-top: 0;
  padding-bottom: 0;
}

.legal-updated {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.legal-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.legal-section.alt { background: var(--bg-alt); }
.legal-section-inner { max-width: 720px; }
.legal-section h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.legal-list {
  margin: 8px 0 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.scn-intro { padding: 40px 0 6px; }
.scn-intro h1 {
  max-width: 780px;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.scn-intro .scn-lead {
  margin-top: 20px;
  max-width: 600px;
  font-size: 16.5px;
  color: var(--text-secondary);
}
.scn-stats { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.scn-stats div strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
}
.scn-stats div span { font-size: 12.5px; color: var(--text-muted); }

.scn-jumpnav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}
.scn-jumpnav .container {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.scn-jumpnav .container::-webkit-scrollbar { display: none; }
.scn-jumpnav a {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.scn-jumpnav a:hover { border-color: var(--text); color: var(--text); }
.scn-jumpnav a[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.scn-block { padding: 72px 0; border-bottom: 1px solid var(--border); }
.scn-block:last-of-type { border-bottom: none; padding-bottom: 88px; }
.scn-block-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: flex-start; }
.scn-block.reverse .scn-block-grid { grid-template-columns: 0.85fr 1.15fr; }
.scn-block.reverse .scn-visual-col { order: 1; }
.scn-block.reverse .scn-text-col { order: 2; }
.scn-text-col, .scn-visual-col { min-width: 0; }

.scn-block .num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-muted); }
.scn-block h2 { margin-top: 12px; font-size: clamp(22px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.01em; }
.scn-block .scn-pain { margin-top: 14px; font-size: 15.5px; color: var(--text-secondary); max-width: 560px; }

.scn-fit-label { margin-top: 26px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.scn-fit-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.scn-fit-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-secondary); }
.scn-fit-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--pine); }

.scn-steps { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.scn-steps li { display: flex; gap: 14px; align-items: flex-start; }
.scn-steps li .n {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.scn-steps li strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.scn-steps li span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-secondary); }

.scn-tool-links { margin-top: 26px; }

.scn-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 24px;
}
.scn-visual .visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--pine-soft);
  color: var(--pine);
  margin-bottom: 20px;
}
.scn-flow .flow-step { display: flex; align-items: center; gap: 14px; }
.scn-flow .flow-step .icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scn-flow .flow-step .icon-box svg { width: 20px; height: 20px; }
.scn-flow .flow-step span { font-size: 14px; font-weight: 700; }
.scn-flow .flow-connector { width: 1px; height: 22px; background: var(--border-strong); margin-left: 19px; }
.scn-visual .visual-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; gap: 6px; flex-wrap: wrap; }

.scn-extra { margin-top: 40px; }
.scn-extra-label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.scn-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.scn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}
.scn-table th,
.scn-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
}
.scn-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.scn-table td { color: var(--text-secondary); }
.scn-table tr:last-child td { border-bottom: none; }

.scn-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.scn-chip-row .spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
}
.scn-chip-row .spec-chip b { color: var(--text); font-weight: 700; }
.scn-chip-row .spec-chip span { color: var(--text-muted); }

.scn-callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--pine-soft);
  border: 1px solid var(--border);
}
.scn-callout svg { width: 20px; height: 20px; color: var(--pine); flex-shrink: 0; margin-top: 2px; }
.scn-callout p { font-size: 14px; color: var(--text); line-height: 1.6; }
.scn-callout.gold { background: var(--gold-soft); }
.scn-callout.gold svg { color: var(--gold); }

.faq-item.compact summary { padding: 13px 2px; font-size: 14.5px; }
.faq-item.compact .faq-answer { padding: 0 26px 15px 2px; font-size: 13.5px; }
.scn-mini-faq { margin-top: 34px; border-top: 1px solid var(--border); }
.scn-mini-faq-label { padding-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.scn-fallback { text-align: center; max-width: 560px; margin: 0 auto; }

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

.htu-guide { padding: 64px 0; border-bottom: 1px solid var(--border); }
.htu-guide.alt { background: var(--bg-alt); }
.htu-guide:last-of-type { border-bottom: none; }

.htu-guide-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 40px; }
.htu-guide-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.htu-guide-icon svg { width: 28px; height: 28px; }
.htu-guide-head .num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-muted); }
.htu-guide-head h2 { margin-top: 8px; font-size: clamp(21px, 2.4vw, 25px); font-weight: 800; letter-spacing: -0.01em; }
.htu-guide-example { font-weight: 500; color: var(--text-muted); font-size: 0.72em; }
.htu-guide-head > div > p { margin-top: 10px; font-size: 15px; color: var(--text-secondary); max-width: 640px; }

.htu-guide-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

.htu-timeline { display: flex; flex-direction: column; }
.htu-timeline li { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.htu-timeline li:last-child { padding-bottom: 0; }
.htu-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 1px;
  background: var(--border-strong);
}
.htu-timeline .dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.htu-timeline h3 { font-size: 15.5px; font-weight: 700; padding-top: 4px; }
.htu-timeline p { margin-top: 5px; font-size: 13.5px; color: var(--text-secondary); }

.htu-guide-aside { display: flex; flex-direction: column; gap: 18px; }
.htu-guide-aside .scn-callout p { font-size: 13.5px; }

.htu-batch-intro { font-size: 15px; color: var(--text-secondary); margin-bottom: 18px; }

.faq-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.faq-quick-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.faq-quick-card .icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--pine-soft);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.faq-quick-card .icon-box svg { width: 19px; height: 19px; }
.faq-quick-card h3 { font-size: 14.5px; font-weight: 700; }
.faq-quick-card p { margin-top: 6px; font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

.faq-search-bar { display: flex; justify-content: center; padding: 36px 24px 4px; }
.faq-search-bar .tools-search { flex: 0 1 440px; width: 100%; }

.tool-demo {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}
.tool-demo [id$="StageResult"],
.tool-demo [id$="Workspace"],
.tool-demo [id$="CompareWrap"],
.tool-demo [id$="PreviewWrap"],
.tool-demo .ui-scroll-stage {
  scroll-margin-block: 24px;
}

.convert-dropzone {
  position: relative;
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, var(--accent-soft) 0%, var(--surface) 58%);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.convert-dropzone:hover {
  border-style: solid;
  background: var(--accent-soft);
  box-shadow: var(--shadow-md);
}
.convert-dropzone.is-dragover {
  border-style: solid;
  border-color: var(--accent-dark);
  background: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.convert-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.convert-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 120px 32px;
  cursor: pointer;
  text-align: center;
}
.convert-dropzone-inner .icon-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--accent);
  border: 1px solid rgba(181, 71, 43, 0.28);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.convert-dropzone-inner .icon-box svg { width: 38px; height: 38px; }
.convert-dropzone-inner strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.convert-dropzone-inner span:last-child {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 36em;
}

.convert-settings {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;

  position: sticky;
  top: 72px;
  z-index: 25;
  max-height: calc(100vh - 72px - 64px);
  overflow-y: auto;

  overscroll-behavior: auto;
}
.convert-settings-label { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-right: 10px; }
.convert-settings-label b { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.format-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.format-btn svg { flex-shrink: 0; }
.format-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.convert-quality-group {
  display: flex;
  align-items: center;
  gap: 12px;

  flex: 1 1 auto;
  min-width: 200px;
  max-width: 100%;
}
.convert-quality-group input[type="range"] { flex: 1; accent-color: var(--accent); }

.convert-file-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  max-height: min(58vh, 604px);
  overflow-y: auto;

  overscroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding-right: 2px;
}
.convert-file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.convert-file-row[data-status="error"] { border-color: var(--accent-soft); background: var(--accent-soft); }
.convert-file-row.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.convert-file-row[role="button"] { cursor: pointer; }
.convert-file-row[role="button"]:hover { border-color: var(--border-strong); }
.convert-file-row[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfr-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cfr-thumb svg { width: 20px; height: 20px; color: var(--text-muted); }
.cfr-info { flex: 1; min-width: 0; }
.cfr-name { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfr-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }
.cfr-result { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.cfr-status { font-size: 12.5px; color: var(--text-muted); font-weight: 700; white-space: nowrap; }
.convert-file-row[data-status="done"] .cfr-status { color: var(--pine); }
.convert-file-row[data-status="error"] .cfr-status { color: var(--accent); display: flex; align-items: center; gap: 5px; }
.convert-file-row[data-status="error"] .cfr-status svg { width: 14px; height: 14px; }
.cfr-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pine-soft);
  color: var(--pine);
  flex-shrink: 0;
}
.cfr-download svg { width: 15px; height: 15px; }
.cfr-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfr-remove:hover { border-color: var(--accent); color: var(--accent); }
.cfr-remove svg { width: 14px; height: 14px; }

.convert-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;

  position: sticky;
  bottom: 0;
  z-index: 26;
  padding: 12px 0;
  background: var(--bg);
}
.convert-actions-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.convert-summary { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.reorder-hint {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.reorder-hint svg { width: 15px; height: 15px; flex-shrink: 0; }

.reorder-file-row { cursor: grab; }
.reorder-file-row.is-dragging { opacity: 0.45; cursor: grabbing; }
.reorder-file-row[data-status="error"] { cursor: default; }

.reorder-drag-handle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--text-muted);
}
.reorder-drag-handle svg { width: 16px; height: 16px; }

.reorder-badge {
  flex-shrink: 0;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.reorder-badge.is-error { background: transparent; color: var(--accent); }
.reorder-badge.is-error svg { width: 15px; height: 15px; }

.reorder-controls { gap: 6px; }
.reorder-move {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
}
.reorder-move:hover:not(:disabled) { border-color: var(--text); color: var(--text); }
.reorder-move:disabled { opacity: 0.35; cursor: default; }
.reorder-move svg { width: 14px; height: 14px; }

.result-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--pine-soft);
  border: 1px solid var(--pine);
  border-radius: var(--radius-md);
}
.result-bar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--pine);
  overflow: hidden;
}
.result-bar-icon svg { width: 24px; height: 24px; }
.result-bar-icon img { width: 100%; height: 100%; object-fit: cover; }
.result-bar-info { flex: 1; min-width: 0; }
.result-bar-info strong {
  display: block;
  font-size: 14.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-bar-info span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.result-bar .btn svg { width: 15px; height: 15px; }

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  padding: 0;
  cursor: pointer;
}
.color-swatch.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.color-swatch-custom {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .reorder-file-row { flex-wrap: wrap; }
  .result-bar { flex-wrap: wrap; }
  .result-bar .btn { width: 100%; justify-content: center; }
}

.compare-preview-wrap { margin-top: 22px; }
.compare-preview-label { margin-bottom: 10px; font-size: 12.5px; color: var(--text-muted); text-align: center; }
.compare-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-preview-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-preview-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.compare-preview-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  pointer-events: none;
}
.compare-preview-tag.after-tag { background: var(--pine-soft); color: var(--pine); border-color: transparent; }
.compare-preview-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255,255,255,0.86);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}
@media (max-width: 640px) {
  .compare-preview { grid-template-columns: 1fr; }
}

.ui-zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px 0 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.ui-zoom-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.ui-zoom-btn-label { pointer-events: none; }
.ui-zoom-btn:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }

.compare-preview-box .ui-zoom-btn { top: 10px; right: 10px; bottom: auto; }

@media (max-width: 1024px) {
  .ui-zoom-btn { min-height: 44px; padding: 0 12px 0 10px; font-size: 13px; }
  .ui-zoom-btn svg { width: 16px; height: 16px; }
}

.ui-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: rgba(24, 21, 17, 0.88);
}
.ui-lightbox[hidden] { display: none; }
.ui-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ui-lightbox-close svg { width: 20px; height: 20px; }
.ui-lightbox-close:hover { background: rgba(255,255,255,0.26); }

.ui-lightbox-stage { position: relative; max-width: 100%; max-height: 100%; line-height: 0; }
.ui-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .ui-lightbox { padding: 72px 12px; }
  .ui-lightbox-img { max-height: calc(100vh - 140px); }
}

.ui-toast-host {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
}
.ui-toast {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--pine);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.ui-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .ui-toast-host { bottom: 20px; }
}

.hero.hero-tool-page {
  padding: 28px 0 16px;

  overflow: visible;
}
.hero.hero-tool-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-tool-page .hero-copy-top {
  max-width: 720px;
  margin: 0 0 8px;
  text-align: center;
}
.hero-tool-page .hero-copy-top .hero-trust-row {
  justify-content: center;
  margin-bottom: 8px;
}
.hero-tool-page .hero-copy-top h1 { margin: 0; }
.hero-tool-page .tool-demo {
  width: 100%;
  max-width: 820px;
  margin: 0;
}
.hero-tool-page .hero-copy-below {
  max-width: 720px;
  margin: 10px 0 0;
  text-align: center;
}
.hero-tool-page .hero-copy-below .hero-trust-row,
.hero-tool-page .hero-copy-below .hero-actions,
.hero-tool-page .hero-copy-below .hero-stats {
  justify-content: center;
}
.hero-tool-page .hero-copy-below .hero-sub {
  max-width: 100%;
  margin: 0 auto;
}
.hero-tool-page .hero-copy-below .hero-actions { margin-top: 12px; }
.hero-tool-page .hero-copy-below .hero-stats {
  margin-top: 16px;
  padding-top: 14px;
}

@media (max-width: 640px) {
  .hero-tool-page .convert-dropzone-inner { padding: 72px 20px; }
}

.section-related-tools.section-pad {
  padding-top: 0;
}

.site-footer { background: var(--dark); color: var(--dark-text); margin-top: 100px; }
.footer-top {
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 14px; color: #a9a294; font-size: 14px; max-width: 260px; }
.footer-badges { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badges span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  color: #cfc9bb;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #82796a;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: #d4cfc2; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 22px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #82796a;
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #a9a294; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
  .value-strip .container { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; gap: 36px; }
  .step-connector { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid.blog-grid-single { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .scn-block-grid,
  .scn-block.reverse .scn-block-grid { grid-template-columns: 1fr; gap: 28px; }
  .scn-block.reverse .scn-visual-col { order: -1; }
  .scn-block.reverse .scn-text-col { order: 0; }
  .scn-visual-col { order: -1; }
  .scn-visual { max-width: 460px; }
  .steps-list.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .htu-guide-body { grid-template-columns: 1fr; gap: 30px; }
  .faq-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .cfr-remove, .cfr-download { width: 44px; height: 44px; }
  .format-btn { padding: 12px 20px; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 18px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 90;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-workspace {
    display: block;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--accent, var(--text));
  }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .scn-jumpnav { top: 0; }
  .tools-nav { width: 100%; }
  .tools-nav summary {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .tools-nav .tools-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    margin: 4px 0 6px;
    padding: 14px 14px 6px 24px;
    width: auto;
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
  .tools-menu-col a { white-space: normal; }
  .tools-menu-viewall { padding-top: 10px !important; }
}

@media (max-width: 640px) {
  .section-pad { padding: 40px 0; }
  .section-how-compact { padding-top: 32px; padding-bottom: 32px; }
  .section-final-cta {
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-footer { margin-top: 48px; }
  .value-strip .container { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; flex-direction: column; align-items: flex-start; }
  .section-final-cta .cta-band { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 52px 24px 32px; }
  .lang-select summary span { display: none; }
  .lang-select .lang-menu { grid-template-columns: 1fr; right: -12px; }
  .tools-nav .tools-menu { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .tool-card-desc { display: none; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tool-card { padding: 16px; }
  .tool-card .go { display: none; }
  .tools-toolbar { top: 64px; }
  .section-tools-first { padding: 20px 0 48px; }
  .tools-intro h1 { font-size: 24px; }
  .scn-block { padding: 52px 0; }
  .scn-stats { gap: 24px; }
  .scn-table { font-size: 13px; }
  .scn-table th, .scn-table td { padding: 10px 10px; font-size: 12.5px; }
  .steps-list.cols-4 { grid-template-columns: 1fr; gap: 30px; }
  .htu-guide { padding: 48px 0; }
  .htu-guide-head { gap: 14px; }
  .htu-guide-icon { width: 46px; height: 46px; }
  .htu-guide-icon svg { width: 22px; height: 22px; }
  .faq-quick-grid { grid-template-columns: 1fr; }
  .convert-dropzone-inner { padding: 72px 20px; }
  .convert-dropzone-inner .icon-box { width: 68px; height: 68px; }
  .convert-dropzone-inner .icon-box svg { width: 32px; height: 32px; }
  .convert-dropzone-inner strong { font-size: 18px; }
  .convert-settings {
    flex-direction: column;
    align-items: stretch;
    top: 64px;
    max-height: calc(100vh - 64px - 72px);
  }
  .convert-file-list { max-height: min(56vh, 524px); }
  .convert-quality-group { flex: auto; }
  .convert-actions { flex-direction: column; align-items: stretch; }
  .convert-actions-right { justify-content: space-between; }
  .convert-file-row { flex-wrap: wrap; }
  .cfr-result { width: 100%; justify-content: space-between; margin-top: 6px; }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 44px 20px 28px;
    gap: 28px 20px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-bottom { padding: 20px 20px 28px; }
  .tools-toolbar { flex-direction: column; align-items: stretch; }
  .tools-search { flex: auto; }
  .site-header .container { padding: 0 16px; gap: 10px; height: 64px; }
  .header-actions { gap: 6px; }
  .header-cta { display: none; }
  .brand .brand-en { display: none; }
}

[hidden] { display: none !important; }

