:root { color-scheme: light; font-family: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: 28px 16px; display: grid; place-items: center; color: #3f392f; background: radial-gradient(circle at 5% 10%, #e9dcc8 0, transparent 28%), radial-gradient(circle at 90% 90%, #e6d9c5 0, transparent 30%), #f6f1e7; }
.card { position: relative; width: min(100%, 650px); padding: clamp(28px, 7vw, 60px); overflow: hidden; text-align: center; background: #fffdf8; border: 1px solid #d9c7a8; border-radius: 20px; box-shadow: 0 20px 65px #4a362116; }
.card::before, .card::after { content: "❧"; position: absolute; color: #bd9e68; opacity: .55; font-size: 92px; line-height: 1; }
.card::before { top: -10px; left: 4px; transform: rotate(-35deg); }
.card::after { bottom: -24px; right: 4px; transform: rotate(145deg); }
.ornament { color: #a4824c; letter-spacing: .35em; font-size: 20px; }
.eyebrow { margin: 20px 0 8px; color: #816b4a; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: #645039; font-size: clamp(42px, 10vw, 66px); font-weight: 400; line-height: 1.1; }
h1 span { color: #b2915e; font-style: italic; }
.rule { width: 110px; height: 1px; margin: 28px auto; background: #c8ad80; }
h2 { margin: 0 0 14px; font-size: clamp(25px, 5vw, 31px); font-weight: 400; }
.intro { max-width: 460px; margin: 0 auto 30px; font-size: 18px; line-height: 1.55; }
.upload { position: relative; z-index: 1; padding: 24px 18px; background: #f8f3e9; border: 1px solid #e7d9c3; border-radius: 14px; }
.upload h3 { margin: 0 0 8px; font-size: 24px; font-weight: 400; }
.upload p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.button { display: block; width: min(100%, 350px); min-height: 54px; margin: 12px auto; padding: 14px 20px; border: 2px solid #83673d; border-radius: 9px; font: 700 18px/1.25 Arial, sans-serif; cursor: pointer; text-decoration: none; }
.button-primary { color: #fff; background: #80633c; }
.button-primary:hover, .button-primary:focus-visible { background: #664d2c; }
.button-secondary { color: #634b2b; background: #fffdf8; }
.button-secondary:hover:not(:disabled), .button-secondary:focus-visible { background: #f0e4d0; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.upload .selection { margin: 10px 0 4px; color: #655d50; font: 15px/1.4 Arial, sans-serif; }
.progress-wrap { margin-top: 20px; font: 15px/1.4 Arial, sans-serif; }
progress { display: block; width: 100%; height: 16px; margin-top: 8px; accent-color: #80633c; }
.upload .status { min-height: 1.5em; margin: 16px 0 0; font: 16px/1.5 Arial, sans-serif; }
.status.error { color: #9e2f26; }
.status.success { color: #386243; }
.footer { margin: 30px 0 0; color: #816b4a; font-size: 17px; }
@media (max-width: 480px) { body { padding: 12px; } .card { padding: 31px 20px; } .intro { font-size: 17px; } }
