:root {
  --ink: #303640;
  --muted: #697282;
  --line: #e1e6ea;
  --paper: #f6f8fa;
  --paper-2: #edf2f5;
  --panel: #ffffff;
  --accent: #5dbdd0;
  --accent-dark: #267f95;
  --accent-soft: #e8f7fb;
  --mint: var(--accent);
  --mint-dark: var(--accent-dark);
  --yellow: #ee973a;
  --coral: #ef7f63;
  --blue: #5dbdd0;
  --dark: #3b414c;
  --footer: #10141d;
  --shadow: 0 22px 58px rgba(20, 24, 34, 0.12);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  font-synthesis-weight: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  flex: 0 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

h1,
h2,
h3,
p,
span,
a,
button,
summary {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(48, 54, 64, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-width: 1180px;
  min-height: 70px;
  margin: 0 auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #252b33;
  font-size: 17px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.header-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 30px);
  color: #4e5560;
  font-size: 15px;
  font-weight: 620;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-action,
.primary-link,
.secondary-link,
.text-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 760;
  cursor: pointer;
}

.header-action svg,
.primary-link svg,
.secondary-link svg,
.hero-note svg,
.drop-icon svg,
.step-icon svg,
.workflow-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action {
  min-height: 46px;
  flex: 0 0 auto;
  border: 2px solid #333943;
  border-radius: 5px;
  background: #3d434e;
  color: #fff;
  box-shadow: 0 3px 0 #242a33;
  padding: 0 22px;
  font-size: 15px;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background-color 0.14s ease;
}

.header-action:hover {
  background: #333943;
  box-shadow: 0 5px 0 #242a33;
  transform: translateY(-1px);
}

.header-action:active {
  box-shadow: 0 1px 0 #242a33;
  transform: translateY(3px);
}

.header-action:focus-visible,
.primary-link:focus-visible,
.secondary-link:focus-visible,
.text-button:focus-visible,
.mini-button:focus-visible {
  outline: 3px solid rgba(93, 189, 208, 0.32);
  outline-offset: 3px;
}

.hero {
  --hero-bg-height: clamp(760px, 68vw, 980px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(48, 54, 64, 0.08);
  background: #edf2f5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(50px, 5.6vw, 72px) 28px 20px;
  text-align: center;
}

.hero-copy-block {
  min-width: 0;
}

.hero-copy,
.hero-note span,
.converter-privacy span,
.drop-meta {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.eyebrow span {
  border: 1px solid rgba(38, 127, 149, 0.26);
  border-radius: 999px;
  background: var(--accent-soft);
  padding: 5px 10px;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title-segment {
  display: inline;
}

.hero-copy {
  max-width: 700px;
  margin: 18px auto 0;
  color: #48524f;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.62;
}

.hero-note {
  display: inline-flex;
  max-width: 680px;
  align-items: flex-start;
  gap: 9px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-note svg {
  margin-top: 2px;
  color: var(--accent-dark);
}

.hero-visual {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: var(--hero-bg-height);
  overflow: hidden;
  min-width: 0;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: #f7fcfd;
  box-shadow: none;
  pointer-events: none;
}

.hero-visual::after {
  content: none;
}

.hero-visual picture,
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
  object-position: center center;
}

.hero-experience {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 78px;
}

.hero-tool {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  padding: 0;
}

.converter-card {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  border: 1px solid rgba(48, 54, 64, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(20, 24, 34, 0.16);
  padding: clamp(16px, 2.4vw, 24px);
}

.converter-copy {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.converter-copy h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.05;
}

.converter-copy p:not(.kicker) {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 246px;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(38, 127, 149, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: rgba(38, 127, 149, 0.55);
  background-color: #f8fcfd;
}

.drop-zone.is-dragging {
  transform: translateY(-2px);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-content {
  display: grid;
  width: 100%;
  min-height: 246px;
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 40px 22px;
  text-align: center;
}

.drop-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(38, 127, 149, 0.14);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.drop-icon svg {
  width: 23px;
  height: 23px;
}

.drop-title {
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 24px);
  font-weight: 820;
}

.drop-meta {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.converter-card.has-files .drop-zone,
.converter-card.has-files .drop-content {
  min-height: 132px;
}

.converter-card.has-files .drop-content {
  grid-template-columns: 48px minmax(0, 1fr);
  justify-items: start;
  padding: 20px;
  text-align: left;
}

.converter-card.has-files .drop-icon {
  width: 48px;
  height: 48px;
}

.converter-card.has-files .drop-icon svg {
  width: 22px;
  height: 22px;
}

.converter-card.has-files .drop-title {
  font-size: 20px;
}

.converter-card.has-files .drop-meta {
  grid-column: 2;
}

.converter-privacy {
  display: inline-flex;
  max-width: 760px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.converter-privacy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advanced-options {
  border: 1px solid rgba(48, 54, 64, 0.1);
  border-radius: var(--radius);
  background: #f8faf7;
}

.advanced-options summary {
  display: flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  font-weight: 760;
}

.advanced-options summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  text-align: right;
}

.advanced-options[open] summary {
  border-bottom: 1px solid var(--line);
}

.converter-options {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.6fr) minmax(180px, 0.6fr);
  gap: 10px;
  padding: 12px;
}

.option-control {
  display: grid;
  min-width: 0;
  gap: 10px;
  border: 1px solid rgba(48, 54, 64, 0.1);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.option-control span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.option-control strong {
  color: var(--ink);
  font-size: 12px;
}

.option-control input[type="range"] {
  width: 100%;
  accent-color: var(--accent-dark);
}

.option-control input[type="color"] {
  width: 100%;
  height: 38px;
  border: 1px solid #d8d0c0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.option-control select {
  min-height: 38px;
  border: 1px solid #d8d0c0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  cursor: pointer;
}

.option-control.is-disabled {
  opacity: 0.52;
}

.converter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.converter-card:not(.has-files) .converter-actions,
.converter-card:not(.has-files) .converter-status,
.converter-card:not(.has-files) .result-list {
  display: none;
}

.converter-card:not(.has-results) [data-download-all] {
  display: none;
}

.primary-link,
.secondary-link {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 780;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.primary-link {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 3px 0 #1b6275;
}

.primary-link:hover {
  background: #216f83;
  transform: translateY(-1px);
}

.primary-link:disabled,
.secondary-link:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.secondary-link {
  border-color: rgba(48, 54, 64, 0.18);
  background: #fff;
  color: var(--ink);
}

.secondary-link:hover:not(:disabled) {
  border-color: rgba(48, 54, 64, 0.36);
  background: #f8faf7;
}

.secondary-dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.secondary-dark:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.11);
}

.text-button {
  min-height: 42px;
  background: transparent;
  color: var(--muted);
  padding: 0 6px;
}

.text-button:hover {
  color: var(--ink);
}

.converter-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.result-list {
  display: grid;
  gap: 8px;
}

.empty-results,
.result-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf7;
}

.empty-results {
  padding: 15px;
  color: var(--muted);
  font-size: 14px;
}

.result-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.result-meta {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.result-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.result-meta span {
  color: var(--muted);
  font-size: 13px;
}

.result-meta .is-error {
  color: #b23c2b;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mini-button {
  min-height: 34px;
  border: 1px solid rgba(48, 54, 64, 0.16);
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
}

.mini-button:hover {
  border-color: rgba(48, 54, 64, 0.34);
}

.mini-button.ghost {
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.proof-strip div {
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: center;
  gap: 6px;
  padding: 24px 28px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  font-size: 16px;
  font-weight: 800;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.intent-section,
.steps-section,
.workflows-section,
.faq-section,
.comparison-section,
.about-section,
.bottom-cta {
  padding: 76px 28px;
}

.section-heading {
  max-width: 780px;
  min-width: 0;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2,
.comparison-copy h2,
.bottom-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 820;
  line-height: 1.06;
}

.section-heading p:not(.kicker),
.comparison-copy p,
.bottom-cta p {
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.intent-section,
.steps-section {
  border-top: 1px solid rgba(38, 48, 44, 0.08);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.intent-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
}

.intent-card h3 {
  margin: 0;
  font-size: 23px;
}

.intent-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.intent-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 760;
}

.intent-card a:hover {
  color: #1f6f82;
}

.steps-section {
  background: #fff;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-item {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(38, 48, 44, 0.28);
  font-size: 28px;
  font-weight: 820;
  line-height: 1;
}

.step-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(38, 48, 44, 0.1);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-item h3 {
  margin: 2px 0 0;
  padding-right: 38px;
  font-size: 22px;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.workflows-section {
  background: #f8faf7;
  border-top: 1px solid rgba(38, 48, 44, 0.08);
  border-bottom: 1px solid rgba(38, 48, 44, 0.08);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.workflow-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}

.workflow-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(38, 48, 44, 0.1);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.workflow-icon-download {
  background: #fff2e5;
  color: #9b5e18;
}

.workflow-icon-layers {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.workflow-icon-shield {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.workflow-icon-settings {
  background: #fff0ed;
  color: #b24c3c;
}

.workflow-text h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.workflow-text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.comparison-copy {
  min-width: 0;
}

.comparison-copy p {
  margin-left: 0;
}

.comparison-table {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  min-height: 60px;
  padding: 16px;
  line-height: 1.38;
  text-align: left;
  vertical-align: top;
}

.comparison-table tbody tr + tr td,
.comparison-table tbody tr:first-child td {
  border-top: 1px solid var(--line);
}

.comparison-table th + th,
.comparison-table td + td {
  border-left: 1px solid var(--line);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 24%;
}

.comparison-table th {
  background: #f7edd0;
  font-weight: 820;
}

.about-section {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.about-column {
  border-left: 4px solid var(--accent);
  padding: 0 0 0 18px;
}

.about-column h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.about-column p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.bottom-cta {
  display: grid;
  justify-items: center;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.bottom-cta p {
  max-width: 700px;
  color: #d8e0dc;
}

.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--footer);
  color: #fff;
  padding: 48px max(28px, calc((100vw - 1120px) / 2)) 34px;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-logo strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.site-footer p {
  max-width: 680px;
  margin: 0;
  color: #aeb9c8;
  font-size: 15px;
  line-height: 1.65;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer nav h2 {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav a {
  color: #e8edf5;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-navs {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr 0.75fr;
  gap: clamp(22px, 4vw, 46px);
  min-width: 0;
}

.legal-main {
  background: linear-gradient(180deg, #fbf7ef 0%, #fff 42%);
}

.legal-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 96px) 28px 38px;
  text-align: center;
}

.legal-hero h1 {
  max-width: none;
  margin: 14px 0 0;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
}

.legal-hero p {
  max-width: 720px;
  margin: 22px auto 0;
  color: #43504b;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.legal-hero span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 1px;
  max-width: 860px;
  margin: 0 auto 84px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 18px 42px rgba(68, 52, 31, 0.09);
}

.legal-content section {
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
}

.legal-content h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

.legal-content p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1040px) {
  .header-nav {
    display: none;
  }

  .header-action {
    margin-left: auto;
  }

  .hero-inner {
    max-width: 820px;
  }

  .converter-options,
  .comparison-section {
    grid-template-columns: 1fr;
  }

  .steps-list,
  .intent-grid,
  .about-content,
  .site-footer,
  .footer-navs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    --hero-bg-height: 860px;
  }

  .site-header {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand span:last-child {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    min-height: 42px;
    padding: 0 12px;
  }

  .hero-inner {
    padding: 42px 20px 14px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-experience {
    padding: 20px 20px 56px;
  }

  .hero-visual {
    inset: 0 0 auto;
    width: 100%;
    border-radius: 0;
  }

  .hero-tool {
    margin-top: 20px;
  }

  .proof-strip,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .intent-section,
  .steps-section,
  .workflows-section,
  .faq-section,
  .comparison-section,
  .about-section,
  .bottom-cta {
    padding: 58px 20px;
  }

  .comparison-table {
    overflow: hidden;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
  }

  .comparison-table th,
  .comparison-table td {
    min-height: auto;
    width: auto;
  }

  .comparison-table th + th,
  .comparison-table td + td {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .comparison-table tbody tr + tr td:first-child {
    border-top: 1px solid var(--line);
  }

  .site-footer {
    padding: 42px 20px 30px;
  }

  .footer-navs {
    gap: 24px;
  }

  .legal-hero {
    padding: 52px 20px 30px;
  }

  .legal-content {
    margin: 0 20px 58px;
  }
}

@media (max-width: 520px) {
  .hero {
    --hero-bg-height: 840px;
  }

  .header-action {
    display: none;
  }

  .eyebrow {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .eyebrow span {
    text-align: center;
  }

  .hero-title-segment {
    display: block;
  }

  .hero-tool {
    margin-top: 18px;
  }

  .drop-zone,
  .drop-content {
    min-height: 210px;
  }

  .advanced-options summary small {
    display: none;
  }

  .converter-actions,
  .bottom-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .result-item {
    grid-template-columns: 1fr;
  }

  .result-actions {
    justify-content: flex-start;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }
}
