/* Homepage follows the reference layout with original content and colours. */
:root{background:#f5f1e8;color:#342d2b}
#app.is-home{max-width:none;min-height:100svh;padding:0}
.is-home .home{position:relative;isolation:isolate;min-height:100svh;flex:1;display:flex;align-items:center;justify-content:center;padding:40px 24px;text-align:center;overflow:hidden}
.home-swatches{position:absolute;inset:0;pointer-events:none;z-index:-1}
.home-swatches i{position:absolute;width:42px;height:56px;background:linear-gradient(#a3bba9 75%,#729b83 75%);box-shadow:0 3px 8px #342d2b24;border-radius:2px;opacity:.9;transform:rotate(-6deg);top:3%;left:5%}
.home-swatches i:nth-child(2){width:34px;height:44px;background:linear-gradient(#eed0b3 75%,#dca16f 75%);top:1%;left:60%;transform:rotate(8deg)}
.home-swatches i:nth-child(3){width:39px;height:52px;background:linear-gradient(#d5a19b 75%,#bd665c 75%);top:29%;left:83%;transform:rotate(-4deg)}
.home-swatches i:nth-child(4){width:30px;height:40px;background:linear-gradient(#c4cacd 75%,#929b9f 75%);top:63%;left:86%;transform:rotate(10deg)}
.home-swatches i:nth-child(5){width:44px;height:57px;background:linear-gradient(#d4c8de 75%,#a18bb6 75%);top:79%;left:54%;transform:rotate(-8deg)}
.home-swatches i:nth-child(6){width:32px;height:42px;background:linear-gradient(#e9dea6 75%,#c6ad50 75%);top:72%;left:10%;transform:rotate(6deg)}
.home-swatches i:nth-child(7){width:28px;height:37px;background:linear-gradient(#e9c4d0 75%,#c8879d 75%);top:38%;left:0;transform:rotate(-10deg)}
.home-swatches i:nth-child(8){width:24px;height:32px;background:linear-gradient(#b5ccdc 75%,#668eae 75%);top:9%;left:31%;transform:rotate(5deg)}
.home-card{position:relative;width:100%;max-width:420px;padding:48px 24px;background:#faf7f0;border:1px solid #41363233;border-radius:4px}
.home .home-label{font-size:10px;font-weight:600;letter-spacing:2.5px;line-height:1.6;color:#a88c68;margin:0 0 18px}
.home .home-card h1{font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif;font-size:28px;line-height:1.5;font-weight:600;letter-spacing:.03em;color:#342d2b;margin:0 0 14px;white-space:nowrap}
.home .home-subtitle{font-size:14px;line-height:1.7;color:#6e6661;margin:0 0 30px}
.home-facts{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:12px;color:#6e6661;margin:0 0 34px}
.home-facts b{font-weight:400;color:#a88c68}
.home-card .primary{display:inline-block;width:auto;max-width:100%;min-height:48px;padding:13px 24px;line-height:1.5;font-size:15px;letter-spacing:0;font-weight:600;color:#faf7f0;background:#342d2b;border-radius:999px;box-shadow:none;margin:0 0 16px}
.home .home-note{font-size:11px;line-height:1.8;color:#9a9088;margin:0}
@media(max-width:350px){.is-home .home{padding:32px 20px}.home-card{padding:42px 17px}.home .home-card h1{font-size:26px}.home .home-subtitle{font-size:13px}.home-facts{font-size:11px;gap:6px}.home-card .primary{font-size:14px;padding-left:20px;padding-right:20px}.home .home-note{font-size:10px}}
@media(max-height:540px){.is-home .home{padding:24px 20px}.home-card{padding-top:30px;padding-bottom:30px}.home .home-subtitle{margin-bottom:22px}.home-facts{margin-bottom:24px}}
@media(prefers-reduced-motion:no-preference){.home-card{animation:arrive .4s ease both}}

.result .result-palette{margin:28px 0 24px;border:1px solid #41363229;text-align:left;overflow:hidden;border-radius:0}.result-swatch{height:72px;padding:0 16px 12px;display:flex;align-items:flex-end;justify-content:space-between;color:#342d2b;font-size:12px;letter-spacing:.08em}.result-swatch+.result-swatch{border-top:1px solid #ffffff47}.result-swatch span:last-child{font-family:Georgia,serif}.result-head>.eyebrow:first-child{display:block;margin-bottom:16px}.result h1{margin:14px 0 0}.result .quote{font-family:"Songti SC","SimSun",serif;font-size:19px;line-height:1.8;padding:0 8px}.result .ink-art{display:none}

.home .home-subtitle{font-family:"Songti SC","STSong","SimSun",serif;letter-spacing:1px;font-size:15px}.home .home-note{font-family:"Songti SC","STSong","SimSun",serif;letter-spacing:.25px}@media(max-width:350px){.home .home-subtitle{font-size:13px;letter-spacing:.5px}.home .home-note{font-size:10px}}

.home .home-label{font-family:Georgia,"Times New Roman",serif;font-size:10px;letter-spacing:2.5px;font-weight:600}.quiz-brand{display:flex;justify-content:center;align-items:center;gap:18px;color:#887b70;font-family:"Songti SC","SimSun",serif;font-size:12px;letter-spacing:3px;line-height:1.6}
