/* Synergy surprise · builds on site.css tokens */

.syn-stage { position: relative; overflow: hidden; border-radius: 24px; padding: 1.5rem; color: #E6EBFA; box-shadow: var(--shadow-lg);
  background: radial-gradient(700px 320px at 90% -20%, rgba(10, 158, 146, .45), transparent 60%), radial-gradient(600px 300px at -10% 120%, rgba(255, 185, 56, .22), transparent 60%), linear-gradient(160deg, #1B2A6B 0%, #131F57 55%, #0E1640 100%); }
@media (min-width: 720px) { .syn-stage { padding: 2.25rem; } }
.syn-stage::before { content: ""; position: absolute; inset: 0; background: url(/assets/pattern-grid.svg); opacity: .12; pointer-events: none; }
.syn-stage > * { position: relative; }
.syn-stage h2, .syn-stage h3.syn-stage-title { color: #fff; }
.syn-stage .eyebrow { color: #7FE3D9; }
.syn-stage-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.25rem; }
.syn-stage-head h2 { margin: 0 0 .35rem; }
.syn-stage-head p { margin: 0; color: #CFD7F2; max-width: 38rem; }

/* Domain mixer */
.syn-mixer { margin: 0 0 1.25rem; border: 0; padding: 0; }
.syn-mixer legend { font-weight: 700; color: #fff; margin-bottom: .6rem; padding: 0; }
.syn-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.syn-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.syn-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--d); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.syn-chip:hover { background: rgba(255, 255, 255, .14); }
.syn-chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px); }
.syn-chip[aria-pressed="true"] .dot { box-shadow: none; }
.syn-chip:focus-visible, .syn-slot:focus-visible { outline: none; box-shadow: var(--focus); }
.syn-mixnote { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .6rem 0 0; font-size: .9rem; color: #CFD7F2; }
.syn-clear { background: none; border: 0; padding: 0; color: #FFD789; font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }

/* Big button */
.syn-controls { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-bottom: 1.25rem; }
.syn-spin { min-height: 56px; padding: .85rem 1.75rem; font-size: 1.08rem; }
.syn-spin svg { width: 22px; height: 22px; transition: transform .6s; }
.is-spinning .syn-spin svg { animation: syn-rot .6s linear infinite; }
.syn-spin:disabled { opacity: .85; cursor: progress; }
.syn-hint { margin: 0; font-size: .88rem; color: #CFD7F2; }
.syn-hint kbd { display: inline-block; min-width: 1.6em; padding: .05rem .4rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); font: inherit; font-weight: 700; text-align: center; }

/* Placeholder */
.syn-placeholder { display: grid; place-items: center; text-align: center; gap: .5rem; min-height: 11rem; padding: 1.5rem; border: 1.5px dashed rgba(255, 255, 255, .3); border-radius: 18px; color: #CFD7F2; }
.syn-placeholder[hidden], .syn-result[hidden] { display: none !important; }
.syn-placeholder p { margin: 0; max-width: 30rem; }
.syn-placeholder .syn-ghosts { display: flex; gap: .75rem; align-items: center; }
.syn-ghosts span { width: 64px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.syn-ghosts b { color: #FFB938; font-size: 1.3rem; }

/* Result */
.syn-result { outline: none; }
.syn-spark { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #fff; outline: none; animation: syn-up .45s ease-out both; }
@media (min-width: 720px) { .syn-spark { font-size: 1.65rem; } }
.syn-spark:focus, .syn-spark:focus-visible { outline: none; box-shadow: none; }
.syn-new { display: inline-flex; padding: .2rem .6rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.syn-pair { display: grid; gap: .75rem; }
@media (min-width: 720px) { .syn-pair { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 1rem; } }
.syn-card { position: relative; background: #fff; color: var(--body); border-radius: 18px; padding: 1.25rem 1.25rem 1.15rem; box-shadow: 0 10px 30px rgba(5, 10, 40, .35); border-top: 5px solid var(--d, var(--teal)); min-width: 0; }
.syn-landed { animation: syn-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.syn-landed + .syn-bridge + .syn-landed { animation-delay: .08s; }
.syn-kicker { margin: 0 0 .3rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.syn-name { margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.syn-meta { margin: 0 0 .75rem; font-size: .92rem; color: var(--muted); }
.syn-card .tag { background: var(--d-bg); color: var(--d); border-color: transparent; }
.syn-card .tag .dot, .syn-src .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.syn-reel { border-top-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .92); }
.syn-reel .syn-name { filter: blur(.4px); }

.syn-bridge { position: relative; display: flex; align-items: center; justify-content: center; min-height: 2.75rem; }
.syn-bridge::before { content: ""; position: absolute; left: 50%; top: -0.75rem; bottom: -0.75rem; width: 2px; background: linear-gradient(#0A9E92, #FFB938); transform: translateX(-50%); opacity: .7; }
@media (min-width: 720px) { .syn-bridge::before { left: -1rem; right: -1rem; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, #0A9E92, #FFB938); } }
.syn-plus { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 0 6px rgba(255, 185, 56, .22); }
.is-spinning .syn-plus { animation: syn-pulse .5s ease-in-out infinite alternate; }
.syn-result:not([aria-busy]) .syn-plus { animation: syn-pop .5s cubic-bezier(.2, 1.6, .4, 1) .1s both; }

.syn-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.syn-burst span { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); animation: syn-fly 1.1s cubic-bezier(.15, .7, .3, 1) var(--delay, 0ms) both; }
.syn-burst span:nth-child(3n) { border-radius: 2px; width: 8px; height: 8px; }

.syn-why, .syn-data { margin-top: 1rem; padding: 1.15rem 1.25rem; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); animation: syn-up .5s ease-out .15s both; }
.syn-data { animation-delay: .25s; }
.syn-why-label { margin: 0 0 .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7FE3D9; }
.syn-why-text { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #fff; }
.syn-types { display: flex; flex-wrap: wrap; gap: .45rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.syn-type { padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #AEB8DC; border: 1px dashed rgba(255, 255, 255, .25); }
.syn-type.is-on { color: var(--ink); background: #7FE3D9; border: 1px solid #7FE3D9; font-weight: 800; }
.syn-data .small { color: #CFD7F2; margin: 0; }

.syn-srcs { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .syn-srcs { grid-template-columns: 1fr 1fr; } }
.syn-src { display: flex; flex-direction: column; gap: .25rem; padding: .85rem 1rem; border-radius: 14px; background: #fff; color: var(--body); }
.syn-src > a:first-child { font-weight: 800; color: var(--indigo); }
.syn-src-meta { font-size: .85rem; color: var(--muted); }
.syn-src-use { font-size: .9rem; }
.syn-access { font-weight: 700; }
.syn-access.is-open { color: var(--teal-text); }
.syn-access.is-paid { color: var(--amber-text); }
.syn-src-ask { font-size: .88rem; font-weight: 700; color: var(--indigo); }
.syn-more { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .75rem 0 0; }
.syn-stage a.link-arrow, .syn-stage .syn-more a { color: #FFD789; }

.syn-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.syn-stage .btn-outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.syn-stage .btn-outline:hover { background: #fff; color: var(--indigo); }
.syn-stage .btn-indigo { background: #fff; color: var(--indigo); }
.syn-stage .btn-indigo:hover { background: var(--amber); color: var(--ink); }
.syn-note { margin: 1rem 0 0; font-size: .85rem; color: #AEB8DC; }
.syn-note strong { color: #fff; }

/* Collection tracker */
.syn-progress { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.syn-progress-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.syn-progress-row strong { color: #fff; }
.syn-badge { display: inline-flex; padding: .25rem .7rem; border-radius: 999px; background: rgba(127, 227, 217, .16); color: #7FE3D9; font-weight: 700; font-size: .85rem; }
.syn-badge.is-pop { animation: syn-pop .6s cubic-bezier(.2, 1.8, .4, 1) both; background: var(--amber); color: var(--ink); }
.syn-bar { --p: 0%; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.syn-bar::after { content: ""; display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #0A9E92, #7FE3D9, #FFB938); transition: width .6s cubic-bezier(.2, 1, .3, 1); }
.syn-collection { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: .4rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.syn-slot { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed rgba(255, 255, 255, .25); background: transparent; color: rgba(255, 255, 255, .4); font: inherit; font-size: .85rem; font-weight: 700; cursor: default; }
.syn-slot.is-found { border: 0; background: var(--d); color: #fff; cursor: pointer; animation: syn-pop .4s cubic-bezier(.2, 1.6, .4, 1) both; }
.syn-slot.is-current { box-shadow: 0 0 0 3px #FFB938; }

/* Homepage teaser */
.syn-home { border-top: 1px solid var(--line); }
.syn-teaser { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .syn-teaser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; } }
.syn-teaser .checks { margin-top: 1rem; }
.syn-pill-new { display: inline-flex; padding: .15rem .55rem; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.quick a.syn-quick { font-weight: 700; }

/* How it works cards */
.syn-how .card { border-top: 5px solid var(--teal); }
.syn-how .card:nth-child(2) { border-top-color: var(--amber); }
.syn-how .card:nth-child(3) { border-top-color: #6F83E0; }
.syn-how .syn-emoji { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--indigo); margin-bottom: .75rem; }
.syn-how .syn-emoji svg { width: 24px; height: 24px; }

@keyframes syn-rot { to { transform: rotate(360deg); } }
@keyframes syn-pulse { from { transform: scale(.9); } to { transform: scale(1.1); } }
@keyframes syn-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes syn-up { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes syn-fly { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .syn-landed, .syn-spark, .syn-why, .syn-data, .syn-plus, .syn-slot.is-found, .syn-badge.is-pop { animation: none !important; }
  .syn-bar::after { transition: none; }
}
