:root {
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #111111;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fafafa;
}

.container {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 20px;
}

.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 26px;
}

.card h2 {
  margin-top: 0;
}

.card.muted {
  background: #f9fafb;
}

.row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

input[type="text"] {
  flex: 1;
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.result {
  margin-top: 14px;
  font-weight: 600;
}

.dropzone {
  margin-top: 14px;
  padding: 40px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  cursor: pointer;
}

.dropzone.dragover {
  border-color: var(--accent);
  background: #f3f4f6;
}

.nav-current {
  font-weight: 600;
  opacity: 0.6;
  cursor: default;
}

.footer-current {
  opacity: 0.6;
  font-weight: 600;
  cursor: default;
}


/* ===== BURGER MENU ===== */

.burger {
  display: none;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 961px) {
  .burger {
    display: none;
  }

  .main-nav {
    display: flex;
    gap: 24px;
    position: static;
  }
}

/* Mobile */
@media (max-width: 960px) {

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }

.legal-note {
  margin-top: 16px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
