/* Funzel Studios — shared styles for the studio home, the ChefUP page and the legal pages.
   Bold "toy box" colors: deep grape bands, tangerine, berry, sunshine and mint blocks on a warm cream page. */
:root {
  --paper: #0b0a10; --card: #16131f; --card-2: #1d1929; --ink: #f6f2fb; --muted: #a59eb6; --line: #2a2536;
  --grape: #6a2fd6; --grape-2: #7b45f0; --tang: #ff6a2b; --berry: #ff3d7f; --sun: #ffc83a; --mint: #13c99a; --sky: #2fa8ff;
  --glow-1: #ff6a2b; --glow-2: #ff3d7f; --glow-3: #7b45f0;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
/* the ChefUP page keeps the game's own red-and-gold hero */
.page-chefup .hero h1 { font-size: clamp(42px, 6vw, 76px); }
.page-chefup { --glow-1: #ff2e4d; --glow-2: #ffb020; --glow-3: #b8173f; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); isolation: isolate; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--tang); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* header: sits on the colored hero */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(11, 10, 16, .72); border-bottom: 1px solid rgba(255, 255, 255, .07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand .wm { font: 800 25px/1 var(--display); letter-spacing: -.03em; }
.brand .wm small { display: block; font: 700 9.5px/1 var(--body); letter-spacing: .42em; opacity: .75; margin-top: 4px; }
.brand.gm img { border-radius: 12px; }
.top nav { margin-inline-start: auto; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.top nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: #fff; }
.top nav a.home { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .12); padding: 7px 12px 7px 8px; border-radius: 999px; color: #fff; }
.top nav a.home img { width: 22px; height: 22px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 24px; font: 800 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn.primary { background: var(--tang); color: #fff; box-shadow: 0 10px 22px -10px var(--tang); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px #3a3448; }
.btn:hover { transform: translateY(-2px); }

/* hero band */
.hero { position: relative; overflow: hidden; color: #fff; background: transparent; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.hero .wrap { z-index: 1; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; padding-block: 64px 80px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; }
.hero h1 .hl { position: relative; color: var(--sun); white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -.14em; width: 100%; height: .26em; }
.hero .lead { margin-top: 26px; font-size: 20px; color: rgba(255, 255, 255, .82); max-width: 36ch; }
.hero .kicker { color: var(--sun); }
.hero h1 { background: linear-gradient(180deg, #fff 55%, #d9d0ea); -webkit-background-clip: text; background-clip: text; }
.hero h1 .hl { -webkit-text-fill-color: var(--sun); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob.a { width: 520px; height: 520px; background: var(--glow-1); right: -140px; top: -180px; opacity: .32; }
.blob.c { width: 360px; height: 360px; background: var(--glow-3); right: 30%; top: 30%; opacity: .22; }
.blob.b { width: 420px; height: 420px; background: var(--glow-2); left: -200px; bottom: -220px; opacity: .22; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; width: 14px; height: 14px; border-radius: 4px; transform: rotate(var(--r, 20deg)); opacity: .9; }

/* device frames: images keep their real shape (no stretching) */
.phone, .tablet { position: absolute; background: #120a1c; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone { width: 34%; aspect-ratio: 560 / 1214; border-radius: 30px; padding: 7px; }
.tablet { width: 64%; aspect-ratio: 820 / 1180; border-radius: 30px; padding: 12px; }
.phone img, .tablet img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.tablet img { border-radius: 18px; }
.stage { position: relative; aspect-ratio: 1 / .92; width: 100%; }
.stage .tablet { left: 18%; top: 0; transform: rotate(-3deg); }
.stage .phone.p1 { left: 0; top: 22%; transform: rotate(-10deg); z-index: 2; }
.stage .phone.p2 { right: 0; top: 16%; transform: rotate(8deg); z-index: 2; }
.tag-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink, #2a1250); border-radius: 18px; padding: 9px 14px 9px 9px; box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.tag-chip img { width: 40px; height: 40px; border-radius: 11px; }
.tag-chip b { display: block; font: 800 16px/1.1 var(--display); color: #2a1250; }
.tag-chip span { color: #6c5a86; font-size: 13px; }

/* sections */
section { padding-block: 84px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin-top: 10px; }
.sec-head p { color: var(--muted); max-width: 44ch; }

/* game card on the studio home */
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); }
.game .art { position: relative; background: radial-gradient(110% 90% at 30% 20%, #b81f4a, #2a0510 80%); min-height: 460px; overflow: hidden; }
.game .art .stage { position: absolute; width: 82%; left: 9%; top: 9%; }
.game .info { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.game .title { display: flex; align-items: center; gap: 16px; }
.game .title img { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6); }
.game h3 { font-size: 44px; font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; font: 800 13px/1.2 var(--body); padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill { color: var(--mint); } }
:root[data-theme="dark"] .pill { color: var(--mint); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.game .tag { font-size: 19px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts div { border-radius: 18px; padding: 14px; color: #fff; }
.facts div:nth-child(1) { background: var(--tang); }
.facts div:nth-child(2) { background: var(--grape-2); }
.facts div:nth-child(3) { background: var(--mint); color: #063a2d; }
.facts b { display: block; font: 800 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; font-weight: 600; opacity: .9; }
.game .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.next { margin-top: 20px; display: flex; align-items: center; gap: 18px; border: 2px dashed #3a3448; border-radius: 24px; padding: 22px 26px; color: var(--muted); }
.next svg { width: 44px; height: 44px; flex: none; color: var(--grape-2); }
.next b { color: var(--ink); font-family: var(--display); font-size: 20px; display: block; }

/* colored promise / feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 12px; color: #fff; position: relative; overflow: hidden; }
.card .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.card .ico svg { width: 32px; height: 32px; }
.card h3 { font-size: 26px; font-weight: 800; }
.card p { opacity: .92; }
.card.c1 { background: var(--tang); }
.card.c2 { background: var(--sun); color: #3a1c00; }
.card.c3 { background: var(--mint); color: #053428; }
.card.c4 { background: var(--grape-2); }
.card.c5 { background: var(--berry); }
.card.c6 { background: var(--sky); color: #04253f; }
.card.c2 .ico, .card.c3 .ico, .card.c6 .ico { background: rgba(0, 0, 0, .1); }
.strip { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.strip span { font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* contact band */
.contact { background: linear-gradient(130deg, var(--berry), var(--tang)); color: #fff; border-radius: 40px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; box-shadow: var(--shadow); }
.contact h2 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.contact p { opacity: .92; margin-top: 14px; max-width: 40ch; }
.contact .kicker { color: #fff3c4; }
.mailbox { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mailbox .addr { font: 800 clamp(18px, 2.4vw, 24px)/1.2 var(--display); user-select: all; word-break: break-all; }
.mailbox .row { display: flex; gap: 10px; flex-wrap: wrap; }
.mailbox .btn.mail { background: #0b0a10; color: #fff; }
.mailbox .btn.copy { background: #fff; color: #0b0a10; }
.mailbox ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; font-weight: 600; }

/* ChefUP page */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px; border: 1px solid rgba(255, 255, 255, .25); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.store b { font: 800 18px/1.1 var(--display); }
.hero .note { display: inline-block; margin-top: 16px; font-weight: 700; color: rgba(255, 255, 255, .8); font-size: 15px; }
.hero .appicon { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); margin-bottom: 22px; }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.step { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.step::before { content: counter(st); width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 800 18px/1 var(--display); color: #fff; background: var(--c, var(--tang)); margin-bottom: 8px; }
.step b { font: 800 19px/1.15 var(--display); }
.step span { color: var(--muted); font-size: 15px; }
.step:nth-child(8n+1) { --c: var(--sun); } .step:nth-child(8n+2) { --c: var(--tang); } .step:nth-child(8n+3) { --c: var(--berry); } .step:nth-child(8n+4) { --c: var(--grape-2); }
.step:nth-child(8n+5) { --c: var(--sky); } .step:nth-child(8n+6) { --c: var(--mint); } .step:nth-child(8n+7) { --c: #e0429a; } .step:nth-child(8n+8) { --c: #c99400; }
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.countries span { font-weight: 800; padding: 9px 16px; border-radius: 999px; color: #fff; background: var(--c); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .shot { aspect-ratio: 560 / 1214; border-radius: 26px; padding: 6px; background: #120a1c; box-shadow: var(--shadow); }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.gallery figcaption { font-weight: 700; font-size: 15px; }
.ipad { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; background: radial-gradient(90% 120% at 100% 0%, rgba(123, 69, 240, .45), transparent 60%), var(--card); border: 1px solid var(--line); color: #fff; border-radius: 40px; padding: 56px; overflow: hidden; }
.ipad h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.ipad p { color: rgba(255, 255, 255, .82); margin-top: 16px; max-width: 40ch; }
.ipad .kicker { color: var(--sun); }
.ipad .frame { background: #0c0614; border-radius: 34px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); max-width: 460px; justify-self: center; transform: rotate(2deg); }
.ipad .frame img { border-radius: 22px; width: 100%; aspect-ratio: 820 / 1180; object-fit: cover; }
.ipad ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 700; }
.ipad li { display: flex; gap: 10px; align-items: center; }
.ipad li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: none; }
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.help .box { background: var(--card); border-radius: 30px; padding: 32px; border: 1px solid var(--line); }
.help h3 { font-size: 28px; margin-bottom: 12px; }
.help p, .help li { color: var(--muted); }
.help ul { padding-inline-start: 20px; margin: 10px 0; }
.help .mailline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
.help code { font: 800 17px/1 var(--display); padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--grape-2) 12%, transparent); color: var(--ink); user-select: all; word-break: break-all; }
.help .btn { padding: 11px 18px; font-size: 15px; }
.links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-weight: 700; }
.links a { color: var(--tang); }

/* footer */
footer { margin-top: 20px; background: #07060b; border-top: 1px solid var(--line); color: rgba(255, 255, 255, .8); padding-block: 36px calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand img { width: 34px; height: 34px; }
footer .brand .wm { font-size: 21px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-inline-start: auto; }
footer a { color: #fff; }

/* legal pages */
.doc-hero { padding-block: 48px 56px; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-top: 10px; }
.doc-hero .meta { color: rgba(255, 255, 255, .8); margin-top: 10px; }
.doc { padding-block: 48px 72px; }
.doc > * { max-width: 780px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-inline-start: 22px; }
.doc a { color: var(--tang); overflow-wrap: anywhere; }

/* tablets (iPad portrait) and small laptops */
@media (max-width: 1024px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game .info { padding: 32px; }
}
@media (max-width: 860px) {
  .hero .wrap, .game, .contact, .ipad, .help { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 40px 60px; gap: 30px; }
  .hero .stage { width: 84%; max-width: 500px; margin: 8px auto 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .game .art { min-height: 0; aspect-ratio: 1 / .9; }
  .confetti { display: none; }
  .contact, .ipad { padding: 34px 24px; }
  section { padding-block: 60px; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .top nav a.hide-s { display: none; }
  .top nav { gap: 14px; }
  .cards.four, .ladder { grid-template-columns: minmax(0, 1fr); }
  .facts b { font-size: 26px; }
  .game .info { padding: 24px; }
  .game h3 { font-size: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage .phone, .stage .tablet { transition: transform .5s cubic-bezier(.2, 1.3, .4, 1); }
  .stage:hover .p1 { transform: rotate(-14deg) translateX(-10px); }
  .stage:hover .p2 { transform: rotate(12deg) translateX(10px); }
}

/* helpers (kept here instead of inline styles so the strict security policy can block all inline styles) */
section.flush { padding: 0; }
section.tight { padding-top: 20px; }
section.tighter { padding-top: 10px; }
.mt10 { margin-top: 10px; } .mt16 { margin-top: 16px; } .mt32 { margin-top: 32px; }
.hero .wrap.doc-head { display: block; padding-block: 48px 56px; }
.hero-chip { left: 30%; bottom: -2%; }
.confetti .cf1 { left: 48%; top: 30%; background: var(--sun); --r: 18deg; }
.confetti .cf2 { left: 44%; top: 12%; background: var(--mint); --r: -24deg; width: 10px; height: 10px; }
.confetti .cf3 { left: 40%; top: 82%; background: var(--berry); --r: 40deg; }
.confetti .cf4 { left: 3%; top: 76%; background: var(--sky); width: 10px; height: 10px; border-radius: 50%; }
.confetti .cf5 { left: 92%; top: 88%; background: var(--sun); width: 10px; height: 10px; border-radius: 50%; }
.confetti .cf11 { left: 48%; top: 28%; background: var(--sun); --r: 18deg; }
.confetti .cf12 { left: 46%; top: 10%; background: #fff; --r: -24deg; width: 10px; height: 10px; opacity: .5; }
.confetti .cf13 { left: 42%; top: 86%; background: var(--sun); width: 10px; height: 10px; border-radius: 50%; }
.countries span:nth-child(1) { --c: #2f6fe0; } .countries span:nth-child(2) { --c: #3557c9; } .countries span:nth-child(3) { --c: #e0334f; } .countries span:nth-child(4) { --c: #16a05d; }
.countries span:nth-child(5) { --c: #b8862a; } .countries span:nth-child(6) { --c: #0fa36b; } .countries span:nth-child(7) { --c: #c8243f; } .countries span:nth-child(8) { --c: #0f86c9; }

/* ---------- help chat ---------- */
.fzc-launch { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 13px 18px 13px 15px; border-radius: 999px; color: #fff; font: 800 15px/1 var(--body); background: linear-gradient(135deg, var(--berry), var(--tang)); box-shadow: 0 14px 30px -10px rgba(255, 61, 127, .7), 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: transform .15s ease; }
.fzc-launch:hover { transform: translateY(-2px); }
.fzc-launch svg { width: 22px; height: 22px; fill: currentColor; }
.fzc-dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #0b0a10; }
.fzc-panel { position: fixed; z-index: 41; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 64px); width: min(380px, calc(100vw - 36px)); height: min(600px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: #14111c; color: var(--ink); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); }
.fzc-panel[hidden] { display: none; }
.fzc-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 106, 43, .28), transparent 60%), #1a1624; border-bottom: 1px solid var(--line); }
.fzc-av { width: 34px; height: 34px; }
.fzc-titles { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.fzc-titles b { font: 800 17px/1.2 var(--display); }
.fzc-sub { font-size: 12.5px; color: var(--muted); }
.fzc-x { width: 36px; height: 36px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .06); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fzc-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.fzc-log { flex: 1; min-height: 140px; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.fzc-msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.fzc-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fzc-msg small { display: block; font-weight: 800; font-size: 11.5px; color: var(--sun); margin-bottom: 3px; }
.fzc-msg.bot { background: #221d2e; border-bottom-left-radius: 6px; align-self: flex-start; }
.fzc-msg.agent { background: #2a2140; border: 1px solid rgba(255, 200, 58, .35); border-bottom-left-radius: 6px; align-self: flex-start; }
.fzc-msg.me { background: linear-gradient(135deg, var(--berry), var(--tang)); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.fzc-msg.sys { align-self: center; background: transparent; color: var(--muted); font-size: 13px; text-align: center; max-width: 95%; }
.fzc-typing { display: flex; gap: 4px; }
.fzc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: fzc-b 1s infinite ease-in-out; }
.fzc-typing i:nth-child(2) { animation-delay: .15s; } .fzc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fzc-b { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.fzc-banner { margin: 0 14px 8px; padding: 9px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; background: rgba(19, 201, 154, .12); color: #6ff0c8; }
.fzc-banner[hidden], .fzc-email[hidden], .fzc-human[hidden] { display: none; }
.fzc-email { margin: 0 14px 8px; padding: 12px; border-radius: 16px; background: #1d1828; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.fzc-email p { margin: 0 0 8px; }
.fzc-row { display: flex; gap: 6px; flex-wrap: wrap; }
.fzc-row input { flex: 1 1 150px; min-width: 0; background: #0f0d15; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font: 500 14px var(--body); }
.fzc-row input[aria-invalid="true"] { border-color: var(--berry); }
.fzc-small { border: 0; border-radius: 12px; padding: 9px 12px; font: 800 13px var(--body); cursor: pointer; background: var(--tang); color: #fff; }
.fzc-small.ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.fzc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #17131f; }
.fzc-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; background: #0f0d15; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 13px; font: 500 15px/1.4 var(--body); }
.fzc-form textarea:focus { outline: none; border-color: var(--tang); }
.fzc-send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 14px; cursor: pointer; display: grid; place-items: center; background: var(--tang); color: #fff; }
.fzc-send:disabled { opacity: .5; cursor: default; }
.fzc-send svg { width: 20px; height: 20px; fill: currentColor; }
.fzc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px 12px; background: #17131f; font-size: 11.5px; color: var(--muted); }
.fzc-human { border: 0; background: none; padding: 0; color: var(--sun); font: 800 13px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .fzc-panel { inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  html.fzc-on .fzc-launch { display: none; }
  html.fzc-on body { overflow: hidden; }
  .fzc-launch-t { display: none; }
  .fzc-launch { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { .fzc-typing i { animation: none; } }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0; transition: border-color .2s ease; }
.qa[open] { border-color: color-mix(in srgb, var(--tang) 60%, transparent); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font: 800 17px/1.35 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: linear-gradient(var(--tang), var(--tang)) center / 12px 3px no-repeat, linear-gradient(var(--tang), var(--tang)) center / 3px 12px no-repeat, color-mix(in srgb, var(--tang) 18%, transparent); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }
