:root {
  --bg: #09090b;
  --bg-soft: #0e0e11;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-3: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.115);
  --text: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.46);
  --primary: #f3f3f3;
  --primary-text: #111111;
  --success: #6ee7b7;
  --danger: #fca5a5;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1200px;
  --narrow: 920px;
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.012), transparent 18%),
    linear-gradient(180deg, #0d0d10 0%, #09090b 100%);
}

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

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow-container {
  width: min(100%, var(--narrow));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.page-dotfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.65px, transparent 0.75px);
  background-size: 22px 22px;
  opacity: 0.12;
  mask-image: radial-gradient(circle at center, black 0%, rgba(0, 0, 0, 0.78) 48%, transparent 100%);
}

.hero-backlight {
  position: fixed;
  top: 50px;
  left: 50%;
  width: 860px;
  height: 420px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 43%, transparent 72%);
  filter: blur(42px);
  opacity: 0.85;
}

.page-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.16;
  z-index: 0;
}

.glow-1 {
  width: 320px;
  height: 320px;
  top: 90px;
  right: -80px;
  background: rgba(255, 255, 255, 0.025);
}

.glow-2 {
  width: 260px;
  height: 260px;
  bottom: 140px;
  left: -60px;
  background: rgba(255, 255, 255, 0.02);
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(9, 9, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.brand-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}

.brand-logo-img {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex: 0 0 42px;
}

.brand-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  padding: 54px 0 24px;
}

.hero-shell {
  display: flex;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 12px 0 8px;
}

.hero-title-wrap {
  position: relative;
}

.hero-title-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(720px, 92%);
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 34%, transparent 72%);
  filter: blur(38px);
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(34px, 5.1vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.94);
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.10),
    0 0 46px rgba(255, 255, 255, 0.05);
}

.hero-text {
  margin: 20px auto 0;
  max-width: 700px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.hero-meta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 14px;
}

.section,
.app-shell {
  padding: 28px 0;
}

.section-last {
  padding-bottom: 56px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head-centered {
  text-align: center;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-title-centered {
  max-width: 900px;
  margin-inline: auto;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 700px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 16px;
}

.section-lead-centered {
  margin-inline: auto;
}

.glass-card,
.upload-card,
.info-card,
.report-card,
.step-card,
.micro-info-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05) 28%,
    rgba(255, 255, 255, 0.018) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.95;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.024);
  pointer-events: none;
}

.panel-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.014), transparent),
    repeating-linear-gradient(180deg, transparent 0, transparent 33px, rgba(255, 255, 255, 0.01) 34px, transparent 35px);
  opacity: 0.36;
}

.upload-card {
  padding: 26px;
  border-radius: 30px;
}

.step-card-block {
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.is-current-step {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 8px rgba(255, 255, 255, 0.02),
    0 24px 72px rgba(0, 0, 0, 0.34);
}

.step-inline-banner {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.step-inline-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 6px;
}

.step-inline-text {
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.6;
  font-weight: 600;
}

.dropzone {
  position: relative;
  z-index: 1;
  border: 1.5px dashed rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  padding: 34px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  text-align: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.dropzone:hover,
.dropzone.is-dragover,
.dropzone.is-current-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022));
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.dropzone-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 24px;
  line-height: 1;
}

.dropzone-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.dropzone-subtitle {
  color: var(--text-muted);
  line-height: 1.7;
}

.file-meta {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--text-muted);
  line-height: 1.7;
}

.micro-info-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.micro-info-card {
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--text-faint);
  line-height: 1.7;
  font-size: 14px;
}

.form-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.label {
  font-size: 14px;
  color: var(--text-muted);
}

.input,
.select {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.input:focus,
.select:focus,
.input.is-current-step {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.05);
}

.mode-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mode-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.026);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.mode-btn:hover {
  transform: translateY(-1px);
}

.mode-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
  box-shadow:
    0 10px 30px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.actions-main {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.actions-download {
  margin-top: 14px;
}

.btn {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    opacity var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  color: var(--primary-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.06);
}

.btn-equal {
  min-width: 220px;
}

.btn.is-current-step:not(:disabled) {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 7px rgba(255, 255, 255, 0.025);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.status-box {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.042);
  color: var(--text-muted);
  line-height: 1.7;
}

.status-box.success {
  border-color: rgba(110, 231, 183, 0.15);
  background: rgba(110, 231, 183, 0.045);
  color: #d7ffeb;
}

.status-box.error {
  border-color: rgba(252, 165, 165, 0.16);
  background: rgba(252, 165, 165, 0.045);
  color: #ffe0e0;
}

.mapping-section,
.report-card {
  padding: 22px;
  border-radius: 30px;
}

.inner-title {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.report-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.report-centered {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.report-header-vertical {
  display: block;
}

.report-meta {
  color: var(--text-muted);
  line-height: 1.75;
}

.mapping-table-wrap,
.excel-table-wrap {
  position: relative;
  z-index: 1;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.018);
  min-height: 160px;
}

.mapping-table,
.excel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.mapping-table th,
.mapping-table td,
.excel-table th,
.excel-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
  vertical-align: top;
}

.mapping-table th,
.excel-table thead th {
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mapping-table td,
.excel-table td {
  color: var(--text-muted);
}

.pdf-viewer-head {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.pdf-viewer-meta {
  color: var(--text-faint);
  line-height: 1.6;
}

.pdf-viewer-shell {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.28);
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.028);
  backdrop-filter: blur(10px);
}

.pdf-toolbar-left,
.pdf-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.toolbar-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.pdf-page-info {
  color: var(--text-faint);
  font-size: 14px;
}

.pdf-canvas-wrap {
  max-height: 980px;
  overflow: auto;
  padding: 22px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.04), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
}

.pdf-canvas-host {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.pdf-page-card {
  width: fit-content;
  max-width: 100%;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pdf-page-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(0, 0, 0, 0.06);
}

.pdf-page-caption {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

.empty-block {
  padding: 22px;
  color: var(--text-faint);
  line-height: 1.7;
}

.steps-section {
  padding-top: 34px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: stretch;
  gap: 0;
}

.step-card {
  padding: 26px;
  border-radius: 28px;
  min-height: 100%;
}

.step-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.step-number {
  font-size: 52px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 19px;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.section-text {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.step-list {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  padding: 18px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-faint);
  line-height: 1.8;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 32px;
  user-select: none;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  padding: 22px;
  border-radius: 26px;
}

.info-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.info-card p,
.info-card li {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  line-height: 1.75;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.footer {
  padding: 24px 0 46px;
  color: var(--text-faint);
}

.footer-box {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  padding-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.reveal-up {
  transform: translateY(30px) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 48px);
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions,
  .actions,
  .mode-row {
    flex-direction: column;
  }

  .btn,
  .mode-btn,
  .btn-equal {
    width: 100%;
    min-width: 0;
  }

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

  .upload-card,
  .report-card,
  .info-card,
  .step-card,
  .mapping-section {
    padding: 18px;
    border-radius: 22px;
  }

  .pdf-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pdf-toolbar-left,
  .pdf-toolbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .pdf-canvas-wrap {
    padding: 14px;
    max-height: 700px;
  }

  .pdf-page-card {
    width: 100%;
    padding: 10px;
  }

  .brand-subtitle {
    display: none;
  }
}