:root {
  color-scheme: light;
  --bg: #eef4f1;
  --bg-deep: #dfeae6;
  --panel: rgba(255, 255, 255, 0.9);
  --ink: #111827;
  --muted: #667085;
  --soft: #f7faf9;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.18);
  --accent: #0e9384;
  --accent-strong: #0f766e;
  --accent-ink: #064e47;
  --accent-soft: #d7f7f1;
  --amber: #f59e0b;
  --warn: #b45309;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(14, 147, 132, 0.18), transparent 28%),
    radial-gradient(circle at 84% 6%, rgba(245, 158, 11, 0.16), transparent 22%),
    linear-gradient(180deg, #f7fbf9 0%, var(--bg) 48%, #ffffff 100%);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827 0 42%, var(--accent) 42% 100%);
  box-shadow: 0 10px 24px rgba(14, 147, 132, 0.28);
}

.brand-mark::after {
  position: absolute;
  right: 6px;
  bottom: 7px;
  width: 10px;
  height: 6px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  content: "";
  transform: rotate(-45deg);
}

.quick-targets {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.quick-targets a,
.keyword-grid a {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #243044;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.quick-targets a {
  padding: 8px 12px;
}

.quick-targets a:hover,
.keyword-grid a:hover {
  border-color: rgba(14, 147, 132, 0.36);
  background: #ffffff;
  transform: translateY(-1px);
}

main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 214px);
  padding: 26px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  border: 1px solid rgba(14, 147, 132, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-ink);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  box-shadow: 0 0 0 4px rgba(14, 147, 132, 0.14);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  color: var(--accent-strong);
}

.subhead {
  max-width: 600px;
  margin-bottom: 22px;
  color: #4b5563;
  font-size: 20px;
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-points span {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #344054;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 720;
}

.compressor {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.compressor::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.tool-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #344054;
  font-size: 13px;
  font-weight: 820;
}

.tool-topline span:last-child {
  color: var(--accent-ink);
}

.dropzone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 252px;
  border: 1.5px dashed rgba(14, 147, 132, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 147, 132, 0.1), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(14, 147, 132, 0.16), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #eefbf8 100%);
  transform: translateY(-1px);
}

.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-content {
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 30px;
  text-align: center;
}

.drop-content svg {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px;
  box-shadow: 0 16px 30px rgba(14, 147, 132, 0.24);
}

.drop-content strong {
  margin-top: 6px;
  font-size: 24px;
  letter-spacing: 0;
}

.drop-content span {
  color: var(--muted);
  font-size: 15px;
}

.controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.field {
  display: grid;
  gap: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
}

.input-wrap,
select {
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.input-wrap:focus-within,
select:focus {
  border-color: rgba(14, 147, 132, 0.72);
  outline: 3px solid rgba(14, 147, 132, 0.16);
}

.input-wrap {
  padding: 0 13px;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
}

select {
  width: 100%;
  padding: 0 13px;
}

.status-panel {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ece9;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  transition: width 180ms ease;
}

#status-text {
  min-height: 24px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.result {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.preview-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 184px;
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(45deg, #eef2f7 25%, transparent 25%),
    linear-gradient(-45deg, #eef2f7 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef2f7 75%),
    linear-gradient(-45deg, transparent 75%, #eef2f7 75%);
  background-color: #ffffff;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.result-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.result-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-stats strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(14, 147, 132, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  box-shadow: 0 18px 38px rgba(14, 147, 132, 0.3);
  transform: translateY(-1px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 10px 0 48px;
}

.trust-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.seo-content {
  border-top: 1px solid var(--line);
  padding: 46px 0 58px;
}

.seo-content h2 {
  margin-bottom: 12px;
  font-size: 27px;
  letter-spacing: 0;
}

.seo-content p {
  max-width: 790px;
  color: #475467;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 18px 0 30px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 820;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

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

.keyword-grid a {
  padding: 13px 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-targets {
    justify-content: flex-start;
  }

  .tool-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
    padding-top: 18px;
  }

  h1 {
    font-size: 50px;
  }

  .subhead {
    font-size: 18px;
  }

  .trust-strip,
  .keyword-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 15px;
  }

  .quick-targets a {
    padding: 7px 10px;
  }

  h1 {
    font-size: 42px;
  }

  .proof-points span {
    width: 100%;
  }

  .controls,
  .result-stats {
    grid-template-columns: 1fr;
  }

  .compressor {
    padding: 12px;
  }

  .dropzone {
    min-height: 214px;
  }

  .tool-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
