/* Better together showcase (together.js) and How to page bits. A dark "movie night" card in light and dark mode alike.
   ((2026-11-26) cellosig's own colours only: its dark surfaces, its copper and peach, blue, green and red; no purple or pink.) */
.together-bang { --tg-ink: #ece6df; --tg-dim: #c6c0b8; --tg-a: #ffb68c; --tg-b: #e08a5a; --tg-c: #ffdcc8;
  max-width: 1080px; margin: 40px auto; padding: 0 16px; box-sizing: border-box; }
.together-bang * { box-sizing: border-box; }
.tg-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: 28px; color: var(--tg-ink);
  background: radial-gradient(120% 140% at 0% 0%, #6e300a 0%, var(--hover) 45%, var(--bg) 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); overflow: hidden; }
.tg-eyebrow { margin: 0 0 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
  background: linear-gradient(90deg, var(--tg-a), var(--tg-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg-main h2 { margin: 0 0 12px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; font-weight: 900; color: var(--tg-ink); }
.tg-lead { margin: 0 0 18px; font-size: 18px; color: var(--tg-dim); }
.tg-points { list-style: none; margin: 0 0 18px; padding: 0; }
.tg-points li { position: relative; padding: 6px 0 6px 30px; font-weight: 600; }
.tg-points li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; background: linear-gradient(135deg, var(--tg-a), var(--tg-b)); color: #fff; }
.tg-plan { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.tg-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.together-bang a.button { display: inline-block; text-decoration: none; text-align: center; padding: 13px 22px; border-radius: 12px; font-size: 16px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3); color: var(--tg-ink); background: rgba(255, 255, 255, 0.06); }
.together-bang a.button.primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--tg-a), var(--tg-b)); }
.together-bang a.button:hover { filter: brightness(1.1); }
.tg-preview { margin: 14px 0 0; font-size: 13px; color: #ffd27a; }

/* The picture: a TV and two phones showing the same frame, their progress bars moving together. */
.tg-visual { position: relative; height: 300px; }
.tg-tv { position: absolute; left: 4%; right: 14%; top: 8%; height: 62%; padding: 8px; border-radius: 14px; background: #0d0f12; border: 2px solid #3a3e46; }
.tg-stand { position: absolute; left: 40%; right: 40%; bottom: -16px; height: 12px; border-radius: 0 0 8px 8px; background: #3a3e46; }
.tg-phone { position: absolute; width: 27%; height: 58%; padding: 7px; border-radius: 18px; background: #0d0f12; border: 2px solid #3a3e46; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.tg-p1 { left: 0; bottom: 0; transform: rotate(-6deg); }
.tg-p2 { right: 0; bottom: 4%; transform: rotate(5deg); }
.tg-scene { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #ffb68c 0%, #c96a12 55%, #2459d6 100%); }
.tg-sun { position: absolute; left: 50%; top: 22%; width: 28%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #ffe08a;
  animation: tg-rise 6s ease-in-out infinite alternate; }
.tg-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; border-radius: 50%; background: #0d0f12; }
.tg-bar { position: absolute; left: 8%; right: 8%; bottom: 8%; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.tg-bar span { display: block; height: 100%; width: 0; background: #fff; animation: tg-play 6s linear infinite; }
.tg-talk { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--tg-a), var(--tg-c)); }
.tg-wave { position: absolute; right: 12px; top: 14px; display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.tg-wave i { width: 4px; border-radius: 2px; background: #fff; animation: tg-wave 0.9s ease-in-out infinite alternate; }
.tg-wave i:nth-child(2) { animation-delay: 0.2s; } .tg-wave i:nth-child(3) { animation-delay: 0.4s; }
@keyframes tg-play { from { width: 0; } to { width: 100%; } }
@keyframes tg-rise { from { top: 30%; } to { top: 16%; } }
@keyframes tg-wave { from { height: 4px; } to { height: 16px; } }
@media (prefers-reduced-motion: reduce) { .tg-sun, .tg-bar span, .tg-wave i { animation: none; } .tg-bar span { width: 45%; } .tg-wave i { height: 10px; } }

/* Movie night: the star. Deeper cinema gradient, a soft glow, drawn icons, popcorn popping. */
.tg-movie { position: relative; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, #6e300a 0%, transparent 55%), radial-gradient(120% 140% at 0% 100%, #39465d 0%, transparent 60%),
    linear-gradient(160deg, var(--hover) 0%, var(--card) 60%, var(--bg) 100%);
  box-shadow: 0 30px 80px rgba(70, 30, 140, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tg-movie h2 { font-size: clamp(34px, 6vw, 60px); letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 0%, #ffdcc8 60%, #ffb68c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg-new { display: inline-block; padding: 4px 12px; border-radius: 999px; color: #4a1e00; background: linear-gradient(90deg, #ffdcc8, #ffb68c);
  -webkit-background-clip: border-box; background-clip: border-box; letter-spacing: 0.1em; }
.tg-iconpoints li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-weight: 600; }
.tg-iconpoints li::before { content: none; }
.tg-bubble { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 211, 110, 0.22), rgba(180, 109, 255, 0.28)); border: 1px solid rgba(255, 255, 255, 0.16); }
.tg-iconpoints li > span:last-child { padding-top: 7px; }
.tg-ico { width: 20px; height: 20px; fill: none; stroke: #ffe3a8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tg-invite { margin: 4px 0 18px; font-size: 17px; font-weight: 800; color: #ffe3a8; }
.tg-movie a.button.primary { background: linear-gradient(135deg, #ffb68c, #c96a12); color: #4a1e00; box-shadow: 0 10px 30px rgba(255, 182, 140, 0.35); }
.tg-small { margin: 14px 0 0; font-size: 14px; color: var(--tg-dim); }
.tg-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 180, 120, 0.35), transparent);
  filter: blur(12px); animation: tg-glow 4s ease-in-out infinite alternate; }
.tg-movie .tg-tv { border-color: #3a3e46; box-shadow: 0 0 40px rgba(255, 170, 120, 0.25); }
.tg-bucket { position: absolute; left: 40%; bottom: -2%; width: 21%; height: 30%; z-index: 2; }
.tg-stripes { position: absolute; inset: 0; z-index: 1; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: repeating-linear-gradient(90deg, #ff8a80 0 18%, #fff 18% 36%); }
.tg-pop { position: absolute; z-index: 2; top: -10%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 0 2px #ffe08a inset;
  animation: tg-pop 2.6s ease-out infinite; }
.tg-k1 { left: 4%; } .tg-k2 { left: 30%; top: -18%; animation-delay: 0.7s; } .tg-k3 { left: 56%; animation-delay: 1.4s; } .tg-k4 { left: 74%; top: -14%; animation-delay: 2s; }
.tg-spark { position: absolute; width: 8px; height: 8px; background: #ffe3a8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: tg-twinkle 2.2s ease-in-out infinite; }
.tg-s1 { left: 2%; top: 4%; } .tg-s2 { right: 6%; top: 0; animation-delay: 0.8s; width: 11px; height: 11px; } .tg-s3 { right: 30%; bottom: 36%; animation-delay: 1.5s; }
@keyframes tg-glow { from { opacity: 0.6; } to { opacity: 1; } }
@keyframes tg-pop { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 20% { opacity: 1; } 60% { transform: translateY(-120%) scale(1); }
  100% { transform: translateY(-40%) scale(1); opacity: 0; } }
@keyframes tg-twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .tg-glow, .tg-pop, .tg-spark { animation: none; } .tg-pop { opacity: 1; } .tg-spark { opacity: 0.8; } }

/* The slim Movie night banner on the other main pages. */
.tg-slim { position: relative; display: flex; align-items: center; gap: 8px; max-width: 1080px; margin: 12px auto; padding: 0 16px; box-sizing: border-box; }
.tg-slim-link { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 44px 11px 16px; border-radius: 14px; text-decoration: none;
  color: #ece6df; font-size: 15px; line-height: 1.35; background: linear-gradient(100deg, #16191e 0%, #24272e 55%, #6e300a 100%);
  box-shadow: 0 8px 24px rgba(70, 30, 140, 0.3); }
.tg-slim-link:hover { filter: brightness(1.1); }
.tg-slim-ico { flex: none; width: 22px; height: 22px; fill: none; stroke: #ffe3a8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tg-slim-go { font-weight: 800; color: #ffd36e; white-space: nowrap; }
.tg-slim-preview { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #ffd27a; }
.tg-slim-x { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 20px; line-height: 1; color: #ece6df; background: rgba(255, 255, 255, 0.12); }
.tg-slim-x:hover { background: rgba(255, 255, 255, 0.22); }

/* The strip of the other together features. */
.tg-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.tg-chip { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.tg-chip strong { display: block; }
.tg-chip span { font-size: 14px; opacity: 0.8; }
.tg-icon { font-size: 22px; line-height: 1; }

@media (max-width: 760px) {
  .tg-main { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 22px; gap: 20px; }
  .tg-visual { height: 220px; order: -1; }
  .tg-lead { font-size: 16px; }
  .tg-cta a.button { flex: 1 1 100%; }
  .tg-slim-link { font-size: 14px; padding: 10px 44px 10px 12px; }
  .tg-invite { font-size: 16px; }
}

/* How to page: steps, plan tags, and the owner's preview of parts still switched off. */
.howto-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.howto-toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; text-decoration: none; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.plan-note { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; vertical-align: middle;
  background: color-mix(in srgb, var(--accent, var(--blue-solid)) 15%, transparent); color: var(--accent, var(--blue-solid)); }
.howto section { scroll-margin-top: 16px; }
.howto ol li { margin: 4px 0; }
.switch-preview { outline: 2px dashed var(--orange); outline-offset: 6px; border-radius: 6px; }
.switch-preview::before { content: "Preview: switched off for customers"; display: block; font-size: 13px; font-weight: 700; color: var(--orange); }
