:root{--cream:#F6F3EE;--white:#fffdfa;--green:#697C55;--sage:#9DAA8F;--sand:#CBBBA0;--greige:#D9D2C7;--ink:#333b2d;--muted:#767b6f}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Poppins',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}#app{max-width:540px;margin:auto;min-height:100dvh;padding-bottom:92px}.top{padding:22px 20px 8px;display:flex;align-items:center;justify-content:space-between}.logo{width:185px;max-height:82px;object-fit:contain}.round{border:1px solid #e3e0d7;background:#fffefa;width:41px;height:41px;border-radius:50%;font-size:20px;color:var(--green)}.intro{padding:6px 20px 12px}.eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:700}.intro h1{font-size:29px;line-height:1.15;margin:8px 0 6px;letter-spacing:-.8px}.intro p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.search{display:flex;align-items:center;background:white;border:1px solid #e5e1d8;border-radius:15px;margin:16px 20px;padding:0 15px;gap:10px;box-shadow:0 3px 12px #33333307}.search span{font-size:21px;color:var(--green)}.search input{width:100%;border:0;outline:0;padding:15px 0;background:transparent;font-size:15px}.toggle{margin:14px 20px 18px;display:flex;padding:4px;background:#eae9df;border-radius:14px}.toggle button{flex:1;border:0;background:transparent;border-radius:11px;padding:12px 5px;color:#6b7063;font-weight:700;font-size:14px}.toggle button.active{background:var(--white);color:var(--green);box-shadow:0 2px 6px #00000012}.section{padding:0 20px;margin-top:25px}.section h2{font-size:21px;letter-spacing:-.5px;margin:0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.see{border:0;background:none;color:var(--green);font-size:13px;font-weight:700}.situations{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.situation{border:1px solid #e6e6dc;border-radius:15px;background:#fffdfa;text-align:left;min-height:100px;padding:17px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.situation .symbol{font-size:25px}.situation strong{font-size:16px;color:var(--ink)}.situation:nth-child(2){background:#e7eade}.situation:nth-child(3){background:#f0e8db}.situation:nth-child(4){background:#e9ebe4}.situation:nth-child(5){background:#f4ede2}.situation:nth-child(6){background:#e4e9e2}.age-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.age-grid button{border:1px solid #dddccc;border-radius:14px;background:white;padding:19px 8px;font-weight:700;color:var(--green)}.banner{margin:24px 20px 4px;padding:23px 21px;border-radius:16px;background:#a5af98;color:#fff;position:relative;overflow:hidden}.banner small{font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:11px}.banner h2{font-size:26px;line-height:1.1;margin:8px 0 9px;max-width:210px}.banner p{font-size:13px;max-width:210px;line-height:1.4;margin:0 0 14px}.banner button{border:0;border-radius:9px;background:#fffdfa;color:var(--green);font-weight:700;padding:10px 13px}.banner .deco{position:absolute;right:-16px;bottom:-28px;font-size:125px;opacity:.26;transform:rotate(-18deg)}.rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 20px 8px;scrollbar-width:none}.rail::-webkit-scrollbar{display:none}.tile{flex:0 0 184px;scroll-snap-align:start;cursor:pointer}.tile-img{height:145px;border-radius:14px;overflow:hidden;position:relative;background:#e5e4dd}.tile-img img{width:100%;height:100%;object-fit:cover}.pill{position:absolute;top:9px;left:9px;background:#fffdf9;padding:5px 8px;border-radius:7px;font-size:11px;font-weight:700;color:var(--green)}.heart{position:absolute;right:8px;top:8px;width:31px;height:31px;border:0;background:#fffdf9e8;border-radius:50%;color:var(--green);font-size:19px}.tile h3{margin:9px 0 4px;font-size:16px}.tile p{font-size:12px;color:var(--muted);margin:0}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(540px,100%);height:76px;padding-bottom:env(safe-area-inset-bottom);background:#fffdfa;border-top:1px solid #e9e5dc;display:grid;grid-template-columns:repeat(4,1fr);z-index:10}.bottom button{border:0;background:transparent;color:#7b8075;font-size:11px;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column}.bottom button b{font-size:22px;font-weight:400}.bottom button.selected{color:var(--green);font-weight:800}.page-title{font-size:27px;margin:8px 20px 15px}.result-list{padding:0 20px;display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.result-list .tile{min-width:0}.result-list .tile-img{height:145px}.back{margin:12px 20px;border:0;background:none;color:var(--green);font-weight:700;padding:8px 0}.hero-img{width:calc(100% - 40px);height:260px;object-fit:cover;margin:0 20px;border-radius:16px}.detail{padding:20px}.detail h1{font-size:31px;margin:4px 0 8px}.detail .meta{color:var(--muted);font-size:13px;margin-bottom:22px}.detail h2{font-size:18px;color:var(--green);margin:24px 0 10px}.detail ul{padding-left:22px;line-height:1.8}.detail p{line-height:1.65}.detail .save{border:1px solid var(--green);background:var(--green);color:white;border-radius:12px;padding:12px 17px;font-weight:700}.note{background:#e8e9e0;padding:13px 15px;border-radius:10px;font-size:13px;color:#4d5947;line-height:1.5;margin-top:24px}.empty{text-align:center;color:var(--muted);padding:55px 24px;line-height:1.6}.filterrow{display:flex;gap:8px;overflow:auto;padding:0 20px 16px}.filterrow button{border:1px solid #d9ddd1;background:#fffefa;color:var(--green);padding:9px 12px;border-radius:30px;white-space:nowrap;font-size:13px}.filterrow button.active{background:var(--green);color:white}.smallcopy{font-size:12px;color:var(--muted);margin:10px 20px 15px}@media(min-width:650px){body{background:#e8e8df}#app{background:var(--cream);box-shadow:0 0 30px #00000012}}

/* v0.2 — typography and calmer cards */
:root{--heading-font:'Bobby Jones','Cooper Black','Arial Rounded MT Bold',system-ui,sans-serif}
h1,h2,.page-title,.detail h1,.intro h1,.banner h2{font-family:var(--heading-font);font-weight:800;letter-spacing:-.025em}
.intro h1{font-size:30px;line-height:1.13}
.section h2{font-size:22px;line-height:1.22}
.tile{flex-basis:202px}
.tile-img{height:160px;border-radius:16px}
.tile h3{font-size:17px;line-height:1.3;margin:10px 0 5px;font-weight:700}
.tile p{font-size:12.5px;line-height:1.45}
.heart{height:40px;width:40px;font-size:24px;right:9px;top:9px;box-shadow:0 2px 8px #00000016}
.rail{gap:15px}
.result-list{gap:20px 14px}
.result-list .tile-img{height:156px}
.situation{min-height:104px}
.banner{background:#A44C2F;margin-top:28px;min-height:218px;padding:24px 21px;isolation:isolate;box-shadow:0 4px 14px #6b352014}
.banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#8E3D29 0%,#AA4B2E 48%,#D57E3C 100%);z-index:-2}
.banner-content{position:relative;z-index:2;max-width:65%}
.banner small{color:#FFE3B7;font-size:10px}
.banner h2{font-size:27px;line-height:1.07;color:#FFF5E5;max-width:225px}
.banner p{font-size:12px;color:#FFF2E0;max-width:210px}
.banner button{color:#874126;background:#FFF6E8;font-size:12px;padding:11px 12px}
.autumn-art{position:absolute;right:-12px;top:0;height:100%;width:56%;object-fit:cover;z-index:0;pointer-events:none}
@media(max-width:360px){.banner-content{max-width:68%}.banner h2{font-size:24px}.autumn-art{right:-25px}}

/* v0.3: compact app-first homepage */
:root{--heading-font:'Fredoka','Poppins',sans-serif;--ink:#2E332B;--green:#386E57}
body{background:#F9F5EF}
#app{background:#F9F5EF}
h1,h2,.page-title,.detail h1,.banner h2{font-family:'Fredoka','Poppins',sans-serif;letter-spacing:-.02em;font-weight:600}
.top{padding:18px 20px 7px;min-height:95px}
.top .logo{width:158px;height:72px;object-fit:contain;object-position:left center}
.home-top{min-height:94px;gap:12px}
.payoff{font-family:'Caveat',cursive;color:#AF765B;font-size:20px;line-height:1.03;transform:rotate(-4deg);margin-left:auto;white-space:nowrap}
.round{flex:0 0 42px;display:flex;align-items:center;justify-content:center;color:#766B61;border-color:#EAE1D8}
.hero-search{margin:8px 20px 15px;border-radius:25px;min-height:58px;box-shadow:0 5px 15px #6C544512}
.hero-search>svg{flex:none;color:#7A7D73}
.hero-search input{font-size:14px}
.hero-search>button{border:0;background:transparent;border-left:1px solid #eee7df;padding:8px 0 8px 14px;color:#657368;display:flex;align-items:center}
.toggle{margin:0 20px 15px;border-radius:30px;padding:3px;background:#F3F0EB;border:1px solid #E7DED4}
.toggle button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:28px;padding:11px 3px;font-size:13px;color:#4D534B;font-weight:500}
.toggle button.active{background:#3B775F;color:white;box-shadow:0 2px 6px #375B4D23}
.home-choices{margin:0 20px}
.compact-situations{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.compact-situation{min-width:0;min-height:92px;border:0;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#8E472D;padding:10px 2px}
.compact-situation span:last-child{font-size:clamp(9px,2.6vw,12px);font-weight:600;letter-spacing:-.025em;color:#302F2B;white-space:nowrap}
.compact-situation .cat-icon{display:flex;align-items:center;justify-content:center;height:34px}
.cat-0{background:#F5DDCD;color:#A45435}.cat-1{background:#DDEAE5;color:#37765F}.cat-2{background:#E1EBDD;color:#507D63}.cat-3{background:#F5DCD2;color:#A7593D}.cat-4{background:#F2E4DC;color:#A76349}.cat-5{background:#E6EDE0;color:#557F54}
@media(max-width:370px){.compact-situations{gap:5px}.compact-situation{border-radius:13px;min-height:83px}.compact-situation .cat-icon svg{width:26px}}
.season-banner{display:block;text-align:left;position:relative;overflow:hidden;border:0;width:calc(100% - 40px);min-height:154px;margin:21px 20px 25px;padding:22px 20px;background:#F5D7B8;border-radius:20px;color:#763D25;box-shadow:0 3px 10px #8F583012}
.season-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.season-copy{position:relative;z-index:1;max-width:72%}
.season-copy h2{font-family:'Fredoka',sans-serif;font-weight:600;font-size:clamp(18px,5.3vw,25px);line-height:1.15;margin:0 0 9px;color:#7B3B25}
.season-copy p{font-size:12px;line-height:1.5;margin:0;color:#603E30}
.season-arrow{position:absolute;z-index:2;right:18%;bottom:17px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#9E5135;color:white;width:36px;height:36px}
.content-section{margin:25px 0 0}
.content-section .section-head{margin:0 20px 13px}
.section-head h2,.home-lower h2{font-family:'Fredoka',sans-serif;font-size:22px;font-weight:600;letter-spacing:-.025em;margin:0}
.see{font-size:12px;color:#9B5C3F;font-weight:600}
.rail{gap:12px;padding:0 20px 6px}
.rail .tile{flex:0 0 170px;background:#FFFCF8;border-radius:15px;overflow:hidden;border:1px solid #EBE4DD;box-shadow:0 2px 5px #4D3C2710}
.rail .tile-img{height:138px;border-radius:0}
.rail .tile h3{font-size:14px;margin:10px 11px 3px;line-height:1.25}
.rail .tile p{font-size:11px;margin:0 11px 12px;line-height:1.35}
.new-label{position:absolute;left:9px;top:9px;background:#F7DEBF;color:#713E2C;font-size:11px;font-weight:600;padding:4px 8px;border-radius:8px}
.heart{background:#FFFDF8ED;color:#647A59;width:38px;height:38px;font-size:24px}
.home-lower{margin:34px 20px 10px}
.home-ages{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:13px 0 0;padding-bottom:3px}
.home-ages button{border:0;background:transparent;flex:0 0 91px;display:flex;align-items:center;flex-direction:column;gap:8px;color:#515A4B;font-size:11px;font-weight:600}
.age-circle{width:59px;height:59px;border-radius:50%;background:#E6EBDD;border:2px solid #F8F5EE;box-shadow:0 0 0 1px #E6DFD4;display:flex;align-items:center;justify-content:center;color:#68836C}
.home-ages button:nth-child(2) .age-circle{background:#F6E3D5;color:#AD765B}.home-ages button:nth-child(3) .age-circle{background:#DDEAE7}.home-ages button:nth-child(4) .age-circle{background:#F0E3D9}
.themes-head{margin-top:34px}
.themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}
.themes button{border:0;border-radius:17px;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#6C5949;font-weight:600;font-size:12px}
.themes button:nth-child(1){color:#668D9A}.themes button:nth-child(2){color:#B87C65}.themes button:nth-child(3){color:#D49B35}.themes button:nth-child(4){color:#A55B39}.themes button:nth-child(5){color:#AA6857}.themes button:nth-child(6){color:#537B5D}
.install-card{margin-top:24px;width:100%;border:1px solid #E9DAD0;border-radius:18px;background:linear-gradient(110deg,#E5EFE5,#F7E2D9);display:flex;align-items:center;text-align:left;gap:12px;padding:16px 14px;color:#365847}
.install-icon{width:45px;height:45px;border-radius:50%;background:#36745B;color:white;display:flex;align-items:center;justify-content:center;flex:none}
.install-copy{display:flex;flex-direction:column;gap:5px;flex:1}
.install-copy strong{font-size:13px;line-height:1.3}.install-copy small{font-size:11px;line-height:1.4;color:#586A5D}
.install-go{width:29px;height:29px;display:flex;align-items:center;justify-content:center;background:#36745B;color:white;border-radius:50%;flex:none}
.install-help{background:white;border:1px solid #E6DFD4;padding:16px;border-radius:14px;margin-top:10px;font-size:13px;line-height:1.5}
.install-help p{margin:6px 0 12px}.install-help button{background:#36745B;color:white;border:0;border-radius:9px;padding:8px 15px}
.bottom{height:76px}.bottom button{gap:5px}.bottom button.selected{color:#36745B}
.result-list .tile p{font-size:12px}.page-title{font-family:'Fredoka',sans-serif}

/* v0.4: four primary situations fit one row on narrow Samsung screens */
.compact-situations{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.compact-situation{min-height:94px;border-radius:17px;padding:10px 3px;gap:9px}
.compact-situation span:last-child{font-size:clamp(11px,2.9vw,13px);letter-spacing:0;white-space:normal;overflow-wrap:normal;line-height:1.2;text-align:center}
.compact-situation .cat-icon{height:35px}
@media(max-width:370px){.compact-situations{gap:7px}.compact-situation{min-height:88px;border-radius:15px}.compact-situation .cat-icon svg{width:29px;height:29px}}
/* v0.4: editorial phone illustration inspired by approved reference */
.install-card{min-height:137px;position:relative;overflow:hidden;isolation:isolate;padding:18px 14px 18px 112px;gap:10px;background:linear-gradient(112deg,#E7F0E8 0%,#F5E9E2 58%,#F6DCD6 100%);border:1px solid #E8E2D9;border-radius:20px;box-shadow:0 4px 16px #6A5B4B0B}
.install-phone{position:absolute;left:25px;bottom:-37px;width:70px;height:133px;border:5px solid #34312E;border-radius:14px;background:#FFF9F0;box-shadow:5px 7px 12px #4A443326;transform:rotate(-13deg);display:flex;align-items:center;justify-content:center;flex:none}
.install-phone:before{content:'';position:absolute;inset:4px;border:1px solid #D8D1C6;border-radius:8px;pointer-events:none}
.phone-notch{position:absolute;top:0;left:17px;width:27px;height:6px;background:#34312E;border-radius:0 0 6px 6px}
.phone-heart{font-size:30px;color:#C78D78;line-height:1}
.phone-line{position:absolute;bottom:10px;left:24px;width:15px;height:3px;border-radius:4px;background:#BDB8AE}
.install-copy{position:relative;z-index:1;gap:7px;min-width:0}
.install-copy strong{font-size:14px;line-height:1.3;color:#30352D;font-weight:700}
.install-copy small{font-size:11px;line-height:1.5;color:#4C574F}
.install-go{position:relative;z-index:1;background:#36745B;width:31px;height:31px}
@media(max-width:370px){.install-card{padding-left:96px;padding-right:10px}.install-phone{left:18px;width:65px}.install-copy strong{font-size:12.5px}.install-copy small{font-size:10px}}
