:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #10213a;
  --muted: #60708a;
  --line: #dfe6ef;
  --brand: #3157d5;
  --brand-dark: #2446b8;
  --soft: #eef3ff;
  --success: #137a54;
  --warning: #9a6700;
  --danger: #b42318;
  --shadow: 0 14px 40px rgba(16, 33, 58, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; }
button, select, input { font: inherit; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(247,249,252,0.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(223,230,239,0.8); }
.nav { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: white; }
.navlinks { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--muted); }
.navlinks a { text-decoration: none; }
.button { border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; font-weight: 700; transition: .18s ease; }
.button.primary { background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(49,87,213,.22); }
.button.primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hero { padding: 82px 0 54px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #cfd9fb; color: #294bbf; background: #f5f7ff; border-radius: 999px; font-size: 13px; font-weight: 700; }
h1 { max-width: 870px; margin: 18px auto 18px; font-size: clamp(42px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.055em; }
.hero p { max-width: 720px; margin: 0 auto; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trustline { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--muted); }
.app-shell { margin: 18px auto 72px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 20px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.tool { padding: 26px; }
.tool-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.tool-header h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.tool-header p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.select-wrap { min-width: 190px; }
.select-wrap label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); }
.dropzone { min-height: 250px; border: 2px dashed #bac8e6; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 28px; background: linear-gradient(180deg, #fbfcff, #f7f9ff); transition: .2s ease; }
.dropzone.dragging { border-color: var(--brand); background: var(--soft); }
.upload-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; font-size: 24px; }
.dropzone h3 { margin: 0 0 8px; font-size: 20px; }
.dropzone p { margin: 0 0 16px; color: var(--muted); }
.file-meta { min-height: 24px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.tool-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.privacy { margin-top: 14px; font-size: 12px; color: var(--muted); padding: 12px 14px; border-radius: 10px; background: #f6f8fb; }
.side-panel { padding: 24px; position: sticky; top: 92px; }
.side-panel h3 { margin: 0 0 14px; font-size: 18px; }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 10px 0; }
.step-num { width: 30px; height: 30px; border-radius: 9px; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.step strong { display: block; font-size: 14px; }
.step span { color: var(--muted); font-size: 12px; }
.result { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.stat strong { display: block; font-size: 22px; }
.stat span { font-size: 11px; color: var(--muted); }
.section-label { font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 9px; }
.issues { display: grid; gap: 8px; }
.issue { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 12px; border: 1px solid var(--line); }
.issue strong { font-size: 10px; letter-spacing: .08em; }
.issue.error { background: #fff6f5; border-color: #f2c7c3; color: #7a271a; }
.issue.warning { background: #fffaeb; border-color: #f2df9e; color: #7a4f01; }
.issue.info { background: #f4f7ff; border-color: #d7e0fa; color: #2446a8; }
.issue.success { background: #f1fbf6; border-color: #bde7d1; color: #12613f; }
.mappings { display: grid; gap: 6px; max-height: 200px; overflow: auto; }
.mapping { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 8px; align-items: center; font-size: 12px; }
.mapping span { text-align: center; color: var(--muted); }
.mapping code { padding: 7px 8px; border-radius: 8px; background: #f5f7fa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 320px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
th { position: sticky; top: 0; background: #f7f9fc; z-index: 1; }
.download-row { margin-top: 16px; }
.section { padding: 70px 0; }
.section h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.04em; margin: 0 0 14px; }
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; }
.feature .kicker { color: var(--brand); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.feature h3 { margin: 10px 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.pricing { background: #0e1d33; color: white; }
.pricing .section-intro { color: #acb9cd; }
.price-card { padding: 26px; background: #142641; border: 1px solid #2b4162; box-shadow: none; }
.price-card.featured { background: white; color: var(--ink); transform: translateY(-8px); }
.price { font-size: 38px; font-weight: 850; letter-spacing: -0.04em; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.price-list { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 9px; color: #b7c4d6; font-size: 14px; }
.featured .price-list { color: var(--muted); }
.faq { display: grid; gap: 10px; }
details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); margin-bottom: 0; }
footer { padding: 34px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .app-shell, .grid-3 { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .navlinks a:not(.button) { display: none; }
  .tool-header { flex-direction: column; }
  .select-wrap { width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  h1 { font-size: 46px; }
  .tool { padding: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
