/* =========================================================================
   GWBI Enablement Suite™ and Amplify720™
   Loaded on enablement-suite.html and amplify720.html (after site.css).
   ========================================================================= */

/* ---------- Shared status pills ---------- */
.suite-status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--cloud); color: var(--ink-soft); border: 1px solid var(--line); white-space: nowrap; }
.suite-status--new { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.suite-status--live { background: rgba(229, 87, 79, .2); color: #FFB4AC; border-color: rgba(229, 87, 79, .55); }
.suite-status--live i { width: 7px; height: 7px; border-radius: 50%; background: #FF5A4E; animation: newsBlink 1.1s steps(2, start) infinite; }
@media (prefers-reduced-motion: reduce) { .suite-status--live i { animation: none; } }

/* ---------- Hub: live tools ---------- */
.suite-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.suite-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 14px; align-content: start;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg);
  background: var(--midnight); color: var(--on-dark); text-decoration: none;
  box-shadow: var(--shadow-lift);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.suite-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 90% 0%, rgba(136,96,208,.45), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(86,128,233,.35), transparent 70%); }
.suite-card--amplify::before { background: radial-gradient(60% 70% at 90% 0%, rgba(194,163,107,.42), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(86,128,233,.38), transparent 70%); }
.suite-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(20,25,56,.32); }
.suite-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.suite-kind { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.suite-card h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 800; color: var(--white); letter-spacing: -.03em; margin-top: 6px; }
.suite-tag { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ice); }
.suite-card--amplify .suite-tag { color: #E3CFA4; }
.suite-card > p:not(.suite-tag) { color: var(--on-dark-soft); max-width: 52ch; }
.suite-facts { list-style: none; margin: 8px 0 4px; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.suite-facts li { display: grid; gap: 2px; }
.suite-facts b { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--white); letter-spacing: -.03em; line-height: 1.1; }
.suite-facts span { font-size: var(--fs-small); color: var(--on-dark-soft); }
.suite-card .link-arrow { color: var(--ice); }
.suite-card:hover .link-arrow svg { transform: translateX(4px); }
@media (max-width: 860px) { .suite-live { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hub: pipeline ---------- */
.suite-pipe-note { font-size: var(--fs-small); color: var(--ink-faint); }
.suite-pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.suite-mini { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); opacity: .8; transition: opacity .25s, transform .25s var(--ease), box-shadow .25s; }
.suite-mini:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow); }
.suite-mini h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.suite-mini p { color: var(--ink-soft); font-size: .93rem; }
.suite-stats { margin-top: clamp(48px, 5vw, 72px); }
.suite-stats .stat-note a { color: var(--blue-deep); }
@media (max-width: 1060px) { .suite-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .suite-pipe { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Amplify720: hero ---------- */
.amp-new { justify-self: start; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--midnight); padding: 6px 12px; border-radius: 999px; }
.amp-trust { font-size: var(--fs-small); color: var(--on-dark-soft); }

/* ---------- Amplify720: the app ---------- */
.amp-section { scroll-margin-top: 80px; }
.amp-app {
  max-width: 960px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(20px, 3.4vw, 44px);
  display: grid; gap: 28px;
}
.amp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.amp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.amp-brand img { width: 28px; height: 28px; object-fit: contain; }
.amp-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; counter-reset: amp; }
.amp-progress li { counter-increment: amp; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-faint); padding: 5px 10px 5px 6px; border-radius: 999px; }
.amp-progress li::before { content: counter(amp); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: var(--cloud); border: 1px solid var(--line); color: var(--ink-soft); }
.amp-progress li.is-current { background: var(--cloud); color: var(--ink); }
.amp-progress li.is-current::before { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.amp-progress li.is-done::before { content: "✓"; background: rgba(86,128,233,.14); border-color: transparent; color: var(--blue-deep); }
.amp-app.is-busy .amp-progress, .amp-app.is-done .amp-progress { visibility: hidden; }
@media (max-width: 720px) {
  .amp-progress li { font-size: 0; gap: 0; padding: 0; }
  .amp-progress li.is-current { font-size: .78rem; gap: 6px; padding: 4px 10px 4px 4px; }
}

.amp-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.amp-step[hidden] { display: none; }
.amp-q { padding: 0; display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }
.amp-q-num { display: block; margin-bottom: 8px; font-family: var(--body); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.amp-q small { font-family: var(--body); font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--ink-faint); margin-left: 8px; }

/* Systems */
.amp-systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.amp-sys { position: relative; cursor: pointer; display: grid; }
.amp-sys input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amp-sys-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 22px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background-color .25s; }
.amp-sys:hover .amp-sys-card { border-color: var(--mist); box-shadow: var(--shadow); transform: translateY(-2px); }
.amp-sys input:checked + .amp-sys-card { border-color: var(--blue-deep); background: linear-gradient(180deg, rgba(86,128,233,.07), rgba(136,96,208,.04)); box-shadow: 0 0 0 3px rgba(86,128,233,.16); }
.amp-sys input:focus-visible + .amp-sys-card { outline: 3px solid var(--blue); outline-offset: 3px; }
.amp-sys-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cloud); color: var(--violet); }
.amp-sys-icon svg { width: 24px; height: 24px; }
.amp-sys-card strong { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.25; }
.amp-sys-card em { font-style: normal; font-weight: 600; color: var(--blue-deep); font-size: .95rem; line-height: 1.4; }
.amp-sys-desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.amp-sys-proof { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .78rem; font-weight: 600; color: var(--ink-faint); }
.amp-sys-badge { position: absolute; top: -12px; left: 18px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--midnight); padding: 5px 10px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; white-space: nowrap; }
.amp-sys.is-rec .amp-sys-badge { opacity: 1; transform: none; }
@media (max-width: 860px) { .amp-systems { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Chips */
.amp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.amp-chips .choice span { padding: 11px 18px; font-size: .98rem; font-weight: 500; background: var(--white); }
.amp-chips .choice input:checked + span { font-weight: 600; }

/* Free text */
.amp-field { position: relative; }
.amp-field input { width: 100%; font: inherit; font-size: 1.15rem; padding: 16px 92px 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.amp-field input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(86,128,233,.16); }
.amp-count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.amp-hint { color: var(--ink-soft); font-size: .95rem; }
.amp-small { font-size: .8rem; color: var(--ink-faint); line-height: 1.5; }
.amp-small a { color: var(--blue-deep); }

/* Navigation */
.amp-nav { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.amp-nav #ampBack { margin-right: auto; }
.amp-nav .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.amp-nav .btn[disabled]::after { display: none; }
.amp-app.is-busy .amp-nav, .amp-app.is-done .amp-nav { display: none; }

/* Generating */
.amp-gen { display: grid; justify-items: center; gap: 22px; padding: clamp(32px, 6vw, 72px) 0; text-align: center; }
.amp-gen[hidden] { display: none; }
.amp-orbit { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.amp-orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--cloud); border-top-color: var(--blue); border-right-color: var(--violet); animation: ampSpin 1s linear infinite; }
.amp-orbit img { width: 64px; height: 64px; object-fit: contain; animation: ampFloat 2.4s ease-in-out infinite; }
@keyframes ampSpin { to { transform: rotate(360deg); } }
@keyframes ampFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.amp-gen-line { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; min-height: 1.6em; }
.amp-gen .bar { width: min(360px, 100%); }
.amp-gen .bar span { transition: width .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .amp-orbit::before, .amp-orbit img { animation: none; } }

/* Result */
.amp-result { display: grid; gap: 20px; }
.amp-result[hidden] { display: none; }
.amp-ready { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--teal-deep); }
.amp-ready::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
.amp-post { width: 100%; max-width: 620px; justify-self: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; animation: ampIn .6s var(--ease); }
@keyframes ampIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.amp-post-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.amp-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: var(--white); font-weight: 800; font-size: .82rem; }
.amp-post-who { display: grid; gap: 1px; min-width: 0; }
.amp-post-who strong { font-size: 1rem; }
.amp-post-who small { font-size: .8rem; color: var(--ink-faint); line-height: 1.35; }
.amp-post-body { padding: 16px 22px 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.amp-post-body.is-clipped { max-height: 24em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.amp-post-body .ht { color: var(--blue-deep); font-weight: 600; }
.amp-more { justify-self: start; margin: 0 22px; border: 0; background: none; padding: 4px 0; font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-faint); }
.amp-more:hover { color: var(--blue-deep); }
.amp-post-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 22px 12px; font-size: .82rem; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.amp-post-stats #ampHeadline { font-weight: 600; color: var(--ink-soft); }
.amp-reacts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.amp-react { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: none; border-radius: 999px; padding: 7px 11px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); transition: background-color .2s, color .2s, border-color .2s; }
.amp-react:hover { background: var(--cloud); color: var(--ink); }
.amp-react b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-faint); font-size: .78rem; }
.amp-react.is-on { color: var(--blue-deep); background: rgba(86,128,233,.09); border-color: rgba(86,128,233,.25); }
.amp-react.is-pop .amp-react-emo { animation: ampPop .5s var(--ease); }
.amp-react-emo { display: inline-block; font-size: 1.05rem; }
@keyframes ampPop { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-8deg); } 100% { transform: scale(1); } }
.amp-comments { display: grid; gap: 12px; padding: 16px 22px 22px; }
.amp-cmt { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; animation: ampIn .5s var(--ease) both; }
.amp-cmt:nth-child(2) { animation-delay: .5s; }
.amp-cmt img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.amp-cmt-bubble { background: var(--cloud); border-radius: 4px 14px 14px 14px; padding: 10px 14px; display: grid; gap: 3px; min-width: 0; }
.amp-cmt-bubble strong { font-size: .88rem; }
.amp-cmt-bubble small { font-size: .74rem; color: var(--ink-faint); line-height: 1.3; }
.amp-cmt-bubble p { font-size: .92rem; color: var(--ink); margin-top: 3px; }
.amp-typing { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-faint); padding: 8px 0; }
.amp-typing i { display: inline-flex; gap: 3px; }
.amp-typing i span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-faint); animation: ampDot 1.2s infinite; }
.amp-typing i span:nth-child(2) { animation-delay: .15s; }
.amp-typing i span:nth-child(3) { animation-delay: .3s; }
@keyframes ampDot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.amp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.amp-actions .btn { padding: 12px 22px; }
.amp-result > .amp-small { text-align: center; max-width: 52ch; justify-self: center; }
.amp-again { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.amp-linkbtn { border: 0; background: none; padding: 6px 0; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--blue-deep); }
.amp-linkbtn:hover svg { transform: rotate(-30deg); }

