/* Scoped to the welcome screen; the exploration interface keeps its own layout. */
.home{max-width:1320px;padding:28px 36px 36px;word-break:keep-all;overflow-wrap:normal}
.home-head{position:relative;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:10px;margin:0 0 28px;padding:34px 42px;border-radius:24px;background:#214b3b;color:#fff9eb;overflow:hidden;border:1px solid #173a2c;box-shadow:0 10px 28px #234d3c12}
.home-head:before{content:"";position:absolute;inset:12px;border:1px solid #e9d59738;border-radius:15px;pointer-events:none}
.home-head .eyebrow{font-size:15px;letter-spacing:.08em;color:#e5d6ae;font-weight:700}
.home h1{font-size:clamp(36px,4.7vw,62px);line-height:1.23;letter-spacing:-.045em;margin:14px 0 18px;color:#fff9eb}
.home h1 em{color:#f3d38a;font-style:normal}
.home .home-head p{font-size:19px;line-height:1.75;color:#f2f1e7;margin:0}
.journey-copy{z-index:1}.journey-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.journey-tags span{font-size:15px;padding:5px 12px;border:1px solid #d9e4cb55;border-radius:6px;color:#fff6dc}
.journey-landscape{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}
.journey-landscape img{width:100%;max-height:285px;object-fit:contain}
.journey-caption{font-size:16px;text-align:center;color:#f4e5bd;letter-spacing:.03em}
.home .setup-grid{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:28px;align-items:start}
.home .section-label{display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:18px}
.home .section-label strong,.home .setup-panel label{font-size:21px;line-height:1.5;color:#233f31;font-weight:800}
.home .section-label>span{font-size:16px;line-height:1.65;color:#52624c}
.step-seal{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;border-radius:50%;background:#e7eddf;font-size:16px!important;color:#28553d;margin-right:5px;vertical-align:2px}
.home .companions{gap:14px}
.home .companion{border:2px solid #dce3d5;background:#fffef8;padding:14px 16px 18px;border-radius:18px;transition:background .18s,border-color .18s;overflow:hidden}
.home .companion.selected{border-color:#3c6946;background:#eff5e6}
.home .companion strong{display:block;font-size:24px;line-height:1.5;margin-top:4px;color:#233e2f}
.home .companion p{font-size:16px;line-height:1.7;margin:7px 0 0;color:#4e6047}
.home .companion .pet-3d{height:162px}
.home .choose-dot{top:12px;right:12px;width:25px;height:25px;font-size:17px}
.home .flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px;padding:20px 0;border-top:1px solid #d7ddce}
.home .flow>div{font-size:16px;line-height:1.75;padding:0;border:0;color:#53604b}
.home .flow b{display:block;font-size:17px;line-height:1.55;color:#294632;margin-bottom:6px}
.home .setup-panel{padding:24px;background:#fffefb;border:1px solid #d3dbc9;border-radius:18px;box-shadow:0 7px 20px #34462f08}
.home .setup-panel label{display:block;font-size:20px;margin:0 0 12px}
.home #pet-name{width:100%;font-size:21px;min-height:56px;padding:12px 15px;border:1.5px solid #9eaf93;border-radius:10px;background:#fff}
.home .setup-panel .hint{font-size:15px;line-height:1.75;color:#52614c;margin:9px 0 23px}
.home .mode-tabs{gap:8px;background:none;padding:0}
.home .mode-tabs button{font-size:16px;line-height:1.6;padding:11px 8px;min-height:50px;border:1px solid #cbd5c0;border-radius:9px;background:#f5f6ef;color:#355035}
.home .mode-tabs button.active{background:#e5edda;border-color:#487244;color:#213d2b;font-weight:800}
.home [data-action="start"]{font-size:21px;min-height:60px;border-radius:12px;margin-top:8px;background:#25553f;color:#fff}
.home [data-action="import"]{font-size:16px;min-height:44px}
.home .resume{margin-bottom:26px;border:1px solid #aebb9d;background:#eef3e7;padding:18px 23px;gap:18px;border-radius:15px}
.home .resume strong{font-size:20px;overflow-wrap:anywhere}.home .resume p{margin:4px 0 0;font-size:16px}
.home .resume button{font-size:18px;white-space:nowrap;min-height:48px}
.home .footer-note{border-top:1px solid #d9dece;margin-top:24px;padding-top:20px;color:#53614a;font-size:15px}
.home .footer-note p{font-size:16px;margin:0 0 12px}.home .footer-note button{font-size:15px;padding:7px 11px;line-height:1.65}
@media(max-width:1100px){.home{padding:24px}.home-head{padding:30px}.home .setup-grid{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.home .companion{padding:12px 10px}.home .companion .pet-3d{height:140px}.home .flow{gap:10px}.home .flow b{font-size:16px}}
@media(max-width:900px){.home .setup-grid{grid-template-columns:1fr}.home .setup-panel{max-width:none}.home .section-label{gap:6px}.home .companions .pet-3d{height:175px}.home .flow{margin-bottom:0}.home-head{grid-template-columns:1.2fr 1fr}.home .home-head p{font-size:18px}.journey-caption{font-size:14px}}
@media(max-width:600px){.home{padding:16px}.home-head{display:block;padding:27px 24px}.home h1{font-size:40px}.home .home-head p{font-size:17px}.home-head .eyebrow{font-size:14px;letter-spacing:0}.journey-landscape{margin-top:12px}.journey-landscape img{height:150px}.journey-caption{font-size:14px}.home .companions{grid-template-columns:1fr}.home .companion{display:grid;grid-template-columns:110px 1fr;text-align:left;column-gap:14px;padding:16px}.home .companion .pet-3d{grid-row:1 / 3;height:110px}.home .companion strong{align-self:end;margin:0;font-size:23px;padding-right:24px}.home .companion p{margin:5px 0 0}.home .flow{grid-template-columns:1fr;gap:16px}.home .flow>div{display:grid;grid-template-columns:140px 1fr;gap:8px}.home .flow b{font-size:16px}.home .setup-panel{padding:20px}.home .section-label strong{font-size:21px}.home .resume{align-items:stretch;flex-direction:column}.home .resume button{width:100%}.home .footer-note button{display:block;width:100%;margin:8px 0}.home .footer-note{font-size:0}.journey-tags span{font-size:14px}}
