:root {
  --ink: #17211f;
  --muted: #65716f;
  --line: #dce6e2;
  --paper: #f7fbf8;
  --white: #ffffff;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: rgba(37, 99, 235, 0.1);
  --green: var(--brand);
  --green-dark: var(--brand-dark);
  --red: #6366f1;
  --red-dark: #4f46e5;
  --blue: #2d6cdf;
  --gold: #f2b43f;
  --tone: var(--brand);
  --tone-soft: var(--brand-soft);
  --shadow: 0 22px 70px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
input,
select {
  font: inherit;
}

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

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6vw;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  background: rgba(247, 251, 248, 0.9);
  border-bottom: 1px solid rgba(220, 230, 226, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions,
.nav,
.footer nav,
.hero-actions,
.queue-item {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
}

.nav-actions {
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 8px;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.logo-page {
  fill: var(--brand);
}

.logo-fold,
.logo-form {
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.nav,
.footer nav {
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-switcher::before {
  width: 18px;
  height: 18px;
  margin-right: -30px;
  background: currentColor;
  content: "";
  color: var(--muted);
  pointer-events: none;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.93 9h-3.02a15.7 15.7 0 0 0-1.01-5.02A8.04 8.04 0 0 1 18.93 11ZM12 4.04c.7 1.02 1.56 3.16 1.84 6.96H10.16C10.44 7.2 11.3 5.06 12 4.04ZM4.26 13h3.83c.1 1.9.42 3.62.91 5A8.02 8.02 0 0 1 4.26 13Zm3.83-2H4.26A8.02 8.02 0 0 1 9 6c-.49 1.38-.81 3.1-.91 5Zm3.91 8.96c-.7-1.02-1.56-3.16-1.84-6.96h3.68c-.28 3.8-1.14 5.94-1.84 6.96ZM15 18c.49-1.38.81-3.1.91-5h3.83A8.02 8.02 0 0 1 15 18Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.language-select {
  min-height: 40px;
  padding: 0 34px 0 38px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─── Hero ─── */
.home-hero,
.hero,
.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 72px 6vw 56px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(37, 99, 235, 0.12), transparent 36%),
    var(--paper);
}

.home-hero {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  min-height: 520px;
  padding-top: 70px;
  padding-bottom: 54px;
  text-align: center;
}

.hero {
  min-height: calc(100vh - 72px);
}

.tool-hero {
  align-items: start;
}

.hero-copy,
.plain-page {
  max-width: 760px;
}

.compact-copy h1 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 950;
}

.compact-copy .lede {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 10px 14px;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  font-weight: 850;
}

.eyebrow,
.panel-label,
.mode-pill {
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
}

.eyebrow,
.mode-pill {
  color: var(--green);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.18;
}

.lede {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link,
.primary-btn,
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 850;
}

.primary-link,
.primary-btn,
.download-btn {
  color: var(--white);
  background: var(--green);
}

.primary-link,
.secondary-link {
  padding: 0 20px;
}

.secondary-link {
  color: var(--green-dark);
  background: var(--brand-soft);
}

.hero-panel,
.quick-panel,
.converter-panel {
  width: 100%;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-hero .quick-panel {
  max-width: 1180px;
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* ─── Section layout ─── */
.tool-section,
.tool-directory,
.content-grid,
.faq-section,
.related-tools,
.plain-page,
.blog-strip,
.blog-grid,
.article-page {
  padding: 64px 6vw;
}

.tool-section,
.tool-directory,
.faq-section {
  background: var(--white);
}

.tool-directory {
  padding-top: 48px;
  padding-bottom: 56px;
}

/* ─── Section header row (large icon + title) ─── */
.section-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.section-header-icon {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 16px;
}

.section-header-icon svg {
  width: 36px;
  height: 36px;
}

.section-title {
  margin-bottom: 6px;
  font-size: clamp(24px, 3vw, 36px);
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── PDF group header ─── */
.group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.group-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 12px;
}

.group-icon svg {
  width: 28px;
  height: 28px;
}

.group-header-text h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.group-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ─── Tool lists ─── */
.tool-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-list.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* ─── Tool cards ─── */
.tool-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 850;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.quick-panel .mini-tool-card,
.tool-directory .mini-tool-card {
  box-shadow: none;
}

.mini-tool-card .tool-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

.mini-tool-card strong {
  font-size: 15px;
  line-height: 1.3;
}

.tool-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 10px;
}

.tone-convert {
  --tone: #2563eb;
  --tone-soft: rgba(37, 99, 235, 0.1);
}

.tone-edit {
  --tone: #7c3aed;
  --tone-soft: rgba(124, 58, 237, 0.1);
}

.tone-security {
  --tone: #f97316;
  --tone-soft: rgba(249, 115, 22, 0.12);
}

.tone-optimize {
  --tone: #059669;
  --tone-soft: rgba(5, 150, 105, 0.1);
}

.tone-image {
  --tone: #0891b2;
  --tone-soft: rgba(8, 145, 178, 0.1);
}

.tone-blog {
  --tone: #7c3aed;
  --tone-soft: rgba(124, 58, 237, 0.1);
}

.tool-icon svg,
.upload-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-panel .tool-card {
  min-height: auto;
  margin-top: 10px;
}

.tool-card strong {
  font-size: 20px;
}

.tool-card span:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.tool-card:hover {
  border-color: color-mix(in srgb, var(--tone) 45%, var(--line));
  transform: translateY(-2px);
  transition: 160ms ease;
}

.mini-tool-card:hover {
  border-color: color-mix(in srgb, var(--tone) 45%, var(--line));
  color: var(--tone);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* ─── Tool tabs ─── */
.tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}

.tool-tabs a {
  padding: 10px 14px;
  color: var(--muted);
  background: #f3f6f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.tool-tabs a:hover {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.tool-group {
  scroll-margin-top: 96px;
}

.tool-group + .tool-group {
  margin-top: 40px;
}

/* ─── Converter ─── */
.converter-panel {
  display: grid;
  gap: 14px;
}

.mode-pill {
  justify-self: start;
  padding: 8px 10px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
}

.dropzone {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 26px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px dashed rgba(37, 99, 235, 0.34);
  border-radius: 8px;
  cursor: pointer;
}

.dropzone.is-dragging {
  background: #eff6ff;
  border-color: var(--brand);
}

.converter-panel.has-files .dropzone {
  display: none;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
  font-weight: 900;
}

.upload-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.upload-icon svg {
  width: 22px;
  height: 22px;
}

.upload-cta strong {
  font-size: 20px;
}

.upload-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.dropzone small,
.status-text,
.file-state,
.pdf-preview-name,
.preview-file-list,
.plain-page p,
.content-grid p,
.content-grid li,
details p {
  color: var(--muted);
  line-height: 1.65;
}

.primary-btn {
  width: 100%;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.primary-btn:hover,
.download-btn:hover,
.primary-link:hover {
  background: var(--green-dark);
}

.option-row {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.option-row input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-row select {
  min-height: 46px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

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

.file-workspace-main,
.action-panel {
  display: grid;
  gap: 14px;
}

.action-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
  background: #f9fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.workspace-head > div {
  display: grid;
  gap: 4px;
}

.workspace-head strong {
  font-size: 18px;
}

.workspace-hint {
  color: var(--muted);
  font-size: 14px;
}

.secondary-btn {
  min-height: 42px;
  padding: 0 14px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.thumbnail-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.07);
}

.thumbnail-card.is-sortable {
  cursor: grab;
}

.thumbnail-card.sortable-ghost {
  opacity: 0.45;
}

.thumbnail-preview {
  display: grid;
  aspect-ratio: 1 / 1.22;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.thumbnail-preview canvas,
.thumbnail-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbnail-fallback {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--tone);
  background: var(--tone-soft);
  border-radius: 8px;
  font-weight: 950;
}

.thumbnail-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.thumbnail-name {
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumbnail-size {
  color: var(--muted);
  font-size: 13px;
}

.workflow-step {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f9fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-step span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pdf-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f9fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pdf-preview[hidden] {
  display: none;
}

.pdf-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pdf-preview-name {
  max-width: min(52vw, 460px);
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.preview-file-list span {
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pdf-preview-frame {
  width: 100%;
  height: min(72vh, 640px);
  min-height: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.queue-list {
  display: grid;
  gap: 10px;
}

.queue-item {
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 14px;
  background: #f9fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-name {
  max-width: 380px;
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-btn {
  flex: 0 0 auto;
  padding: 0 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.content-grid article,
details {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

ol {
  padding-left: 22px;
}

.ad-slot {
  display: grid;
  min-height: 120px;
  margin: 16px 6vw;
  place-items: center;
  color: var(--muted);
  background: #eef3f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.faq-section {
  display: grid;
  gap: 12px;
}

details summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
}

.plain-page {
  min-height: 48vh;
}

/* ─── Blog strip ─── */
.blog-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
  padding: 64px 6vw;
  background: var(--paper);
}

.blog-strip-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-strip-header h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.blog-card-list,
.blog-grid {
  display: grid;
  gap: 16px;
}

.blog-card-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

/* Blog card with accent stripe */
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 0;
}

.blog-card-cta {
  display: block;
  padding: 12px 22px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 850;
  border-top: 1px solid var(--line);
}

/* Accent top stripe per card */
.blog-card.accent-blue::before,
.blog-card.accent-purple::before,
.blog-card.accent-teal::before {
  display: block;
  height: 5px;
  content: "";
}

.blog-card.accent-blue::before   { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.blog-card.accent-purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.blog-card.accent-teal::before   { background: linear-gradient(90deg, #0891b2, #38bdf8); }

.blog-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.blog-card span,
.article-page p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-page {
  max-width: 900px;
  margin: 0 auto;
  background: var(--paper);
}

.article-page h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.article-page section {
  margin-top: 34px;
}

.article-page h2 {
  font-size: clamp(26px, 3vw, 36px);
}

/* ─── Footer ─── */
.footer {
  min-height: 120px;
  background: var(--ink);
  color: var(--white);
}

.footer p,
.footer nav {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer .language-select {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer .language-switcher::before {
  color: rgba(255, 255, 255, 0.72);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-hero,
  .hero,
  .tool-hero,
  .content-grid,
  .blog-strip,
  .file-workspace {
    grid-template-columns: 1fr;
  }

  .blog-strip {
    gap: 32px;
  }

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

  .action-panel {
    position: static;
  }

  .quick-grid,
  .tool-list,
  .tool-list.compact,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav,
  .nav-actions,
  .footer nav {
    flex-wrap: wrap;
  }

  .home-hero,
  .hero,
  .tool-hero,
  .tool-section,
  .tool-directory,
  .content-grid,
  .faq-section,
  .related-tools,
  .plain-page,
  .blog-strip,
  .blog-grid,
  .article-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .quick-grid,
  .directory-list,
  .tool-list,
  .tool-list.compact,
  .blog-card-list,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    gap: 14px;
  }

  .section-header-icon {
    width: 52px;
    height: 52px;
  }

  .section-header-icon svg {
    width: 28px;
    height: 28px;
  }

  .group-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .queue-item {
    align-items: stretch;
    flex-direction: column;
  }

  .upload-cta {
    width: 100%;
  }

  .workspace-head {
    align-items: stretch;
    flex-direction: column;
  }

  .file-name {
    max-width: 100%;
  }
}