@media (max-width: 560px) {
  .amp-app { border-radius: var(--radius); padding: 18px 16px 20px; }
  .amp-post-head, .amp-post-body, .amp-post-stats, .amp-comments { padding-left: 16px; padding-right: 16px; }
  .amp-more { margin-inline: 16px; }
  .amp-actions .btn { flex: 1 1 100%; justify-content: center; }
  .amp-nav .btn { padding: 12px 18px; }
  .amp-field input { font-size: 1rem; padding-right: 80px; }
  .amp-sys-icon { display: none; }
  .amp-sys-card { padding: 22px 18px 18px; gap: 8px; }
}

/* ---------- Result: share footer inside the post, then the dark "Internal feedback" panel ---------- */
.amp-share { display: grid; gap: 12px; margin-top: 14px; padding: 18px 22px 20px; border-top: 1px solid var(--line); background: var(--cloud); }
.amp-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--teal-deep); }
.amp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; animation: pulse 2s infinite; }
.amp-share .amp-actions { justify-content: flex-start; }
.amp-share .amp-actions .btn--outline { background: var(--white); }
.amp-share .amp-small { margin: 0; }

.amp-feedback { width: 100%; max-width: 620px; justify-self: center; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--midnight); color: var(--on-dark); box-shadow: var(--shadow-lift); }
.amp-feedback::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 80% at 100% 0%, rgba(136,96,208,.35), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(86,128,233,.28), transparent 70%); }
.amp-fb-head { display: flex; justify-content: space-between; align-items: start; gap: 12px 16px; padding: 20px 22px 14px; }
.amp-fb-head h3 { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -.015em; }
.amp-fb-head p { margin-top: 4px; font-size: .88rem; color: var(--on-dark-soft); }
.amp-fb-pill { flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E3CFA4; border: 1px solid rgba(194,163,107,.55); padding: 4px 9px; border-radius: 999px; }
.amp-feedback .amp-post-stats { border-top: 1px solid var(--line-dark); border-bottom-color: var(--line-dark); color: var(--on-dark-soft); }
.amp-feedback .amp-post-stats #ampHeadline { color: var(--white); }
.amp-feedback .amp-reacts { border-bottom-color: var(--line-dark); }
.amp-feedback .amp-react { color: var(--on-dark-soft); }
.amp-feedback .amp-react:hover { background: rgba(255,255,255,.08); color: var(--white); }
.amp-feedback .amp-react b { color: var(--on-dark-soft); opacity: .8; }
.amp-feedback .amp-react.is-on { color: #E3CFA4; background: rgba(194,163,107,.16); border-color: rgba(194,163,107,.45); }
.amp-feedback .amp-react.is-on b { color: #E3CFA4; opacity: 1; }
.amp-feedback .amp-cmt-bubble { background: rgba(255,255,255,.07); }
.amp-feedback .amp-cmt-bubble strong { color: var(--white); }
.amp-feedback .amp-cmt-bubble small { color: var(--on-dark-soft); }
.amp-feedback .amp-cmt-bubble p { color: var(--on-dark); }
.amp-feedback .amp-typing { color: var(--on-dark-soft); }
.amp-feedback .amp-typing i span { background: var(--on-dark-soft); }
.amp-feedback .amp-comments { padding-bottom: 22px; }
@media (max-width: 560px) {
  .amp-share { padding: 16px; }
  .amp-fb-head { padding: 18px 16px 12px; }
  .amp-feedback .amp-post-stats, .amp-feedback .amp-comments { padding-left: 16px; padding-right: 16px; }
  .amp-feedback .amp-reacts { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .amp-status::before { animation: none; } }
@media (max-width: 560px) {
  .amp-fb-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .amp-fb-pill { order: -1; }
}
