/* ============================================================
   曙宝 Shubao · stile del sito
   Colori dal brief: rosa #EC869B, verde bambù #7AA60A,
   verde scuro #283016, bianco testi #F7F7F7
   ============================================================ */
:root {
  --green-900: #1C220F;
  --green-800: #283016;
  --green-700: #323C1C;
  --green-600: #3E4A23;
  --bamboo: #7AA60A;
  --bamboo-soft: #A9CF3F;
  --pink: #EC869B;
  --pink-deep: #D9667E;
  --pink-soft: #F6C3CD;
  --white: #F7F7F7;
  --paper: #F7F1E6;
  --paper-2: #EFE6D4;
  --ink: #232A12;
  --ink-soft: #5B6247;
  --muted: #B9BFA8;
  --line: rgba(247, 247, 247, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;

  --font-body: "Nunito", "Noto Sans SC", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-han: "Ma Shan Zheng", "Noto Sans SC", serif;
  --font-brush: "Nanum Brush Script", "Ma Shan Zheng", cursive;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
html:lang(zh-Hans) { --font-body: "Nunito", "Noto Sans SC", "Noto Sans KR", system-ui, sans-serif; }
html:lang(ja) { --font-body: "Nunito", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif; }
html:lang(ja) body { line-break: strict; }
html:lang(ko) { --font-body: "Nunito", "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif; }
html:lang(ko) body { word-break: keep-all; }
h1, h2, h3 { text-wrap: balance; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--green-800); color: var(--white);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.cjk-brush { font-family: var(--font-han); font-weight: 400; }
.paw { width: 1em; height: 1em; fill: currentColor; flex: none; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--pink); color: var(--green-900); font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: var(--green-900); box-shadow: 0 10px 28px -12px rgba(236, 134, 155, .9); }
.btn--pink:hover { background: #F197A9; box-shadow: 0 14px 34px -12px rgba(236, 134, 155, 1); }
.btn--ghost { background: rgba(247, 247, 247, .06); border-color: rgba(247, 247, 247, .22); color: var(--white); }
.btn--ghost:hover { background: rgba(247, 247, 247, .12); border-color: rgba(247, 247, 247, .4); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(40, 48, 22, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__icon { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 2px var(--pink); }
.brand__name { font-size: 26px; line-height: 1; white-space: nowrap; }
.brand__latin { font: 900 18px var(--font-body); letter-spacing: .01em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--white); background: rgba(247, 247, 247, .08); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.lang a { padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); line-height: 1.2; text-decoration: none; white-space: nowrap; }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { background: var(--bamboo); color: var(--green-900); }
.lang--menu { display: none; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .2s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; isolation: isolate; }
.hero__dawn {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 75% 38%, rgba(236, 134, 155, .28), transparent 70%),
    radial-gradient(40% 40% at 78% 40%, rgba(255, 196, 140, .18), transparent 70%),
    linear-gradient(180deg, var(--green-800), var(--green-900));
}
.bamboo { position: absolute; z-index: -1; top: -40px; height: 115%; width: auto; color: var(--bamboo); opacity: .16; pointer-events: none; }
.bamboo--left { left: -60px; }
.bamboo--right { right: -40px; transform: scaleX(-1); opacity: .1; }

.hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(122, 166, 10, .18); color: var(--bamboo-soft); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.hero__title { margin-top: 18px; line-height: .95; }
.hero__han {
  display: block; font-family: var(--font-han); font-weight: 400;
  font-size: clamp(96px, 15vw, 188px); letter-spacing: .02em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
.hero__alt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-family: var(--font-brush); font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; color: var(--pink); }
.hero__alt .dot { color: var(--muted); font-family: var(--font-body); font-size: .6em; }
.hero__meaning { margin-top: 18px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; font-style: italic; }
.hero__lead { margin-top: 10px; max-width: 54ch; color: #DCE0CF; }
.hero__tagline { margin-top: 18px; }
.hero__tagline span { display: inline; padding: 2px 8px; font-weight: 800; color: var(--green-900); background: linear-gradient(100deg, transparent 0 2px, var(--pink) 2px calc(100% - 4px), transparent calc(100% - 4px)); -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 4px 10px 6px 12px; line-height: 1.9; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; }
.sun {
  position: absolute; inset: 1% 3% 5% 3%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE3C2, #F8B9A5 45%, var(--pink) 80%);
  box-shadow: 0 0 90px 10px rgba(236, 134, 155, .35);
  animation: breathe 7s ease-in-out infinite;
}
.panda { position: absolute; inset: 0; padding: 0; border: 0; background: none; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.panda__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); transition: opacity .12s; animation: bob 5s ease-in-out infinite; }
.panda__img--squeak { opacity: 0; }
.panda.is-squeaking .panda__img--rest { opacity: 0; }
.panda.is-squeaking .panda__img--squeak { opacity: 1; }
.panda.is-squeaking .panda__img { animation: hop .45s ease; }
.panda__hint {
  position: absolute; right: 2%; bottom: 8%; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; background: var(--white); color: var(--green-800);
  font-weight: 800; font-size: 14px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transform: rotate(-4deg);
  pointer-events: none;
}
.panda__hint .paw { color: var(--pink-deep); }
@keyframes breathe { 50% { transform: scale(1.03); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes hop { 30% { transform: translateY(-18px) rotate(-2deg); } 70% { transform: translateY(2px); } }

/* contract */
.ca { margin-top: 40px; padding: 20px 22px; border-radius: var(--radius); background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.ca__label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bamboo-soft); margin-bottom: 10px; }
.ca__row { display: flex; align-items: center; gap: 10px; }
.ca__value { flex: 1; min-width: 0; font: 500 clamp(13px, 1.7vw, 18px)/1.4 var(--font-mono); overflow-wrap: anywhere; word-break: break-all; color: var(--white); }
.ca__copy { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--bamboo); color: var(--green-900); font-weight: 900; transition: background .2s, transform .15s; }
.ca__copy:hover { background: var(--bamboo-soft); transform: translateY(-1px); }
.ca__copy.is-done, .sticky-buy__copy.is-done { background: var(--pink); }
.ca__copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ca__copy.is-done { background: var(--pink); }
.ca__note { margin-top: 10px; font-size: 14px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin: 16px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stats[hidden] { display: none; }
.stats > div { padding: 16px 20px; background: var(--green-900); }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-weight: 900; font-size: 22px; }
.stats dd.up { color: var(--bamboo-soft); }
.stats dd.down { color: var(--pink); }
.stats__src { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- dawn band ---------- */
.band { position: relative; height: clamp(160px, 26vw, 360px); overflow: hidden; background: var(--paper); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; pointer-events: none; }
.band::before { top: 0; background: linear-gradient(var(--green-900), transparent); }
.band::after { bottom: 0; background: linear-gradient(transparent, var(--paper)); }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section--deep { background: var(--green-900); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--bamboo-soft); margin-bottom: 12px; }
.section__title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 36px; overflow-wrap: anywhere; }

/* paper (story) */
.paper { background: var(--paper); color: var(--ink); padding-top: 40px; }
.paper .kicker { color: #4A6905; }
.paper .muted { color: var(--ink-soft); }
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.story__poem { display: grid; gap: 12px; font-size: clamp(18px, 2vw, 21px); max-width: 40ch; }
.story__big { font-family: var(--font-brush); font-size: clamp(56px, 8vw, 92px); line-height: 1; color: var(--pink-deep); }
html:lang(zh-Hans) .story__big { font-family: var(--font-han); }
html:lang(ja) .story__big { font-family: var(--font-body); font-weight: 900; letter-spacing: -.02em; font-size: clamp(40px, 5.4vw, 66px); white-space: nowrap; }
.story__em { margin-top: 6px; font-weight: 900; color: var(--ink); }
.story__art { margin: 0; position: relative; }
.story__art img { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(40, 48, 22, .45); transform: rotate(2deg); }
.story__art figcaption { position: absolute; left: -10px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--green-800); color: var(--white); font-weight: 800; font-size: 14px; transform: rotate(-3deg); }
.story__art figcaption .paw { color: var(--pink); }

.facts { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); box-shadow: 0 10px 30px -22px rgba(40, 48, 22, .5); }
.fact strong { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.1; color: var(--green-800); }
.fact:nth-child(2) strong { color: #5E8208; }
.fact:nth-child(3) strong, .fact:nth-child(4) strong { color: var(--pink-deep); }
.fact span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 15px; }

.name-card { position: relative; margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 32px 220px 32px 32px; border-radius: 28px; background: var(--green-800); color: var(--white); overflow: hidden; }
.name-card__glyphs { display: flex; gap: 4px; font-family: var(--font-han); font-size: clamp(64px, 9vw, 110px); line-height: 1; }
.name-card__glyphs span:last-child { color: var(--pink); }
.name-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.name-card p + p { margin-top: 8px; }
.name-card .muted { color: var(--muted); font-size: 15px; }
.name-card__art { position: absolute; right: -10px; bottom: -20px; width: 230px; }


/* ora visibile al pubblico */
.now { position: relative; margin-top: 56px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 28px 32px 28px 20px; border-radius: 28px; background: linear-gradient(120deg, #FBE3E8, #FFF4E6); border: 1px solid #F3CCD5; }
.now__art { width: 220px; margin: -40px 0 -20px; }
.now__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--green-800); color: var(--white); font-size: 13px; font-weight: 800; }
.now h3 { margin: 12px 0 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--green-800); }
.now p + p { margin-top: 8px; }
.now__tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.now__tags li { padding: 4px 12px; border-radius: 999px; background: #fff; color: #B03F58; font-weight: 800; font-size: 14px; }

/* CTO */
.cto { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.cto__art { position: relative; }
.cto__art::before { content: ""; position: absolute; inset: 10% 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(122, 166, 10, .35), transparent 70%); }
.cto__art img { position: relative; }
.cto__quote { margin: 0 0 22px; padding: 18px 24px; border-left: 6px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(236, 134, 155, .1); font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; }
.cto__lead { color: #DCE0CF; margin-bottom: 28px; max-width: 60ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding: 16px 18px 16px 58px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .18); border: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--bamboo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C220F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks h3 { font-size: 18px; font-weight: 900; }
.ticks p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 26px; border-radius: var(--radius); background: var(--green-800); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--pink); color: var(--green-900); font-weight: 900; font-size: 20px; }
.step h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.buy__row .muted { font-size: 14px; }

