body {
  background: #edf3fb;
  color: #172033;
}

.site-header {
  min-height: 64px;
  border-bottom: 1px solid #d6e0ec;
  background: #ffffff;
  box-shadow: none;
}

.brand-mark {
  border-radius: 8px;
}

.main-nav a,
.login-link,
.header-actions > a {
  color: #4e5561;
}

.signup-button,
.header-actions > a:last-child {
  border: 1px solid #bdc8d5;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  box-shadow: none;
}

.back-link {
  display: none;
}

.converter-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: center;
  max-width: 1180px;
  gap: 34px;
  padding: 72px 24px 34px;
}

.converter-hero-copy,
.converter-hero-board,
.converter-panel,
.converter-results {
  border: 1px solid #b9c9dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.converter-hero-copy {
  border: 0;
  background: transparent;
  padding: 0;
}

.converter-hero-copy h1 {
  max-width: 780px;
  color: #172033;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.06;
}

.converter-hero-copy p:not(.eyebrow) {
  max-width: 700px;
  color: #4e6174;
  font-size: 17px;
  line-height: 1.62;
}

.eyebrow {
  color: #c8312b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.ghost-button {
  border-radius: 6px;
  font-weight: 800;
}

.primary-button {
  border: 1px solid #ef3f34;
  background: #ef3f34;
  color: #ffffff;
}

.secondary-button,
.ghost-button {
  border: 1px solid #bdc8d5;
  background: #ffffff;
  color: #172033;
}

.workflow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.workflow-chips span {
  border: 1px solid #bdc8d5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #354457;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.converter-hero-board {
  min-height: auto;
  border-top: 4px solid #ef3f34;
  background: #ffffff;
  padding: 18px;
}

.workspace-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #526274;
  font-size: 12px;
  font-weight: 800;
}

.workspace-topline span {
  width: 46px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef3f34 0 24%, #f0b356 24% 48%, #0f8f5f 48% 72%, #1473e6 72%);
}

.workspace-topline em {
  color: #0f8f5f;
  font-style: normal;
}

.format-card {
  max-width: none;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: none;
}

.target-card,
.review-card {
  justify-self: stretch;
}

.format-card span,
.converter-guide-grid span {
  color: #526274;
  letter-spacing: 0;
}

.format-card strong {
  color: #172033;
}

.format-flow {
  display: none;
}

.converter-workbench {
  max-width: 1132px;
  padding: 10px 24px 42px;
}

.converter-panel,
.converter-results {
  padding: 26px;
}

.converter-panel {
  border-top: 4px solid #ef3f34;
}

.converter-results {
  border-top: 4px solid #172033;
}

.panel-heading {
  align-items: flex-start;
  border-bottom: 1px solid #dce5ef;
  padding-bottom: 22px;
}

.panel-heading h2,
.results-top h2,
.section-heading h2 {
  color: #172033;
  font-size: 34px;
  line-height: 1.16;
}

.panel-heading p:not(.eyebrow),
.section-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #526274;
  line-height: 1.55;
}

.limit-pill {
  border: 1px solid #bdc8d5;
  border-radius: 6px;
  background: #f8fbff;
  color: #354457;
}

textarea,
input,
select {
  border: 1px solid #bdc8d5;
  border-radius: 6px;
}

textarea:focus,
input:focus,
select:focus {
  border-color: #1473e6;
  box-shadow: 0 0 0 4px rgba(20, 115, 230, 0.12);
}

.file-drop,
.file-drop label,
.converter-guide-grid article,
.format-workflow-grid article {
  border-radius: 8px;
}

.file-drop,
.converter-guide-grid article,
.format-workflow-grid article {
  border-color: #cbd8e6;
  background: #ffffff;
}

.file-mark {
  border-radius: 8px;
  background: #ef3f34;
}

.converter-guide-grid {
  gap: 14px;
}

.converter-guide-grid p {
  color: #526274;
}

.format-workflow-section {
  max-width: 1132px;
  margin: 0 auto;
  padding: 54px 24px 70px;
}

.section-heading {
  max-width: 760px;
}

.format-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.format-workflow-grid article {
  border: 1px solid #cbd8e6;
  padding: 20px;
}

.format-workflow-grid span {
  color: #c8312b;
  font-size: 12px;
  font-weight: 900;
}

.format-workflow-grid h3 {
  margin: 10px 0 8px;
  color: #172033;
  font-size: 18px;
}

.format-workflow-grid p {
  margin: 0;
  color: #526274;
  line-height: 1.55;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .converter-hero,
  .converter-options,
  .converter-grid {
    grid-template-columns: 1fr;
  }

  .converter-hero-copy h1 {
    font-size: 44px;
  }
}

@media (max-width: 700px) {
  .converter-hero,
  .converter-workbench,
  .format-workflow-section {
    padding-inline: 14px;
  }

  .converter-hero {
    padding-top: 44px;
  }

  .converter-hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .workflow-chips,
  .panel-heading {
    display: grid;
  }

  .converter-panel,
  .converter-results {
    padding: 18px;
  }

  .converter-guide-grid,
  .format-workflow-grid {
    grid-template-columns: 1fr;
  }
}
