*{box-sizing:border-box}body{margin:0;background:#efece0;color:#163d40;font:17px/1.5 system-ui,sans-serif}main{width:min(100%,1000px);margin:auto;padding:22px}header{position:relative;height:clamp(170px,25vw,245px);overflow:hidden;border-radius:10px}header img{width:100%;height:100%;object-fit:cover}header div{position:absolute;bottom:0;left:0;width:100%;padding:30px;color:#fff;background:linear-gradient(transparent,#102d34df)}h1,h2{font-family:Georgia,serif;line-height:1.1;margin:0}h1{font-size:clamp(38px,7vw,70px)}header p,#leg{margin:5px 0;letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:bold}section{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;margin-top:22px}article,aside{padding:22px;background:#fffcf1;border:1px solid #ccd3c9;border-radius:8px}canvas{width:100%;display:block;margin-top:12px;background:#163e43;border-radius:4px}aside h2{font-size:34px;margin-top:18px}label{display:flex;justify-content:space-between;font-size:15px}input{width:100%;margin:14px 0 22px;accent-color:#af442b}button{background:#185055;color:white;padding:12px 18px;font:inherit;border:0;border-radius:4px;cursor:pointer}button:disabled{opacity:.5}#result{font-weight:600}@media(max-width:650px){main{padding:12px}section{grid-template-columns:1fr;gap:10px}article,aside{padding:15px}canvas{max-height:32vh;object-fit:contain}aside h2{margin-top:6px}}