.safe { margin-top: 40px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: rgba(236, 134, 155, .12); border: 1px solid rgba(236, 134, 155, .45); }
.safe__icon { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safe h3 { font-size: 20px; font-weight: 900; margin-bottom: 4px; color: var(--pink-soft); }
.safe p + p { margin-top: 4px; color: var(--muted); }

/* links */
.links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); text-decoration: none; background: rgba(0, 0, 0, .18); border: 1px solid var(--line); transition: transform .15s, border-color .2s, background .2s; }
.link-card:hover { transform: translateY(-3px); border-color: rgba(236, 134, 155, .6); background: rgba(236, 134, 155, .08); }
.link-card svg { width: 30px; height: 30px; margin-bottom: 12px; fill: none; stroke: var(--bamboo-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-card svg .fill { fill: var(--bamboo-soft); stroke: none; }
.link-card__name { font-weight: 900; font-size: 17px; overflow-wrap: anywhere; }
.link-card__desc { color: var(--muted); font-size: 14px; }

/* footer */
.footer { padding: 56px 0 44px; background: var(--green-900); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; }
.footer__art { width: 150px; }
.footer__brand { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.footer__brand .cjk-brush { color: var(--pink); }
.footer__disclaimer { color: #CDD2BE; font-size: 14px; max-width: 95ch; }
.footer__small { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--white); color: var(--green-900); font-weight: 900; font-size: 15px; opacity: 0; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Componenti aggiunti nella versione 2
   ============================================================ */
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.ico--line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico { margin-right: 2px; }
.btn--green { background: var(--bamboo); color: var(--green-900); }
.btn--green:hover { background: var(--bamboo-soft); }
.btn--dark { background: var(--green-800); color: var(--white); }
.btn--dark:hover { background: var(--green-700); }
.btn--ghost-dark { background: #fff; border-color: var(--paper-2); color: var(--green-800); }
.btn--ghost-dark:hover { border-color: var(--green-800); }
.section__lead { max-width: 64ch; margin: -18px 0 32px; color: #DCE0CF; font-size: 18px; }
.paper .section__lead { color: var(--ink-soft); }

/* barra di avanzamento */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

/* foglie che cadono */
.leaves { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.leaves i { position: absolute; top: -40px; width: 34px; height: 10px; border-radius: 50%; background: var(--bamboo); opacity: .55; animation: fall 14s linear infinite; }
.leaves i:nth-child(1) { left: 8%; animation-delay: 0s; }
.leaves i:nth-child(2) { left: 22%; animation-delay: 5s; animation-duration: 17s; width: 26px; }
.leaves i:nth-child(3) { left: 46%; animation-delay: 9s; animation-duration: 15s; }
.leaves i:nth-child(4) { left: 63%; animation-delay: 2.5s; animation-duration: 19s; width: 24px; opacity: .4; }
.leaves i:nth-child(5) { left: 80%; animation-delay: 7s; }
.leaves i:nth-child(6) { left: 93%; animation-delay: 11s; animation-duration: 18s; width: 28px; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(20deg); }
  25% { transform: translate(40px, 25vh) rotate(-30deg); }
  50% { transform: translate(-10px, 50vh) rotate(40deg); }
  75% { transform: translate(35px, 75vh) rotate(-20deg); }
  100% { transform: translate(0, 110vh) rotate(30deg); }
}

/* hero: età ed etichetta */
.panda__live { position: absolute; left: 0; top: 6%; display: inline-flex; align-items: center; gap: 7px; max-width: 72%; padding: 7px 14px; border-radius: 999px; background: var(--green-900); color: var(--white); border: 1px solid rgba(247, 247, 247, .25); font-weight: 800; font-size: 13px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transform: rotate(-3deg); pointer-events: none; }
.panda__age { position: absolute; left: 4%; bottom: 10%; padding: 6px 12px; border-radius: 999px; background: var(--bamboo); color: var(--green-900); font-weight: 900; font-size: 13px; transform: rotate(3deg); pointer-events: none; }
.panda__age:empty { display: none; }
.live-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #FF5A6E; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 110, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 90, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 110, 0); } }

/* contratto: strumenti */
.ca__tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 12px; }
.chip-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(247, 247, 247, .06); color: var(--white); font-weight: 800; font-size: 14px; cursor: pointer; list-style: none; }
.chip-btn::-webkit-details-marker { display: none; }
.chip-btn:hover:not(:disabled) { border-color: rgba(247, 247, 247, .4); }
.chip-btn:disabled { opacity: .45; cursor: not-allowed; }
.ca__qr[open] summary { border-color: var(--pink); }
.ca__qr img { margin-top: 10px; width: 200px; border-radius: 12px; background: #fff; padding: 8px; }
.wallet-msg { margin-top: 6px; font-size: 14px; color: var(--pink-soft); min-height: 0; }
.wallet-msg:empty { display: none; }
.stats__wide { grid-column: span 6; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* crescita e linea del tempo */
.grow-time { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.growth, .timeline { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); }
.growth h3, .timeline h3 { font-size: 22px; font-weight: 900; margin-bottom: 18px; color: var(--green-800); }
.growth__bars { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 18px; height: 220px; padding-top: 10px; border-bottom: 2px solid var(--paper-2); }
.bar { position: relative; height: var(--h); min-height: 8px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, #A9CF3F, var(--bamboo)); transform-origin: 50% 100%; }
.bar--now { background: linear-gradient(180deg, #F6B3C1, var(--pink)); }
.js .growth .bar { transform: scaleY(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.js .growth.is-in .bar { transform: none; }
.js .growth.is-in .bar:nth-child(2) { transition-delay: .15s; }
.js .growth.is-in .bar:nth-child(3) { transition-delay: .3s; }
.bar b { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-weight: 900; color: var(--green-800); }
.bar span { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.growth figcaption { margin-top: 40px; font-size: 13px; color: var(--ink-soft); }
.timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--paper-2); }
.timeline li { position: relative; padding: 0 0 18px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bamboo); }
.timeline li.is-today::before { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 5px rgba(236, 134, 155, .25); }
.timeline time { display: block; font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: #4A6905; }
.timeline li.is-today time { color: #B03F58; }
.timeline span { font-weight: 700; color: var(--ink); }

/* nota del custode */
.note { position: relative; margin: 40px auto 0; max-width: 760px; padding: 30px 34px 26px 150px; background: #FFF6C9; color: var(--ink); border-radius: 4px; box-shadow: 0 18px 30px -18px rgba(40, 48, 22, .45); transform: rotate(-1deg); }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(2deg); background: rgba(236, 134, 155, .55); }
.note img { position: absolute; left: 10px; top: 50%; width: 130px; transform: translateY(-50%); }
.note blockquote { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.note figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); font-weight: 800; }
.note figcaption::before { content: "— "; }

/* separatore a pennellata */
.brush-sep { display: block; width: 100%; height: 40px; margin-top: -1px; }
.brush-sep--paper { fill: var(--paper); background: var(--green-800); }

/* video ufficiali */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { margin: 0; }
.video__btn, .video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; padding: 0; cursor: pointer; }
.video__btn { background: var(--green-700) url(../assets/img/hero-1600.webp) center 70% / cover; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .9; }
.video__btn:hover img { transform: scale(1.04); opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--green-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video figcaption { margin-top: 10px; display: grid; gap: 2px; }
.video figcaption b { font-weight: 900; }
.video figcaption span { font-size: 13px; color: var(--muted); }
.videos__note { margin-top: 12px; font-size: 13px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .18); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .15s; }
.channel:hover { border-color: rgba(236, 134, 155, .6); transform: translateY(-2px); }
.channel .ico { width: 30px; height: 30px; color: var(--pink); }
.channel span { display: grid; }
.channel small { color: var(--muted); font-size: 13px; }
.watch__note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* grafico */
.chart { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--green-900); }
.chart iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.chart.is-loaded .chart__loading { display: none; }
.chart__open { margin-top: 10px; text-align: right; font-size: 14px; }
.chart__open a { color: var(--bamboo-soft); }

/* acquisto: consiglio e controlli */
.tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(122, 166, 10, .12); color: #DCE0CF; font-size: 15px; }
.tip .ico { color: var(--bamboo-soft); margin-top: 3px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.verify, .checks .safe { margin: 0; padding: 22px 24px; border-radius: var(--radius); display: block; }
.verify { background: rgba(122, 166, 10, .1); border: 1px solid rgba(122, 166, 10, .4); }
.verify h3, .checks .safe h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.verify h3 .ico { color: var(--bamboo-soft); }
.checks .safe h3 .ico { color: var(--pink); }
.verify ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.verify a, .safe__report { color: var(--bamboo-soft); font-weight: 800; }
.safe__report { display: inline-block; margin-top: 10px; color: var(--pink-soft); }

/* kit dei fan */
.stickers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sticker { display: grid; justify-items: center; gap: 6px; padding: 14px 12px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); text-align: center; }
.sticker__img { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 16px; }
.sticker__img img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: contain; }
.sticker span { font-weight: 900; color: var(--green-800); }
.sticker a { font-size: 14px; font-weight: 800; color: #B03F58; }
.is-wiggle { animation: wiggle .5s ease; }
@keyframes wiggle { 20% { transform: rotate(-8deg) scale(1.05); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-4deg); } }
.kit { margin-top: 20px; text-align: center; }
.fun-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; margin-top: 40px; }
.pfp, .share { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--paper-2); }
.pfp h3, .share h3 { font-size: 24px; font-weight: 900; color: var(--green-800); margin-bottom: 6px; }
.pfp > p, .share > p { color: var(--ink-soft); }
.pfp__stage { margin: 18px auto 0; max-width: 360px; }
.pfp__stage canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; }
.pfp__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.pfp__zoom { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green-800); }
.pfp__zoom input { accent-color: var(--pink-deep); }
.pfp__hint { text-align: center; margin-top: 8px; font-size: 14px; }
.pfp__pick { cursor: pointer; }
.share { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; overflow: hidden; }
.share img { width: 70%; align-self: flex-end; margin: auto -10px -40px 0; }

/* domande frequenti */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: rgba(0, 0, 0, .18); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(236, 134, 155, .5); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 52px; font-weight: 900; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); background: var(--pink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.2' cy='10.4' rx='2.1' ry='2.6'/%3E%3Cellipse cx='9.3' cy='6.6' rx='2.1' ry='2.7'/%3E%3Cellipse cx='14.7' cy='6.6' rx='2.1' ry='2.7'/%3E%3Cellipse cx='18.8' cy='10.4' rx='2.1' ry='2.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Cellipse cx='5.2' cy='10.4' rx='2.1' ry='2.6'/%3E%3Cellipse cx='9.3' cy='6.6' rx='2.1' ry='2.7'/%3E%3Cellipse cx='14.7' cy='6.6' rx='2.1' ry='2.7'/%3E%3Cellipse cx='18.8' cy='10.4' rx='2.1' ry='2.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px 52px; color: #DCE0CF; overflow-wrap: anywhere; }
.wrap--narrow { width: min(860px, 100% - 32px); }

/* link: icone */
.link-card .ico { width: 30px; height: 30px; margin-bottom: 12px; color: var(--bamboo-soft); }
.lang--footer { display: inline-flex; margin-top: 16px; }

/* barra fissa per il telefono */
.sticky-buy { display: none; }

/* pioggia di zampette */
.paw-rain { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.paw-rain span { position: absolute; top: -40px; width: 30px; height: 30px; color: var(--pink); animation: pawfall 2.6s ease-in forwards; transform: rotate(var(--r)) scale(var(--s)); }
.paw-rain span:nth-child(3n) { color: var(--bamboo-soft); }
.paw-rain span:nth-child(5n) { color: var(--white); }
.paw-rain svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes pawfall { to { transform: translateY(110vh) rotate(calc(var(--r) + 220deg)) scale(var(--s)); } }

/* pagina 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.e404 img { width: 220px; margin: 0 auto 10px; }
.e404 h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 900; }
.e404 p { margin-top: 10px; color: var(--muted); }
.e404__links a { color: var(--bamboo-soft); font-weight: 800; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 18px;
    background: var(--green-800); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 14px 16px; font-size: 18px; }
  .menu-btn { display: block; }
  .header__actions { margin-left: auto; }
  .lang--bar { display: none; }
  .lang--menu { display: flex; align-self: flex-start; margin: 10px 0 0 8px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats__wide { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .links { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stickers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero__inner, .story, .cto, .grow-time, .fun-grid, .checks { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: min(78vw, 380px); }
  .hero { padding-top: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cto__art { max-width: 340px; margin-inline: auto; }
  .story__art { max-width: 460px; margin-inline: auto; }
  .section { padding: 72px 0; }
  .name-card { padding-right: 32px; padding-bottom: 170px; }
  .name-card__art { width: 180px; }
  .now { grid-template-columns: 1fr; padding: 24px; text-align: center; margin-top: 84px; }
  .now__art { width: 170px; margin: -60px auto -10px; }
  .now__tags { justify-content: center; }
  .videos, .channels { grid-template-columns: 1fr; }
  .videos { gap: 24px; }
  .share img { width: 50%; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.25; padding-block: 10px; }
  .header .btn--sm { display: none; }
  .brand__latin { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ca__row { flex-direction: column; align-items: stretch; }
  .ca__copy { justify-content: center; }
  .ca__value { font-size: min(16px, calc((100vw - 82px) / 25.4)); letter-spacing: -.01em; }
  .bamboo { opacity: .08; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr 1fr; gap: 12px; }
  .link-card { padding: 18px; }
  .link-card:last-child { grid-column: 1 / -1; }
  .facts { gap: 12px; }
  .fact { padding: 18px; }
  .name-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 24px 150px; }
  .name-card__art { width: 150px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__art { margin-inline: auto; width: 120px; }
  .section__title { margin-bottom: 28px; }
  .section__lead { margin-top: -10px; }
  .stickers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sticker:last-child { grid-column: 1 / -1; }
  .note { padding: 92px 22px 22px; transform: none; }
  .note img { left: 50%; top: -30px; width: 110px; transform: translateX(-50%); }
  .growth__bars { height: 180px; gap: 10px; }
  .bar span { font-size: 12px; }
  .pfp, .share, .growth, .timeline { padding: 22px; }
  .faq summary { font-size: 16px; padding-left: 46px; }
  .faq details p { padding-left: 24px; }
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(28, 34, 15, .94);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy .btn { flex: 1; min-height: 48px; }
  .sticky-buy__copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-height: 48px; border: 0; border-radius: 999px; background: var(--bamboo); color: var(--green-900); font-weight: 900; }
  .toast { bottom: 90px; }
}
@media (max-width: 380px) {
  .lang a { font-size: 12px; padding: 5px 7px; }
  .brand__name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .growth .bar { opacity: 1; transform: none; }
  .leaves { display: none; }
}

/* ============================================================
   Tutele legali (versione 3)
   ============================================================ */
.riskbar { margin: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; padding: 8px 16px; background: #3A1E24; color: #F6D3DA; font-size: 13px; font-weight: 700; text-align: center; border-bottom: 1px solid rgba(236, 134, 155, .3); }
.riskbar .ico { color: var(--pink); }
.riskbar a { color: var(--white); }

.consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .22); border: 1px dashed rgba(247, 247, 247, .25); font-size: 14px; color: #DCE0CF; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; }
.consent a { color: var(--bamboo-soft); }

.chart__consent { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: #DCE0CF; background: radial-gradient(60% 60% at 50% 50%, rgba(122, 166, 10, .15), transparent 70%); }
.chart__consent p { max-width: 46ch; }
.chart.is-loading .chart__consent { display: none; }
.chart__loading { display: none; }
.chart.is-loading .chart__loading { display: grid; }
.chart.is-loaded .chart__loading { display: none; }

.risk-box { margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: rgba(236, 134, 155, .12); border: 1px solid rgba(236, 134, 155, .5); }
.risk-box h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 900; color: var(--pink-soft); margin-bottom: 6px; }
.risk-box h3 .ico { color: var(--pink); }
.risk-box p { color: #E7E3E3; }
.risk-box a { display: inline-block; margin-top: 8px; color: var(--pink-soft); font-weight: 800; }

.footer__legal { margin-top: 14px; font-size: 14px; font-weight: 800; }
.footer__legal a { color: var(--bamboo-soft); }
.footer__legal .muted { font-weight: 600; }

/* banner da accettare */
.gate { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 16px; display: flex; justify-content: center; pointer-events: none; }
.gate[hidden] { display: none; }
.gate__box { pointer-events: auto; width: min(760px, 100%); padding: 20px 22px; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 -10px 60px rgba(0, 0, 0, .45); border: 2px solid var(--pink); }
.gate__box h2 { font-size: 20px; font-weight: 900; margin-bottom: 6px; color: var(--green-800); }
.gate__box p { font-size: 15px; color: var(--ink); }
.gate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.gate__actions a { color: #B03F58; font-weight: 800; }
.has-gate .sticky-buy { visibility: hidden; }

/* pagina legale */
.legal-page { background: var(--green-800); }
.legal-head { position: sticky; top: 0; z-index: 10; background: rgba(40, 48, 22, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.legal-back { color: var(--bamboo-soft); font-weight: 800; text-decoration: none; }
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; letter-spacing: -.02em; }
.legal__updated { margin-top: 6px; color: var(--muted); font-size: 14px; }
.legal__toc { display: grid; gap: 6px; margin: 28px 0 8px; padding: 18px 22px; border-radius: var(--radius); background: rgba(0, 0, 0, .2); border: 1px solid var(--line); }
.legal__toc a { color: var(--bamboo-soft); font-weight: 700; text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal section { margin-top: 40px; scroll-margin-top: 80px; }
.legal h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; color: var(--pink-soft); }
.legal p, .legal li { color: #E1E4D6; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--bamboo-soft); }
.legal code { font: 500 14px var(--font-mono); overflow-wrap: anywhere; color: var(--white); }
.legal strong { color: var(--white); }

@media (max-width: 640px) {
  .riskbar { font-size: 12px; }
  .gate { padding: 10px; }
  .gate__box { padding: 16px; }
  .gate__actions .btn { flex: 1 1 100%; }
}
