:root {
  color-scheme: light;
  --ink: #20241e;
  --muted: #7b8078;
  --line: #e8eae5;
  --paper: #f7f8f5;
  --green: #c9f36a;
  --deep-green: #263b22;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
.topbar { height: 76px; padding: 0 max(5.5vw, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eceee9; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px 'Space Grotesk', sans-serif; letter-spacing: -1px; }
.brand-accent { color: #71943c; }
.brand-mark { width: 23px; height: 23px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-5deg); }
.brand-mark i { background: #283b24; border-radius: 2px; position: relative; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: #91c344; }
.top-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #646960; font-weight: 600; }
.live-dot { width: 7px; height: 7px; border-radius: 99px; background: #8fbd45; box-shadow: 0 0 0 3px #eaf3da; }
.page-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.intro { padding: 59px 0 34px; }
.eyebrow, .step-label { letter-spacing: 1.5px; font-size: 10px; font-weight: 700; color: #6c7368; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-line { width: 20px; height: 1px; background: #8daa61; }
h1, h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -2.8px; }
h1 { margin: 14px 0 10px; font-size: clamp(42px, 5.4vw, 61px); line-height: .99; font-weight: 600; }
h1 span { color: #8aa65c; }
.intro-copy { margin: 0; color: #757b73; font-size: 14px; line-height: 1.7; max-width: 450px; }
.generator-card { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 530px; background: #fff; border: 1px solid #e9ebe6; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 36px rgba(41, 50, 34, .045); }
.form-panel { padding: 35px 42px 30px; }
.step-label { color: #6f766c; display: flex; align-items: center; gap: 10px; }
.step-label span { color: #91ad66; font: 600 12px 'Space Grotesk', sans-serif; letter-spacing: 0; }
label { display: block; margin: 22px 0 9px; font-size: 12px; font-weight: 700; color: #32372e; }
.input-wrap { height: 49px; border: 1px solid #dfe3db; border-radius: 6px; display: flex; align-items: center; gap: 11px; padding: 0 13px; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: #8cae58; box-shadow: 0 0 0 3px rgba(153, 190, 97, .13); }
.input-wrap.invalid { border-color: #d57669; }
.input-wrap svg { flex: 0 0 17px; width: 17px; stroke: #91968f; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; color: #30362e; background: transparent; font-size: 13px; }
.input-wrap input::placeholder { color: #a9ada6; }
.clear-button { border: 0; padding: 0 2px; background: transparent; color: #888e83; font-size: 23px; line-height: 1; cursor: pointer; }
.field-hint, .field-error { min-height: 17px; margin: 7px 0 0; color: #92978f; font-size: 10px; }
.field-error { color: #bd574b; }
.divider { height: 1px; background: var(--line); margin: 17px 0 21px; }
.second-step { margin-bottom: 14px; }
.qr-preview { position: relative; height: 172px; display: flex; justify-content: center; align-items: center; border: 1px dashed #e2e6dd; border-radius: 7px; background-color: #fcfdfb; background-image: radial-gradient(#e6e9e2 0.7px, transparent .7px); background-size: 12px 12px; }
.empty-state { display: flex; align-items: center; flex-direction: column; gap: 9px; color: #a0a69b; font-size: 10px; }
.empty-qr { width: 76px; height: 76px; position: relative; border: 1px solid #e0e5d8; border-radius: 5px; background: #fff; }
.finder { position: absolute; width: 19px; height: 19px; border: 4px solid #d8dfcc; border-radius: 2px; }
.finder::after { content: ''; position: absolute; inset: 3px; border-radius: 1px; background: #d8dfcc; }
.finder-one { top: 6px; left: 6px; }.finder-two { top: 6px; right: 6px; }.finder-three { bottom: 6px; left: 6px; }
.qr-pixels { position: absolute; right: 12px; bottom: 13px; width: 19px; height: 18px; background: repeating-conic-gradient(#d8dfcc 0% 25%, transparent 0% 50%) 0 0 / 8px 8px; }
#qrcode { display: none; line-height: 0; padding: 9px; background: white; border-radius: 4px; }
#qrcode canvas, #qrcode img { display: block; width: 144px; height: 144px; image-rendering: pixelated; }
.generating { display: flex; align-items: center; gap: 9px; color: #767d70; font-size: 11px; }
.spinner { width: 15px; height: 15px; border: 2px solid #e0e8d5; border-top-color: #7e9f4c; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qr-caption { height: 24px; padding-top: 8px; color: #77856a; font-size: 10px; }
.caption-check { margin-right: 4px; color: #6c993d; font-weight: 700; }
.download-button { width: 100%; height: 47px; margin-top: 13px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 5px; background: #293e25; color: white; font-weight: 600; font-size: 12px; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.download-button:not(:disabled):hover { background: #3b5634; transform: translateY(-1px); }
.download-button:disabled { opacity: .42; cursor: not-allowed; }
.download-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.file-type { font-size: 8px; padding: 3px 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; color: #d5e5cb; letter-spacing: .7px; }
.download-note { margin: 9px 0 0; text-align: center; font-size: 9px; color: #9a9f97; }
.info-panel { position: relative; overflow: hidden; padding: 42px 43px; color: #f4f5ec; background: #293d26; }
.info-topline { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #c1d7a5; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.sparkle { color: var(--green); font-size: 17px; }
.info-panel h2 { position: relative; z-index: 1; margin: 27px 0 12px; font-size: clamp(34px, 4.1vw, 45px); line-height: 1.04; letter-spacing: -2px; font-weight: 500; }
.info-panel h2 em { color: var(--green); font-style: normal; }
.info-copy { position: relative; z-index: 1; max-width: 295px; margin: 0; color: #c1c9bb; font-size: 12px; line-height: 1.7; }
.how-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.how-item { display: flex; align-items: center; gap: 13px; }
.how-number { width: 27px; height: 27px; border: 1px solid #56694e; border-radius: 50%; color: var(--green); display: grid; place-items: center; font: 600 11px 'Space Grotesk', sans-serif; }
.how-item strong, .how-item small { display: block; }
.how-item strong { font-size: 11px; font-weight: 600; }
.how-item small { margin-top: 4px; color: #adb7a6; font-size: 9px; }
.info-footer { position: absolute; z-index: 1; left: 43px; bottom: 35px; display: flex; align-items: center; gap: 9px; color: #aeb9a7; font-size: 9px; line-height: 1.55; }
.lock-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #354b31; color: #c9e79f; font-size: 16px; }
.decor { position: absolute; border: 1px solid rgba(198, 228, 156, .09); border-radius: 50%; }
.decor-one { width: 260px; height: 260px; right: -140px; top: 72px; }.decor-two { width: 190px; height: 190px; right: -104px; top: 107px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; padding: 20px 1px 27px; color: #9ca198; font-size: 9px; }
.page-footer span:first-child { letter-spacing: 1px; font-weight: 700; }
.footer-credit { letter-spacing: 0 !important; font-weight: 400; }
.footer-credit strong { color: #5e7548; font-weight: 700; }
.footer-links { display: inline-flex; gap: 13px; margin-left: 14px; }
.footer-links a { color: #77866b; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #344c2c; text-decoration: underline; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .topbar { height: 64px; padding: 0 22px; }
  .page-shell { width: min(100% - 32px, 500px); }
  .intro { padding: 42px 0 26px; }
  .generator-card { grid-template-columns: 1fr; }
  .form-panel { padding: 29px 23px 25px; }
  .info-panel { min-height: 380px; padding: 32px 25px; }
  .info-panel h2 { margin-top: 20px; font-size: 40px; }
  .how-list { margin-top: 25px; gap: 15px; }
  .info-footer { left: 25px; bottom: 24px; }
  .page-footer { gap: 10px; font-size: 8px; }
  .footer-links { margin-left: 0; gap: 10px; }
  .footer-credit { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
}
@media (max-width: 380px) { .page-shell { width: calc(100% - 24px); } .form-panel { padding-left: 17px; padding-right: 17px; } }
