/* Tokens from the app's Theme.Palette. Light only. */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-800-900.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --cream: #FBF7EF; --mint: #DCF1E2; --ink: #25352B; --inkDeep: #1E3A2A; --slate: #5E6E63;
  --muted: #9AA69D; --secondary: #7C8A80; --divider: #EDE7DA;
  --brand: #2E9E63; --brandBright: #19B583; --brandSoft: #EAF7EE;
  --protein: #FF8A5B; --proteinText: #E8551F; --proteinSoft: #FFF3EC;
  --carbs: #F6C84C; --carbsText: #C98A12; --carbsSoft: #FFFAE9;
  --fat: #A47FE6; --fatText: #7B55D3; --fatSoft: #F3EEFD;
  --water: #5BB3E8; --waterText: #2C82BF; --waterSoft: #EDF6FC;
  --violet: #8F6BEC; --gold: #F6C84C; --goldText: #C98A12;
  --irid: linear-gradient(120deg, #19B583 0%, #1AA9AE 25%, #3E8FE0 50%, #7C6CE8 75%, #C95EA8 100%);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Noteworthy", cursive;
  --shadow: 0 10px 28px rgba(30, 58, 42, .10), 0 2px 6px rgba(30, 58, 42, .05);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 17px/1.45 var(--text); container-type: inline-size; container-name: site; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--brandBright); outline-offset: 3px; border-radius: 10px; }
h1:focus { outline: none; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: rgba(251, 247, 239, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--inkDeep); font: 900 21px var(--display); letter-spacing: -.02em; }
.brand img { width: 40px; height: auto; transform: rotate(-20deg); }
.brand img.r { transform: scaleX(-1) rotate(-20deg); }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.nav { display: none; gap: 26px; align-items: center; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 800; font-size: 15px; }
.nav a:hover { color: var(--inkDeep); }

