:root {
  --ink: #07172d;
  --muted: #42516a;
  --line: #d5dbe7;
  --soft-line: #e9edf4;
  --page: #f8fafc;
  --panel: #ffffff;
  --accent: #d6387c;
  --green: #16a878;
  --danger: #c43b58;
  --shadow: 0 18px 50px rgba(25, 39, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

button,
.brand,
.nav-links,
.converter-panel,
h1,
h2,
.download-link,
.eyebrow {
  font-family: "Inter", Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: #253149;
  text-decoration: none;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.hero {
  min-height: 610px;
  padding: 92px 16px 62px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 56, 124, 0.10), transparent 30%),
    radial-gradient(circle at 82% 30%, rgba(214, 56, 124, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.hero-inner {
  width: min(820px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2.45rem, 5.2vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
}

.intro {
  width: min(690px, 100%);
  margin: 18px auto 34px;
  color: #35445d;
  font-size: 1.2rem;
  line-height: 1.55;
}

.converter-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.drop-zone {
  min-height: 176px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #33435e;
  border: 2px dashed #c9d2e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone strong {
  font-size: 1rem;
}

.drop-zone.is-dragging {
  border-color: var(--accent);
  background: #f1f5ff;
  transform: translateY(-1px);
}

.upload-icon {
  width: 44px;
  height: 44px;
  color: #9aa5b8;
}

.upload-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-wrap {
  margin-top: 16px;
  text-align: left;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  background: #edf1f8;
  border-radius: 999px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 180ms ease;
}

.status-text {
  min-height: 22px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-text.error {
  color: var(--danger);
}

.download-link {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.feature-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 54px auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  min-height: 132px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(27, 42, 76, 0.05);
}

.feature-card h2,
.info-section h2,
.section-heading h2 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.feature-card p,
.info-section p,
.section-heading p,
.faq-item p {
  margin: 0;
  color: #2f3f5b;
  line-height: 1.5;
}

.info-section {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 28px 0;
}

.faq-section {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 58px;
  padding: 28px 0;
}

.section-heading {
  margin-bottom: 20px;
  text-align: center;
}

.section-heading h2 {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
}

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

.faq-item {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(27, 42, 76, 0.05);
}

.faq-item h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.site-footer {
  min-height: 76px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #526074;
  border-top: 1px solid var(--soft-line);
  background: #ffffff;
}

.site-footer a {
  color: #263a68;
  text-decoration: none;
}

.license-hero {
  padding: 84px 16px 44px;
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 56, 124, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-bottom: 1px solid var(--soft-line);
}

.contact-hero {
  padding: 84px 16px 44px;
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 56, 124, 0.10), transparent 30%),
    radial-gradient(circle at 82% 30%, rgba(214, 56, 124, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-bottom: 1px solid var(--soft-line);
}

.license-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.license-document {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto 58px;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.license-document h2 {
  margin: 32px 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.license-document h2:first-of-type {
  margin-top: 20px;
}

.license-document p,
.license-document li {
  color: #2f3f5b;
  font-size: 1rem;
  line-height: 1.65;
}

.license-document ul,
.license-document ol {
  margin: 10px 0 0;
  padding-left: 24px;
}

.license-document a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.placeholder-link {
  color: var(--muted);
  font-weight: 700;
}

.license-close {
  margin-top: 34px;
  font-weight: 700;
}

.contact-grid {
  width: min(960px, calc(100% - 32px));
  margin: 42px auto 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
  color: #2f3f5b;
  line-height: 1.5;
}

.contact-button {
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 86px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 58px;
  }

  .intro {
    font-size: 1.02rem;
  }

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

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

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

  .license-document {
    padding: 24px;
  }
}
