:root{--page:#f8f8f6;--white:#ffffff;--text:#101820;--secondary:#656a6e;--border:#e5e3df;--sand:#c1a77f;--green:#238f56;--green-light:#e8f3ec;--warm-light:#f3eee8}*{box-sizing:border-box}body,html{background:var(--page)}body{margin:0;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit}.app-shell{display:flex;justify-content:center}.app-shell,.home-screen,.result-screen{min-height:100dvh;background:var(--white)}.home-screen,.result-screen{width:100%;max-width:760px;padding:28px 48px 38px}.hero{text-align:center}.hero h1{margin:0;font-size:clamp(58px,9vw,88px);line-height:.98;font-weight:760;letter-spacing:-.06em}.hero h2{max-width:620px;margin:30px auto 0;font-size:clamp(26px,3.8vw,34px);line-height:1.22;font-weight:500;letter-spacing:-.025em}.hero-divider{width:44px;height:3px;margin:34px auto 32px;border-radius:99px;background:var(--sand)}.hero p{max-width:590px;margin:0 auto;font-size:clamp(20px,3vw,25px);line-height:1.5;font-weight:400}.hero-art{width:min(100%,620px);margin:26px auto 24px}.hero-art img{display:block;width:100%;height:auto}.main-actions{width:min(100%,620px);margin:0 auto;display:grid;grid-gap:16px;gap:16px}.button{width:100%;min-height:82px;padding:0 26px;border-radius:16px;cursor:pointer;font-size:23px;font-weight:650}.button:disabled{opacity:.45;cursor:not-allowed}.button-dark{border:1px solid var(--text);background:var(--text);color:#ffffff}.button-light{border:2px solid var(--text);background:#ffffff;color:var(--text)}.capture-button{display:flex;align-items:center;justify-content:center;gap:20px}.camera-symbol{position:relative;width:36px;height:29px;border:2px solid;border-radius:6px}.camera-symbol:before{content:"";position:absolute;left:9px;top:6px;width:13px;height:13px;border:2px solid;border-radius:50%}.camera-symbol:after{content:"";position:absolute;left:9px;top:-8px;width:12px;height:7px;border:2px solid;border-bottom:0;border-radius:4px 4px 0 0}.gallery-symbol{position:relative;width:36px;height:30px;border:2px solid;border-radius:5px;overflow:hidden}.gallery-symbol:before{content:"";position:absolute;top:5px;right:5px;width:7px;height:7px;border:2px solid;border-radius:50%}.gallery-symbol span{position:absolute;left:5px;bottom:2px;width:22px;height:16px;border-left:2px solid;border-top:2px solid;transform:rotate(39deg)}.photo-tip{width:min(100%,520px);margin:30px auto 0;display:flex;align-items:flex-start;justify-content:center;gap:18px}.tip-icon{flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;border:2px solid var(--sand);border-radius:50%;color:#8c7759;font-size:21px;font-weight:600}.photo-tip p{margin:0;color:var(--secondary);font-size:18px;line-height:1.45}.photo-flow{margin-top:42px}.photo-flow-heading{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.photo-flow-heading h2{margin:0;font-size:20px}.photo-flow-heading button{padding:0;border:0;background:transparent;color:var(--text);font-size:15px;font-weight:650;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.photo-preview,.result-photo{width:100%;display:block;object-fit:cover;border-radius:22px;background:#eceae6}.photo-preview{max-height:700px}.occasion-heading{margin-top:36px}.occasion-heading h2{margin:0;font-size:34px;line-height:1.08;letter-spacing:-.035em}.occasion-heading p{margin:9px 0 0;color:var(--secondary);font-size:16px;line-height:1.45}.occasion-grid{margin:24px 0;display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.occasion-option{min-height:72px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:#ffffff;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;font-size:15px;font-weight:600}.occasion-option span{font-size:20px;font-weight:400}.occasion-option:last-child{grid-column:1/-1}.occasion-option.selected{border-color:var(--text);background:#f4f3f0;box-shadow:inset 0 0 0 1px var(--text)}.check-button{margin-top:4px}.loading-message{margin:12px 0 0;text-align:center;color:var(--secondary);font-size:13px}.error-message{margin-top:18px;padding:14px 16px;border-radius:12px;background:#fff0ee;color:#842f27;font-size:14px;line-height:1.45}.privacy-note{width:min(100%,600px);margin:36px auto 0;padding-top:25px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:center;gap:16px;color:var(--secondary);font-size:16px;line-height:1.45}.privacy-note p{margin:0}.privacy-note strong{color:#3f464a;font-weight:600}.privacy-lock{position:relative;flex:0 0 auto;width:28px;height:25px;border:2px solid var(--sand);border-radius:4px}.privacy-lock:before{content:"";position:absolute;left:6px;top:-14px;width:12px;height:14px;border:2px solid var(--sand);border-bottom:0;border-radius:8px 8px 0 0}.file-input{display:none}.top-brand{margin-bottom:22px;text-align:center;font-size:17px;font-weight:720;letter-spacing:.05em}.result-photo{max-height:700px}.verdict{margin-top:22px;padding:18px 20px;border-radius:15px;display:flex;justify-content:space-between;align-items:baseline;gap:18px;font-weight:700}.verdict-yes{background:var(--green-light);color:var(--green)}.verdict-change{background:var(--warm-light);color:#77533e}.verdict span{font-size:26px}.verdict strong{font-size:20px;white-space:nowrap}.occasion-label{margin:20px 0 8px;color:var(--secondary);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.result-title{margin:0;font-size:34px;line-height:1.08;font-weight:700;letter-spacing:-.035em}.result-reason{margin:10px 0 0;color:#42494d;font-size:16px;line-height:1.55}.change-card{margin-top:24px;padding:19px;border-radius:14px;background:#f5f3ef}.change-card span{color:#756459;font-size:12px;font-weight:700;letter-spacing:.09em}.change-card p{margin:8px 0 0;font-size:16px;line-height:1.5;font-weight:600}.helpful-row{margin-top:24px;padding-top:20px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.helpful-row>div{display:flex;gap:8px}.helpful-row button{min-width:62px;padding:10px 14px;border:0;border-radius:10px;background:#f1f1ee;cursor:pointer}.helpful-row button.active{background:#dfe1dd;box-shadow:inset 0 0 0 1px #9da09b}.result-buttons{margin-top:22px;display:grid;grid-gap:11px;gap:11px}.seo-links{margin-top:28px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px;font-size:14px}.content-card a,.seo-links a{color:inherit;text-underline-offset:3px}.seo-summary{width:min(100%,600px);margin:28px auto 0;padding-top:24px;border-top:1px solid var(--border)}.seo-summary h2{margin:0 0 9px;font-size:17px}.seo-summary p{margin:0;color:var(--secondary);font-size:14px;line-height:1.6}.content-shell{min-height:100dvh;padding:24px 16px 56px;background:var(--page)}.content-card{width:min(720px,100%);margin:0 auto;padding:32px 26px 40px;background:#ffffff;border-radius:24px}.content-card h1{margin:12px 0 18px;font-size:clamp(34px,8vw,54px);line-height:1.05;letter-spacing:-.04em}.content-card h2{margin:30px 0 9px;font-size:20px}.content-card p{color:#51565a;line-height:1.7}.content-card .lead{color:#292f33;font-size:17px}.back-link{display:inline-block;margin-bottom:28px}.faq-item{padding:18px 0;border-bottom:1px solid var(--border)}.content-cta{margin-top:34px;font-weight:700}@media (min-width:721px){.app-shell{padding:24px 16px 48px;background:#f7f7f5}.home-screen,.result-screen{width:100%;max-width:460px;min-height:auto;padding:28px 24px 34px;border:1px solid rgba(16,24,32,.07);border-radius:28px;box-shadow:0 20px 55px rgba(16,24,32,.055)}.hero h1{font-size:56px}.hero h2{max-width:390px;margin-top:24px;font-size:22px}.hero-divider{margin:28px auto 26px}.hero p{max-width:390px;font-size:17px}.hero-art{margin-top:20px;margin-bottom:18px}.hero-art,.main-actions{width:100%;max-width:390px}.button{min-height:64px;font-size:17px}.capture-button{gap:14px}.camera-symbol{width:30px;height:24px}.camera-symbol:before{left:7px;top:5px;width:11px;height:11px}.camera-symbol:after{left:7px;width:10px}.gallery-symbol{width:30px;height:25px}.photo-tip{max-width:390px;margin-top:24px}.tip-icon{width:34px;height:34px;font-size:17px}.photo-tip p{font-size:14px}.privacy-note{margin-top:28px;font-size:12px}.privacy-note,.seo-summary{max-width:390px}}@media (max-width:720px){.home-screen,.result-screen{max-width:none;padding:30px 22px 34px}.hero h1{font-size:clamp(50px,13vw,68px)}.hero h2{font-size:clamp(21px,5.7vw,28px)}.hero p{font-size:clamp(17px,4.5vw,21px)}.hero-art{width:100%}.button{min-height:70px;font-size:19px}.photo-tip{max-width:430px}.photo-tip p{font-size:15px}.privacy-note{font-size:13px}}