/* Language menu: <details>, works without JS */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 14px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); font-weight: 800; font-size: 15px; color: var(--inkDeep); cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { color: var(--secondary); }
.lang .nm { display: none; }
.lang .menu { position: absolute; right: 0; top: 48px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(30, 58, 42, .18); min-width: 200px; z-index: 60; }
.lang .menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 800; color: var(--ink); }
.lang .menu a:hover { background: #F6F2E9; }
.lang .menu a[aria-current] { background: var(--brandSoft); color: var(--brand); }

/* Footer */
.foot { border-top: 1px solid var(--divider); padding: 26px 20px 40px; display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--secondary); font-size: 14px; font-weight: 800; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.foot a { text-decoration: none; color: var(--slate); }
.foot a:hover { color: var(--inkDeep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 20px; border: 0; font: 800 17px var(--text); cursor: pointer; text-decoration: none; }
.btn.irid { background: var(--irid); color: #fff; box-shadow: 0 12px 30px rgba(62, 143, 224, .28); }
.btn.soft { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Simple pages */
.page { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }
.page h1 { font: 800 32px/1.15 var(--display); color: var(--inkDeep); margin: 18px 0 6px; letter-spacing: -.01em; }
.page .intro { font: 600 18px/1.55 var(--text); color: var(--slate); margin: 16px 0 22px; }
.notfound { text-align: center; padding-top: 72px; }

@container site (min-width: 760px) {
  .hdr { padding: 14px 40px; }
  .nav { display: flex; }
  .lang .nm { display: inline; }
  .foot { flex-direction: row; justify-content: space-between; padding: 28px 40px 44px; }
  .page { padding-top: 40px; }
  .page h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Home. Phone first: the hero is the app's Welcome screen. Desktop (≥ 760 px):
   variant B — copy on the left, the full panda on the right. */

.hero { position: relative; overflow: hidden; text-align: center; padding: 18px 20px 0;
  min-height: max(600px, calc(100svh - 64px));
  background: radial-gradient(120% 85% at 50% 20%, #EEF8F1 0%, #DCF1E2 55%, #CDEAD6 100%); }
.hero-copy { position: static; }
.headline { position: relative; z-index: 3; display: inline-block; margin: 10px 0 0; white-space: nowrap;
  font: 900 56px/1.04 var(--display); letter-spacing: -.02em; color: var(--inkDeep); }
.headline .lead, .headline .acc { display: block; }
.headline .lead > span, .headline .acc > span { display: block; }
.headline .acc { background: var(--irid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { display: none; }
/* Size before the fitting script runs: Unbounded Black is about 0.8 em per character. */
.headline[data-len="4"] { font-size: min(56px, calc((100cqw - 40px) / 3.2)); }
.headline[data-len="5"] { font-size: min(56px, calc((100cqw - 40px) / 4.0)); }
.headline[data-len="6"] { font-size: min(56px, calc((100cqw - 40px) / 4.8)); }
.headline[data-len="7"] { font-size: min(56px, calc((100cqw - 40px) / 5.6)); }
.headline[data-len="8"] { font-size: min(56px, calc((100cqw - 40px) / 6.4)); }
.headline[data-len="9"] { font-size: min(56px, calc((100cqw - 40px) / 7.2)); }
.headline[data-len="10"] { font-size: min(56px, calc((100cqw - 40px) / 8.0)); }
.headline[data-len="11"] { font-size: min(56px, calc((100cqw - 40px) / 8.8)); }
.headline[data-len="12"] { font-size: min(56px, calc((100cqw - 40px) / 9.6)); }
.headline[data-len="13"] { font-size: min(56px, calc((100cqw - 40px) / 10.4)); }
.headline[data-len="14"] { font-size: min(56px, calc((100cqw - 40px) / 11.2)); }
.headline[data-len="15"] { font-size: min(56px, calc((100cqw - 40px) / 12.0)); }
.headline[data-len="16"] { font-size: min(56px, calc((100cqw - 40px) / 12.8)); }

.store { display: inline-flex; text-decoration: none; border-radius: 14px; }
.hero .store { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 6; }
.store img { display: block; height: 56px; width: auto; }
.store-text { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px;
  border-radius: 22px; background: var(--irid); color: #fff; font: 800 17px var(--text); white-space: nowrap;
  box-shadow: 0 14px 34px rgba(62, 143, 224, .32); }

.hero-art { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 3;
  background: linear-gradient(to top, rgba(205, 234, 214, .98) 25%, rgba(205, 234, 214, 0)); }
.panda-box { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(112cqw, 520px); aspect-ratio: 1 / .66; }
.panda-stage { position: absolute; inset: 0; overflow: hidden; }
.panda-stage img, .panda-stage canvas { display: block; width: 100%; height: auto; pointer-events: auto; }
.psst { position: absolute; left: 12%; top: -4%; z-index: 4; margin: 0; white-space: nowrap;
  font: 700 28px var(--hand); color: var(--slate); transform: rotate(-8deg); }

/* Features */
.feat-head { text-align: center; padding: 60px 20px 10px; }
.kicker { margin: 0; font: 800 13px var(--text); letter-spacing: .14em; color: var(--goldText); text-transform: uppercase; }
.feat-head h2 { font: 800 28px/1.18 var(--display); color: var(--inkDeep); margin: 10px auto 0; max-width: 760px; letter-spacing: -.01em; }

.band { padding: 30px 20px 44px; background: linear-gradient(180deg, var(--a), var(--b)); }
.band-food { --a: #FFE3D3; --b: #FFF6EE; }
.band-water { --a: #D6ECFB; --b: #F2F8FE; }
.band-plan { --a: #FFEFC4; --b: #F5F9EC; }
.band-steps { --a: #FFE2D1; --b: #FFF7F0; }
.band-glp1 { --a: #D8EEEC; --b: #F2F9F6; }
.band-wardrobe { --a: #E7DEFC; --b: #F9F5FC; }
.band-widgets { --a: #D5F0DF; --b: #F3FAF5; }
.band-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.band .copy { text-align: center; }
.band h3 { font: 800 25px/1.16 var(--display); color: var(--inkDeep); margin: 0; letter-spacing: -.01em; }
.band p { font: 600 17px/1.42 var(--text); color: var(--slate); margin: 8px auto 0; max-width: 440px; }

/* Closing and support */
.closing { position: relative; overflow: hidden; text-align: center; padding: 56px 20px 0;
  background: radial-gradient(110% 90% at 50% 0%, #EEF8F1, #DCF1E2); }
.closing h2 { font: 800 30px/1.15 var(--display); color: var(--inkDeep); margin: 0 0 22px; }
.closing-panda { display: block; width: 220px; margin: 18px auto 0; }
.support-block { padding: 60px 20px 64px; text-align: center; }
.support-block h2 { font: 800 28px var(--display); color: var(--inkDeep); margin: 0; }
.support-block p { font: 600 17px/1.45 var(--text); color: var(--slate); max-width: 460px; margin: 10px auto 22px; }
.support-block .mail { display: block; margin-top: 16px; color: var(--brand); font-weight: 800; text-decoration: none; }

@container site (min-width: 760px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 2cqw; text-align: left;
    padding: 0 5cqw; min-height: max(560px, calc(100svh - 68px)); }
  .hero-copy { padding: 40px 0 60px; }
  .headline[data-len="4"] { font-size: min(92px, calc(44cqw / 3.2)); }
  .headline[data-len="5"] { font-size: min(92px, calc(44cqw / 4.0)); }
  .headline[data-len="6"] { font-size: min(92px, calc(44cqw / 4.8)); }
  .headline[data-len="7"] { font-size: min(92px, calc(44cqw / 5.6)); }
  .headline[data-len="8"] { font-size: min(92px, calc(44cqw / 6.4)); }
  .headline[data-len="9"] { font-size: min(92px, calc(44cqw / 7.2)); }
  .headline[data-len="10"] { font-size: min(92px, calc(44cqw / 8.0)); }
  .headline[data-len="11"] { font-size: min(92px, calc(44cqw / 8.8)); }
  .headline[data-len="12"] { font-size: min(92px, calc(44cqw / 9.6)); }
  .headline[data-len="13"] { font-size: min(92px, calc(44cqw / 10.4)); }
  .headline[data-len="14"] { font-size: min(92px, calc(44cqw / 11.2)); }
  .headline[data-len="15"] { font-size: min(92px, calc(44cqw / 12.0)); }
  .headline[data-len="16"] { font-size: min(92px, calc(44cqw / 12.8)); }
  .hero-sub { display: block; font: 600 20px/1.45 var(--text); color: var(--slate); max-width: 470px; margin: 22px 0 0; }
  .hero .store { position: static; transform: none; margin-top: 30px; }
  .hero-art { position: relative; inset: auto; align-self: end; height: min(600px, calc(100svh - 68px)); }
  .hero-art::after { display: none; }
  .panda-box { width: min(540px, 100%); aspect-ratio: 1 / .9; }
  .psst { left: 0; font-size: clamp(26px, 3.4cqw, 34px); }

  .feat-head { padding: 84px 40px 24px; }
  .feat-head h2 { font-size: 42px; }
  .band { padding: 70px 40px; }
  .band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; justify-items: center; }
  .band .copy { text-align: left; justify-self: stretch; }
  .band h3 { font-size: clamp(30px, 3.4cqw, 42px); }
  .band p { font-size: 20px; margin: 12px 0 0; }
  .band.odd .copy { order: -1; }
  .closing { padding-top: 80px; }
  .closing h2 { font-size: 42px; }
  .support-block { padding: 84px 40px; }
}

/* Live panda: a canvas over the still, same square box, faded in once loaded. */
.panda-stage .panda-live { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1; opacity: 0; transition: opacity .2s ease; }
.panda-stage.live .panda-live { opacity: 1; }
.panda-stage.live .panda-still { visibility: hidden; }

/* Feature scenes. Everything inside .scene is sized in cqw of the scene,
   so a scene scales like one picture. Positions are per-scene classes. */

.scene { position: relative; width: 100%; max-width: 450px; aspect-ratio: 1 / .92; container-type: inline-size; }
.scene > * { position: absolute; }
.scene .pd { z-index: 1; display: block; height: auto; }

.sc { z-index: 2; background: #fff; border-radius: 5cqw; padding: 3.2cqw; color: var(--ink); font-size: 2.9cqw; line-height: 1.25;
  box-shadow: 0 2.2cqw 6cqw rgba(30, 58, 42, .12), 0 .4cqw 1.2cqw rgba(30, 58, 42, .05); }
.sc .lbl { display: flex; align-items: center; gap: 1cqw; font-weight: 800; color: var(--muted); font-size: 2.6cqw; }
.sc .lbl b { color: var(--inkDeep); }
.sc .big { font: 800 8.6cqw/1 var(--display); color: var(--inkDeep); letter-spacing: -.02em; }
.sc .mid { margin-top: 1.8cqw; font: 800 5.4cqw/1.05 var(--display); color: var(--inkDeep); letter-spacing: -.02em; white-space: nowrap; }
.sc .mid small { font: 800 2.8cqw var(--text); color: var(--muted); letter-spacing: 0; }
.sc .mid.small { margin: 0; font-size: 4.4cqw; }
.row { display: flex; align-items: center; gap: 2cqw; }
.between { justify-content: space-between; }
.bar { display: block; width: 100%; height: 1.5cqw; margin: 1cqw 0; }
.chip { display: inline-flex; align-items: center; gap: 1.4cqw; width: max-content; padding: 1.5cqw 2.8cqw; border-radius: 99px; background: #fff;
  font: 800 3.1cqw var(--text); color: var(--inkDeep); white-space: nowrap; box-shadow: 0 1cqw 2.6cqw rgba(0, 0, 0, .08); }
.chip small { color: var(--muted); font-weight: 700; }
.chips { z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 1.8cqw; }
.dot { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; }
.dot-carbs { background: var(--carbs); } .dot-brand { background: var(--brand); } .dot-protein { background: var(--protein); }
.bubble { display: grid; place-items: center; flex: none; width: 7cqw; height: 7cqw; border-radius: 50%; font-size: 3.8cqw; }
.b-water { background: var(--waterSoft); color: var(--water); }
.b-steps { background: var(--proteinSoft); color: var(--protein); }
.b-flame { background: var(--proteinSoft); color: var(--proteinText); }
.b-brand { background: var(--brandSoft); color: var(--brand); }
.b-med { width: 9cqw; height: 9cqw; font-size: 4.6cqw; background: #D8EEEC; color: #1E8C82; }
.violet { color: var(--violet); }

/* Food */
.scene-food .photo { left: 3%; top: 3%; width: 41%; z-index: 3; aspect-ratio: 1; border: 1cqw solid #fff; border-radius: 5cqw;
  background: linear-gradient(135deg, #F2E8D8, #E4D3BC); transform: rotate(-2deg); box-shadow: 0 2cqw 4.5cqw rgba(122, 74, 42, .22); }
.scene-food .photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 1cqw; }
.scene-food .vf { position: absolute; inset: -3.4cqw; width: calc(100% + 6.8cqw); height: calc(100% + 6.8cqw); fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; overflow: visible; }
.scene-food .chips { left: 0; top: 21%; }
.scene-food .pd { right: -1%; top: -2%; width: 50%; }
.scene-food .kcal { left: 19%; width: 62%; top: 45%; }
.scene-food .ring { position: relative; width: 14cqw; height: 14cqw; flex: none; }
.scene-food .ring svg { width: 100%; height: 100%; }
.scene-food .ring b { position: absolute; inset: 2.4cqw; display: grid; place-items: center; border-radius: 50%; background: var(--brandSoft); color: var(--brand); font-size: 5.5cqw; }
.scene-food .macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 2.2cqw; font-size: 2.4cqw; font-weight: 800; color: var(--slate); }
.scene-food .macros b { color: var(--inkDeep); }
.scene-food .m-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-food .plates { display: flex; margin-top: 2.2cqw; }
.scene-food .plates img { width: 12cqw; height: 12cqw; margin-right: -2cqw; border: .8cqw solid #1E2A22; border-radius: 50%; background: #fff; object-fit: cover; }
.scene-food .goal { margin-top: 2cqw; }

/* Water */
.scene-water .glass { left: 9%; top: 4%; width: 25%; height: auto; z-index: 2; }
.scene-water .added { left: 28%; top: 3%; z-index: 3; color: var(--waterText); }
.scene-water .pd { right: -2%; top: -2%; width: 52%; }
.scene-water .pair { left: 5%; right: 5%; top: 48%; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.scene-water .pair .sc { position: relative; }
.cups { display: flex; gap: .9cqw; margin-top: 1.6cqw; }
.cups i { width: 2.3cqw; height: 3.4cqw; border-radius: .6cqw .6cqw 1cqw 1cqw; background: var(--waterSoft); }
.cups i.on { background: var(--water); }

/* Plan */
.scene-plan .days { left: 4%; top: 5%; z-index: 3; display: flex; gap: 1.2cqw; }
.scene-plan .day { width: 8.6cqw; height: 10.6cqw; border-radius: 3cqw; background: rgba(255, 255, 255, .92); display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--slate); font-weight: 800; font-size: 2.3cqw; line-height: 1.1; }
.scene-plan .day b { font: 800 3.4cqw var(--display); }
.scene-plan .day.on { background: var(--irid); color: #fff; }
.scene-plan .shop { left: 4%; top: 21%; z-index: 3; color: var(--goldText); }
.scene-plan .pd { right: 0; top: -3%; width: 46%; }
.scene-plan .meals { left: 6%; right: 6%; top: 43%; z-index: 2; display: flex; flex-direction: column; gap: 2cqw; }
.scene-plan .meal { position: relative; display: flex; align-items: center; gap: 2.6cqw; padding: 2.2cqw; border-radius: 4.4cqw; }
.scene-plan .meal.dim { opacity: .6; }
.scene-plan .meal img { width: 11.5cqw; height: 11.5cqw; border-radius: 3.2cqw; background: #F6EFE2; object-fit: cover; flex: none; }
.scene-plan .t { flex: 1; min-width: 0; }
.scene-plan .t small { display: block; font-weight: 800; color: var(--muted); font-size: 2.3cqw; text-transform: uppercase; letter-spacing: .04em; }
.scene-plan .t b { display: block; font-size: 3.3cqw; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-plan .k { font-weight: 800; color: var(--brand); font-size: 2.9cqw; white-space: nowrap; }

/* Steps */
.scene-steps .steps-card { left: 4%; top: 4%; width: 45%; }
.bigring { position: relative; width: 24cqw; height: 24cqw; margin: 1.6cqw auto 0; }
.bigring svg { width: 100%; height: 100%; }
.bigring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bigring b { font: 800 4.4cqw var(--display); color: var(--inkDeep); }
.bigring small { font-weight: 800; color: var(--muted); font-size: 2.2cqw; }
.scene-steps .health { justify-content: center; margin-top: 1.4cqw; }
.scene-steps .health .ic { color: #FC5C7D; }
.scene-steps .pd { right: -2%; top: -2%; width: 50%; }
.scene-steps .workouts { left: 6%; right: 6%; top: 58%; }
.wrow { display: flex; align-items: center; gap: 2cqw; margin-top: 2cqw; font-weight: 800; }
.wrow .n { flex: 1; }
.wrow small { color: var(--muted); font-weight: 700; }

/* GLP-1 */
.scene-glp1 .weight-card { left: 4%; top: 4%; width: 45%; }
.scene-glp1 .down { color: var(--brand); }
.scene-glp1 .spark { display: block; width: 100%; margin-top: 1.4cqw; }
.scene-glp1 .pd { right: 1%; top: 0; width: 44%; }
.scene-glp1 .med { left: 6%; right: 6%; top: 58%; }
.scene-glp1 .name { font-weight: 800; font-size: 3.4cqw; color: var(--inkDeep); }
.scene-glp1 .tags { margin-top: 2.4cqw; flex-wrap: wrap; }
.scene-glp1 .tag { padding: 1.3cqw 2.6cqw; border-radius: 99px; background: var(--brandSoft); color: var(--brand); font-weight: 800; font-size: 2.8cqw; white-space: nowrap; }

/* Wardrobe */
.scene-wardrobe .chips { left: 4%; top: 12%; }
.scene-wardrobe .chip.violet { color: var(--violet); }
.scene-wardrobe .pd { right: -1%; top: -3%; width: 52%; }
.scene-wardrobe .tiles { left: 3%; right: 3%; top: 52%; display: flex; gap: 2.2cqw; padding: 2.6cqw; }
.tile { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; padding: 2.4cqw .6cqw 2cqw; border-radius: 4cqw;
  background: linear-gradient(135deg, #8F6BEC, #4E3AA8); border: .6cqw solid var(--gold); color: #fff; font-weight: 800; font-size: 2.3cqw; }
.tile span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile img { height: 10cqw; width: auto; object-fit: contain; }
.tile.off { background: #F4F0FB; border-color: transparent; color: var(--muted); }

/* Widgets */
.scene-widgets .grid4 { left: 4%; top: 4%; width: 64%; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.scene-widgets .grid4 .sc { position: relative; padding: 3cqw; }
.scene-widgets .sc.lift { transform: rotate(-3deg) translateY(-1.5cqw); box-shadow: 0 5cqw 9cqw rgba(30, 58, 42, .2); }
.scene-widgets .ghost { position: relative; border: .5cqw dashed rgba(30, 58, 42, .25); border-radius: 5cqw; }
.scene-widgets .sc.wide { grid-column: 1 / 3; }
.scene-widgets .pd { right: -3%; bottom: 0; width: 44%; }

@container site (min-width: 760px) {
  .scene { max-width: 510px; }
}
.tile .monocle { height: 10cqw; width: auto; }

/* Legal, support and 404 pages. */

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; font-size: 15px; text-decoration: none; }
.legal .updated { margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.legal .reference-note { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--brandSoft); color: var(--brand); font-weight: 700; font-size: 14px; }
.legal h2 { font: 800 19px/1.3 var(--display); color: var(--inkDeep); margin: 32px 0 8px; letter-spacing: -.01em; }
.legal p, .legal li { font: 600 16.5px/1.62 var(--text); color: var(--ink); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--brand); font-weight: 800; }
.legal strong { color: var(--inkDeep); }

.support-page { max-width: 600px; }
.support-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding: 22px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.support-form label { margin-top: 10px; font-weight: 800; font-size: 14px; color: var(--slate); }
.support-form label:first-child { margin-top: 0; }
.support-form input, .support-form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #E8E2D6; border-radius: 14px; background: #FDFBF6;
  font: 600 16px var(--text); color: var(--ink); outline: none; resize: vertical; }
.support-form input:focus, .support-form textarea:focus { border-color: var(--brandBright); background: #fff; }
.support-form [aria-invalid="true"] { border-color: #E2563B; }
.field-error { margin: 2px 0 0; color: #C2412A; font-weight: 700; font-size: 14px; }
.support-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.support-form .btn { width: 100%; margin-top: 16px; }

.status { display: none; margin-top: 8px; padding: 30px 22px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.status:target, .status.shown { display: block; }
.support-page:has(#sent:target) .support-form, .support-page.sent .support-form { display: none; }
.status .ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--brandSoft); color: var(--brand); font-size: 30px; }
.status h2 { font: 800 22px var(--display); color: var(--inkDeep); margin: 0 0 6px; }
.status p { margin: 0; color: var(--slate); font-weight: 700; }
#error { background: #FFF4F0; }
.status a, .direct a { color: var(--brand); font-weight: 800; text-decoration: none; }
.direct { margin-top: 18px; text-align: center; color: var(--slate); font-weight: 700; }
