/* Meet Fizzy (/meet-fizzy): style cards, the vote form and results, on top of styles.css + marketing.css. */
.mf { max-width: 1240px; }
.mf-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 0 6px; text-align: center; }
.mf-hero h1 { font-size: 68px; font-weight: 790; letter-spacing: -0.055em; line-height: 0.98; max-width: 820px; text-wrap: balance; }
.mf-hero .lede { max-width: 600px; }

.mf-colours { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 22px; }
.mf-colours .seg { flex: none; }
.mf-colours .seg > button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; }
.mf-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(17, 21, 19, 0.1); }
.mf-dot.t-mint { background: #97e0ad; }
.mf-dot.t-butter { background: #ffd96b; }
.mf-dot.t-sky { background: #9dbcff; }
.mf-dot.t-peach { background: #ffb39a; }
.chip .mf-dot { margin-right: 7px; }
.chip.on .mf-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }

/* ---------- style cards ---------- */
.mf-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mf-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 16px 16px; border-radius: 28px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; -webkit-tap-highlight-color: transparent; }
.mf-card:hover { transform: translateY(-2px); }
.mf-card.on { box-shadow: 0 0 0 3px var(--ink), var(--shadow); background: rgba(255, 255, 255, 0.9); }
.mf-card:has(.mf-radio:focus-visible) { outline: 3px solid var(--t-deep); outline-offset: 3px; }
.mf-card:has(.mf-radio:disabled) { cursor: default; }
.mf-card:has(.mf-radio:disabled):hover { transform: none; }
.mf-radio { position: absolute; opacity: 0; pointer-events: none; }
.mf-letter { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(17, 21, 19, 0.06); font-weight: 800; font-size: 14px; color: var(--ink-2); }
.mf-card.on .mf-letter { background: var(--ink); color: #fff; }
.mf-tick { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.15s; }
.mf-card.on .mf-tick { opacity: 1; transform: none; }
.mf-big { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; margin: 4px 0 -8px; }
.mf-name { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.mf-name b { font-size: 21px; letter-spacing: -0.03em; }
.mf-name .small { max-width: 240px; }
.mf-moods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; }
.mf-moods button { padding: 2px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.mf-moods button:hover { background: #fff; }
.mf-moods button.on { background: #fff; box-shadow: 0 0 0 2px var(--t-deep); }
.mf-moods img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.mf-pick { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; border-radius: 999px; font-weight: 650; font-size: 14.5px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(0, 0, 0, 0.3); }
.mf-pick-on { display: none; align-items: center; gap: 6px; }
.mf-card.on .mf-pick { background: var(--ink); color: #fff; box-shadow: none; }
.mf-card.on .mf-pick-off { display: none; }
.mf-card.on .mf-pick-on { display: inline-flex; }

/* ---------- vote form and results ---------- */
.mf-vote { max-width: 720px; margin: 28px auto 0; padding: 26px 28px 28px; scroll-margin-top: 20px; scroll-margin-bottom: 20px; }
.mf-form, .mf-thanks { display: flex; flex-direction: column; gap: 20px; }
.mf-form-head { display: flex; align-items: center; gap: 16px; }
.mf-form-head img { width: 88px; height: 88px; flex: none; }
.mf-form-head h2 { font-size: 26px; }
.mf-form-head .col { gap: 4px; }
.mf-form .btn.lg { align-self: flex-start; }
.mf-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mf-results li { display: grid; grid-template-columns: 46px minmax(110px, 170px) 1fr 52px; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px var(--line); }
.mf-results li.on { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.mf-results img { width: 46px; height: 46px; }
.mf-res-name { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.mf-res-name .pill { height: 22px; padding: 0 8px; font-size: 11.5px; }
.mf-results b { text-align: right; font-variant-numeric: tabular-nums; font-size: 17px; }
.mf-meter { height: 10px; border-radius: 999px; background: rgba(17, 21, 19, 0.07); overflow: hidden; }
.mf-meter i { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: var(--t-deep); }
.mf-results li.on .mf-meter i { background: var(--ink); }

/* ---------- sticky "send vote" bar ---------- */
.mf-bar { position: fixed; left: 50%; bottom: 14px; z-index: 40; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -18px rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mf-bar img { width: 46px; height: 46px; }
.mf-bar .grow { display: flex; flex-direction: column; line-height: 1.2; }
.mf-bar .btn { flex: none; }

@media (max-width: 1100px) {
  .mf-cards { grid-template-columns: repeat(2, 1fr); }
  .mf-big { max-width: 220px; }
}
@media (max-width: 640px) {
  .mf-hero { padding-top: 20px; gap: 14px; }
  .mf-hero h1 { font-size: 42px; }
  .mf-colours { flex-direction: column; gap: 8px; margin: 22px 0 16px; }
  .mf-colours .seg { align-self: stretch; }
  .mf-colours .seg > button { justify-content: center; padding: 8px 6px; gap: 5px; }
  .mf-cards { gap: 10px; }
  .mf-card { padding: 12px 10px 10px; gap: 8px; border-radius: 22px; }
  .mf-letter, .mf-tick { width: 26px; height: 26px; left: 10px; top: 10px; font-size: 13px; }
  .mf-tick { left: auto; right: 10px; }
  .mf-big { max-width: 150px; margin: 6px 0 -6px; }
  .mf-name b { font-size: 17px; }
  .mf-name .small { font-size: 12px; line-height: 1.3; }
  .mf-moods { grid-template-columns: repeat(3, 1fr); }
  .mf-pick { height: 38px; font-size: 13px; }
  .mf-vote { padding: 20px 18px 22px; margin-top: 20px; }
  .mf-form-head img { width: 68px; height: 68px; }
  .mf-form-head h2 { font-size: 22px; }
  .mf-form .btn.lg { align-self: stretch; }
  .mf-results li { grid-template-columns: 40px 1fr 46px; grid-template-areas: "img name pct" "img meter pct"; row-gap: 6px; }
  .mf-results img { grid-area: img; width: 40px; height: 40px; }
  .mf-res-name { grid-area: name; }
  .mf-meter { grid-area: meter; }
  .mf-results b { grid-area: pct; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-card, .mf-tick { transition: none; }
}
