:root {
  color-scheme: light;
  --ink: #20241f;
  --muted: #7c817b;
  --soft: #f7f7f4;
  --green: #b9ef74;
  --green-dark: #426524;
  --line: #e8e9e3;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--soft); color: var(--ink); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.page-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.topbar { height: 92px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e9eae5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px 'Manrope', sans-serif; letter-spacing: -1.1px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: #27391a; }
.brand-mark svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-period { color: #7baf39; }
.top-nav { display: flex; align-items: center; gap: 34px; color: #636961; font-size: 13px; font-weight: 600; }
.top-nav a { transition: color .2s ease; }
.top-nav a:hover { color: #293a1c; }
.nav-pill { padding: 11px 15px; border: 1px solid #dfe2da; border-radius: 9px; color: var(--ink) !important; }
.nav-pill span { margin-left: 8px; color: #6b9d2d; }
.hero { padding: 83px 0 94px; display: grid; grid-template-columns: 1fr 448px; align-items: center; gap: 76px; }
.hero-copy { padding-bottom: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #788073; font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 1.35px; }
.status-dot { width: 7px; height: 7px; background: #8cbf4b; border-radius: 50%; box-shadow: 0 0 0 3px #e9f4db; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 25px 0 17px; font: 700 clamp(39px, 5vw, 57px)/1.13 'Manrope', sans-serif; letter-spacing: -2.8px; }
h1 span { color: #8ba16d; }
.hero-description { width: min(100%, 422px); color: #747a72; font-size: 15px; line-height: 1.8; }
.trust-line { margin-top: 27px; display: flex; align-items: center; gap: 9px; color: #60695a; font-size: 12px; font-weight: 600; }
.trust-icon { color: #7bab3b; font-size: 19px; }
.upload-card { background: #fff; padding: 26px; border: 1px solid #edeee9; border-radius: 17px; box-shadow: 0 17px 48px rgba(48, 53, 42, .055); }
.upload-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.upload-card-top h2 { margin-bottom: 5px; font: 700 17px 'Manrope', sans-serif; letter-spacing: -.45px; }
.upload-card-top p { margin: 0; color: #939790; font-size: 11px; }
.lock-badge { width: 34px; height: 34px; display: grid; place-items: center; background: #f4f7ef; border-radius: 10px; color: #789d4d; }
.lock-badge svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.dropzone { min-height: 204px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #cbd4bf; border-radius: 12px; background: #fbfcf9; cursor: pointer; transition: .2s ease; outline: none; }
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-dragging { border-color: #83ad4d; background: #f5faef; }
.upload-illustration { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; background: #eff6e7; border-radius: 14px; color: #72964c; }
.upload-illustration svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-title { margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.drop-subtitle { color: #969a93; font-size: 11px; }
.drop-subtitle span { color: #618b35; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.drop-format { margin-top: 16px; color: #a3a69f; font-size: 10px; }
.options-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: #787d76; font-size: 11px; font-weight: 600; }
.options-row label { min-width: 0; }
.select-wrap { position: relative; flex: 0 0 auto; }
.select-wrap select { appearance: none; min-width: 118px; max-width: 100%; padding: 8px 28px 8px 11px; border: 1px solid #e8eae4; border-radius: 8px; color: #40463d; background: white; font-size: 11px; cursor: pointer; }
.select-wrap option:disabled { color: #a9ada4; }
.premium-note { display: flex; align-items: center; gap: 6px; margin: 9px 0 0; color: #969b92; font-size: 9.5px; }
.premium-note[hidden] { display: none; }
.premium-note svg { width: 12px; flex: 0 0 auto; fill: none; stroke: #a6bd8a; stroke-width: 1.4; stroke-linecap: round; }
.select-wrap svg { position: absolute; width: 13px; right: 9px; top: 50%; transform: translateY(-50%); fill: none; stroke: #888f82; stroke-width: 1.5; pointer-events: none; }
.queue { display: grid; gap: 8px; }
.queue:not(:empty) { margin-top: 13px; }
.file-row { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #eef0eb; border-radius: 9px; background: #fff; }
.file-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; background: #f4f6f0; border-radius: 8px; color: #82956d; }
.file-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: round; }
.file-details { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; }
.file-name { overflow: hidden; color: #4f554c; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: #a2a69f; font-size: 10px; }
.remove-file { width: 25px; height: 25px; border: 0; border-radius: 6px; color: #959b90; background: transparent; font-size: 19px; line-height: 1; cursor: pointer; }
.remove-file:hover { color: #b05243; background: #fff1ed; }
.message { min-height: 0; color: #b05243; font-size: 11px; }
.message:not(:empty) { padding-top: 10px; }
.upload-button { width: 100%; height: 47px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 17px; border: 0; border-radius: 9px; color: #26351a; background: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.upload-button:not(:disabled):hover { background: #a9e55f; transform: translateY(-1px); }
.upload-button:disabled { color: #9b9f94; background: #f0f1ed; cursor: not-allowed; }
.upload-button.is-loading { cursor: progress; }
.button-arrow { font-size: 17px; font-weight: 400; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 13px 0 0; color: #969b92; font-size: 9px; }
.privacy-note svg { width: 13px; fill: none; stroke: #8cab69; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.results-card { margin-top: 18px; padding: 16px; border: 1px solid #e5eddc; border-radius: 11px; background: #fbfdf8; animation: appear .35s ease both; }
.results-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.success-check { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #527d2c; background: #e7f3d9; font-size: 14px; }
.results-heading h3 { margin: 0 0 2px; font: 700 12px 'Manrope', sans-serif; }
.results-heading p { margin: 0; color: #92988a; font-size: 10px; }
.result-file { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0e8; }
.result-qr { width: 132px; flex: 0 0 132px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px; border: 1px solid #e5eddc; border-radius: 9px; background: #fff; }
.result-qr img { width: 100%; height: auto; display: block; }
.result-qr.is-unavailable { display: none; }
.result-qr-caption { color: #a2a89a; font-size: 8px; white-space: nowrap; }
.result-file-main { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 8px; }
.result-file-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.result-file-info strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.result-file-info span { overflow: hidden; color: #8c9681; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.result-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; border: 1px solid #dfe8d4; border-radius: 7px; color: #567d32; background: white; font-size: 9px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.copy-button:hover, .copy-button.copied { background: #eff7e7; }
.result-hint { margin: 7px 0 0; color: #9a9e94; font-size: 9px; }
.how-section { padding: 62px 0 75px; border-top: 1px solid #e9eae5; }
.section-heading { text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 13px 0 42px; font: 700 28px 'Manrope', sans-serif; letter-spacing: -1px; }
.steps { display: grid; grid-template-columns: 1fr 55px 1fr 55px 1fr; align-items: center; max-width: 850px; margin: 0 auto; }
.step { position: relative; text-align: center; }
.step-number { position: absolute; top: -5px; right: calc(50% - 42px); color: #9daf87; font: 700 9px 'Manrope', sans-serif; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px solid #e8ebdf; border-radius: 15px; color: #779451; background: #fff; }
.step-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: 6px; font: 700 13px 'Manrope', sans-serif; }
.step p { max-width: 195px; margin: 0 auto; color: #8b9087; font-size: 11px; line-height: 1.6; }
.step-connector { padding-bottom: 35px; color: #b8c5a8; text-align: center; letter-spacing: 2px; }
.footer { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e9eae5; color: #9a9e96; font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 15px; }
.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 18px; }
.not-found-page { min-height: 100vh; display: grid; place-items: center; }
.not-found { width: min(420px, calc(100% - 40px)); text-align: center; }
.not-found .brand { justify-content: center; }
.not-found-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 56px auto 20px; border-radius: 22px; background: #edf4e5; color: #779a53; font-size: 40px; }
.not-found h1 { margin: 0 0 13px; font-size: 36px; letter-spacing: -1.8px; }
.not-found p { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.not-found-button { text-decoration: none; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .page-shell { width: min(720px, calc(100% - 48px)); }
  .hero { grid-template-columns: 1fr 390px; gap: 35px; padding: 68px 0 78px; }
  h1 { font-size: 45px; }
  .upload-card { padding: 22px; }
}
@media (max-width: 680px) {
  .page-shell { width: calc(100% - 36px); }
  .topbar { height: 72px; }
  .brand { min-width: 0; gap: 8px; font-size: 18px; letter-spacing: -.8px; }
  .brand-mark { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 10px; }
  .brand-mark svg { width: 19px; }
  .top-nav { gap: 0; flex: 0 0 auto; }
  .top-nav > a:first-child { display: none; }
  .nav-pill { padding: 9px 11px; font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 57px 0 66px; }
  .hero-copy { padding: 0; }
  h1 { margin: 20px 0 13px; font-size: clamp(39px, 10vw, 51px); letter-spacing: -2px; }
  .hero-description { max-width: 430px; font-size: 13px; }
  .trust-line { margin-top: 18px; font-size: 11px; }
  .upload-card { min-width: 0; padding: 20px; }
  .dropzone { min-height: 190px; }
  .how-section { padding: 50px 0 55px; }
  .section-heading h2 { margin-bottom: 32px; font-size: 24px; }
  .steps { grid-template-columns: 1fr; gap: 27px; }
  .step-connector { display: none; }
  .step p { max-width: 240px; }
  .footer { min-height: 80px; gap: 12px; flex-wrap: wrap; padding: 18px 0; }
  .footer > span:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .page-shell { width: calc(100% - 24px); }
  .hero { padding: 44px 0 52px; }
  h1 { font-size: clamp(32px, 9.4vw, 40px); letter-spacing: -1.5px; }
  .upload-card { padding: 16px; }
  .upload-card-top { margin-bottom: 16px; }
  .dropzone { min-height: 168px; }
  .drop-title { font-size: 12px; }
  .options-row { flex-wrap: wrap; gap: 8px; }
  .select-wrap { flex: 1 1 auto; }
  .select-wrap select { width: 100%; }
  .file-row { gap: 8px; padding: 8px; }
  .remove-file { width: 32px; height: 32px; flex: 0 0 32px; }
  .result-file { align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  .result-qr { width: 108px; flex: 0 0 108px; }
  .result-file-main { flex: 1 1 100%; }
  .results-heading h3 { font-size: 13px; }
  .results-heading p, .result-file-info strong, .copy-button { font-size: 11px; }
  .result-file-info span, .result-qr-caption, .result-hint, .privacy-note, .premium-note { font-size: 10px; }
  .upload-button { height: 50px; font-size: 13px; }
  .step-icon { margin-bottom: 11px; }
  .footer-brand { font-size: 14px; }
  .not-found-icon { margin: 40px auto 18px; }
  .not-found h1 { font-size: 30px; }
}
