:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #192321;
  background: #f5f7f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body { margin: 0; }

a { color: inherit; }

button, input { font: inherit; }

button { cursor: pointer; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { background: #fff; border-bottom: 1px solid #dfe5e1; }

.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }

.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; background: #caed70; border-radius: 5px; font-size: 24px; font-weight: 800; line-height: 1; }

.brand-name { font-size: 25px; line-height: 1; font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }

.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: #4e5d58; }

.site-nav a:hover, .site-nav a[aria-current="page"] { color: #15231e; text-decoration: underline; text-underline-offset: 5px; }

.header-action { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid #cfd9d2; border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }

.header-action:hover { background: #eff4ee; }

.icon { width: 17px; height: 17px; stroke-width: 2; flex: 0 0 auto; }

.main-home { padding: 53px 0 82px; }

.eyebrow { margin: 0 0 14px; color: #506761; text-transform: uppercase; font-size: 12px; font-weight: 800; }

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

.home-title { max-width: 760px; margin-bottom: 13px; font-size: 48px; line-height: 1.07; font-weight: 800; }

.home-intro { max-width: 610px; margin-bottom: 30px; color: #53615c; font-size: 17px; line-height: 1.55; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 34px; align-items: stretch; }

.tool { min-width: 0; display: flex; flex-direction: column; }

.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }

.tool-head h2 { margin: 0; font-size: 19px; }

.status { display: inline-flex; align-items: center; gap: 7px; color: #87533d; background: #fff2e9; padding: 7px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }

.status-dot { width: 7px; height: 7px; background: #e78e60; border-radius: 50%; }

.dropzone { flex: 1; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 25px 18px; border: 2px dashed #aebfb4; border-radius: 5px; background: #fff; text-align: center; transition: border-color .15s, background .15s; }

.dropzone.is-dragover { background: #edf8e8; border-color: #3a9979; }

.drop-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 5px; background: #e3f3d3; color: #205b43; }

.drop-icon .icon { width: 23px; height: 23px; }

.drop-title { margin-bottom: 2px; font-size: 18px; font-weight: 750; }

.drop-copy { margin: 0; color: #63716b; font-size: 13px; }

.select-button, .upload-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 5px; border: 1px solid #253e33; background: #203d31; color: #fff; font-size: 14px; font-weight: 700; padding: 10px 16px; }

.select-button:hover, .upload-button:hover:not(:disabled) { background: #315a44; }

.upload-button:disabled { opacity: .52; cursor: not-allowed; }

.tool-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding-top: 16px; }

.format-note { margin: 0; color: #68756f; font-size: 12px; }

.file-list { display: grid; gap: 5px; margin: 15px 0 0; padding: 0; list-style: none; }

.file-list:empty { display: none; }

.file-item { min-height: 40px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ec; font-size: 13px; }

.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

.file-size { margin-left: auto; color: #68756f; white-space: nowrap; }

.remove-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #53615c; }

.remove-button:hover { color: #a44434; }

.notice { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0 0; padding: 12px 13px; background: #fff1ed; color: #842d27; border: 1px solid #f1cfc6; border-radius: 5px; font-size: 13px; line-height: 1.45; }

.notice[hidden] { display: none; }

.preview { position: relative; min-height: 440px; overflow: hidden; border-radius: 6px; background: #d9e4dc; }

.preview img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }

.preview::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(13, 27, 25, .8)); pointer-events: none; }

.preview-content { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; color: #fff; }

.preview-kicker { margin-bottom: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.preview-name { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 700; }

.home-footnote { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: #53615c; font-size: 13px; }

.home-footnote .icon { color: #36866c; }

.content-main { padding: 56px 0 90px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 710px) minmax(190px, 250px); gap: min(8vw, 110px); }

.page-title { margin-bottom: 16px; font-size: 40px; line-height: 1.13; }

.page-lead { margin-bottom: 32px; color: #53615c; font-size: 17px; line-height: 1.55; }

.prose h2 { margin: 36px 0 10px; font-size: 20px; }

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li { color: #3d4c46; font-size: 15px; line-height: 1.7; }

.prose ul, .prose ol { padding-left: 22px; }

.prose li { margin: 7px 0; }

.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.side-nav { align-self: start; padding-top: 8px; border-top: 2px solid #b7d873; }

.side-nav p { margin: 0 0 16px; color: #52655b; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.side-nav a { display: block; padding: 9px 0; border-bottom: 1px solid #e3e8e4; text-decoration: none; color: #4c5d54; font-size: 14px; }

.side-nav a[aria-current="page"] { color: #183c2d; font-weight: 800; }

.info-band { padding: 18px 20px; border-left: 3px solid #8abf5a; background: #edf4e9; color: #314536; font-size: 14px; line-height: 1.6; }

.info-band p { margin-bottom: 0; }

.site-footer { border-top: 1px solid #dfe5e1; background: #fff; }

.footer-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.footer-brand { color: #273f34; font-size: 15px; font-weight: 800; }

.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }

.footer-links a { color: #53615c; font-size: 13px; text-decoration: none; }

.footer-links a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid #24846b; outline-offset: 3px; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 560px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0 14px; padding-block: 12px; }
  .site-nav { order: 3; width: 100%; gap: 17px; margin: 14px 0 0; overflow-x: auto; }
  .header-action { margin-left: auto; }
  .main-home { padding: 40px 0 60px; }
  .home-title { font-size: 35px; }
  .home-intro { font-size: 15px; }
  .workspace { grid-template-columns: 1fr; gap: 20px; }
  .preview { min-height: 230px; }
  .preview img { object-position: center 42%; }
  .tool { min-height: 420px; }
  .content-main { padding: 40px 0 64px; }
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-title { font-size: 32px; }
  .side-nav { max-width: 100%; }
  .footer-inner { padding-block: 23px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 390px) {
  .status { font-size: 11px; }
  .tool-head { align-items: flex-start; flex-direction: column; }
  .tool-bottom { align-items: stretch; flex-direction: column; }
  .upload-button { width: 100%; }
}
