/* Live WattlePay prototype embedded in an iPhone frame, in the project's own palette. */
.wp-live { --wattle: #cfd457; --bunker: #040810; position: relative; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; margin: clamp(36px, 5vw, 56px) 0; padding: clamp(36px, 5vw, 64px); overflow: hidden; border: 1px solid rgba(207, 212, 87, .16); border-radius: 32px; background: radial-gradient(60% 70% at 25% 30%, rgba(207, 212, 87, .14), transparent 70%), radial-gradient(50% 60% at 90% 100%, rgba(94, 234, 212, .07), transparent 70%), var(--bunker); color: #f5f6f0; }
.wp-live::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgba(207, 212, 87, .18) .6px, transparent .6px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); }

.wp-stage { position: relative; display: grid; place-items: center; }
.wp-stage::after { content: ""; position: absolute; z-index: 0; left: 15%; right: 15%; bottom: -4%; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(22px); }
.wp-phone { position: relative; z-index: 1; width: min(100%, 360px); padding: 11px; border-radius: 60px; background: linear-gradient(145deg, #3a3d36, #15170f 40%, #2a2c25 70%, #0c0d09); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 6px #050603, 0 40px 90px rgba(0, 0, 0, .65), 0 0 120px rgba(207, 212, 87, .12); animation: wp-float 7s ease-in-out infinite; }
.wp-phone::before, .wp-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c2e27; }
.wp-phone::before { left: -3px; top: 22%; height: 9%; }
.wp-phone::after { right: -3px; top: 28%; height: 14%; }
.wp-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 49px; background: var(--bunker); transform: translateZ(0); }
.wp-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--wp-scale, .9)); transform-origin: 0 0; }

.wp-live-copy { position: relative; z-index: 1; }
.wp-live-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; border: 1px solid rgba(207, 212, 87, .3); border-radius: 99px; padding: 7px 14px 7px 12px; background: rgba(207, 212, 87, .07); color: var(--wattle); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wp-live-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--wattle); box-shadow: 0 0 0 0 rgba(207, 212, 87, .6); animation: wp-pulse 2.2s ease-out infinite; }
.wp-live-copy h3 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.wp-live-copy > p { margin: 20px 0 0; max-width: 520px; color: rgba(245, 246, 240, .66); font-size: 16px; line-height: 1.65; }
.wp-live-copy ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.wp-live-copy li { position: relative; padding: 13px 16px 13px 40px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .035); color: rgba(245, 246, 240, .72); font-size: 14px; line-height: 1.45; }
.wp-live-copy li::before { content: "→"; position: absolute; left: 16px; top: 13px; color: var(--wattle); font-weight: 700; }
.wp-live-copy li b { color: #fff; }
.wp-live-open { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; border-radius: 99px; padding: 14px 22px; background: var(--wattle); color: #10130a; font-size: 14px; font-weight: 700; box-shadow: 0 12px 34px rgba(207, 212, 87, .22), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .25s ease, box-shadow .25s ease; }
.wp-live-open:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(207, 212, 87, .32), inset 0 1px 0 rgba(255, 255, 255, .5); }
.wp-live-open span { transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.wp-live-open:hover span { transform: translate(3px, -3px); }
.wp-live-open:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes wp-float { 50% { transform: translateY(-10px); } }
@keyframes wp-pulse { 70% { box-shadow: 0 0 0 9px rgba(207, 212, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(207, 212, 87, 0); } }

@media (max-width: 900px) {
  .wp-live { grid-template-columns: 1fr; padding: 32px 20px 36px; border-radius: 26px; }
  .wp-phone { width: min(100%, 330px); }
  .wp-live-copy { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-phone, .wp-live-kicker span { animation: none; }
}

/* ---------- Real app screens (replace presentation boards) ---------- */
.wp-shot { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 12.8% / 5.92%; background: #040810; box-shadow: 0 0 0 1px rgba(207, 212, 87, .14), 0 0 0 5px #0b0d08, 0 0 0 6px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .45); }
.wp-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wp-hero { position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: center; gap: 4%; padding: 9% 7%; overflow: hidden; border-radius: 28px; background: radial-gradient(60% 55% at 50% 40%, rgba(207, 212, 87, .2), transparent 70%), radial-gradient(40% 40% at 90% 90%, rgba(94, 234, 212, .08), transparent 70%), #040810; }
.wp-hero-side { transform: translateY(8%) scale(.94); opacity: .9; }
.wp-hero-side:first-child { transform: translateY(8%) scale(.94) rotate(-4deg); }
.wp-hero-side:last-child { transform: translateY(8%) scale(.94) rotate(4deg); }
.wp-hero-main { z-index: 1; box-shadow: 0 0 0 1px rgba(207, 212, 87, .3), 0 0 0 5px #0b0d08, 0 0 0 6px rgba(255, 255, 255, .1), 0 40px 80px rgba(0, 0, 0, .6), 0 0 90px rgba(207, 212, 87, .18); }

/* Visual system */
.wp-system { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(18px, 3vw, 28px); border-radius: 28px; background: #040810; color: #f5f6f0; }
.wp-colors { display: grid; gap: 10px; align-content: start; }
.wp-color { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; padding: 14px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.wp-color i { grid-row: 1 / 4; width: 54px; height: 54px; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 26px color-mix(in srgb, var(--c) 35%, transparent); }
.wp-color b { font-size: 16px; }
.wp-color code { color: #cfd457; font-size: 11px; }
.wp-color span { color: rgba(245, 246, 240, .5); font-size: 12px; }
.wp-support { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wp-support span { display: grid; gap: 8px; color: rgba(245, 246, 240, .5); font-size: 11px; text-align: center; }
.wp-support span::before { content: ""; height: 30px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wp-glass-demo { position: relative; display: grid; gap: 10px; padding: 14px; overflow: hidden; border-radius: 22px; background: #070b12; }
.wp-glass-bg { position: absolute; inset: 0; }
.wp-glass-bg i { position: absolute; border-radius: 50%; filter: blur(4px); }
.wp-glass-bg i:nth-child(1) { left: -10%; top: 6%; width: 52%; aspect-ratio: 1; background: radial-gradient(circle, #cfd457, transparent 68%); opacity: .55; }
.wp-glass-bg i:nth-child(2) { right: -12%; top: 38%; width: 48%; aspect-ratio: 1; background: radial-gradient(circle, #5eead4, transparent 68%); opacity: .35; }
.wp-glass-bg i:nth-child(3) { left: 30%; bottom: -20%; width: 46%; aspect-ratio: 1; background: radial-gradient(circle, #a0a8d0, transparent 68%); opacity: .3; }
.wp-glass { position: relative; display: grid; gap: 4px; padding: 16px 18px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.wp-glass small { color: #cfd457; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wp-glass b { font-size: 22px; letter-spacing: -.03em; }
.wp-glass b em { float: right; color: #f5f6f0; font-size: 15px; font-style: normal; }
.wp-glass code { color: rgba(245, 246, 240, .55); font-size: 11px; }
.wp-glass > span:last-child { color: rgba(245, 246, 240, .6); font-size: 12px; }
.wp-glass-accent { background: rgba(207, 212, 87, .04); border-color: rgba(207, 212, 87, .22); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.wp-glass-dark { background: rgba(255, 255, 255, .04); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.wp-glass-nav { border-radius: 24px; background: rgba(207, 212, 87, .03); backdrop-filter: blur(60px) saturate(180%); -webkit-backdrop-filter: blur(60px) saturate(180%); }
.wp-nav-demo { display: flex; gap: 8px; margin: 4px 0; }
.wp-nav-demo i { flex: 1; height: 26px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.wp-nav-demo i.on { border: 1px solid rgba(207, 212, 87, .35); background: rgba(207, 212, 87, .16); }
.wp-type { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 10px; }
.wp-type > div { display: grid; align-content: space-between; gap: 14px; min-height: 120px; padding: 18px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.wp-type small { color: rgba(245, 246, 240, .45); font-size: 11px; }
.wp-type-xl { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.wp-type-label { color: #cfd457; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.wp-type-meta { color: rgba(245, 246, 240, .5); font-size: 14px; }
.wp-radii { grid-template-columns: repeat(5, 1fr); align-items: end; }
.wp-radii i { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid rgba(207, 212, 87, .35); border-radius: min(var(--r), 50%); background: rgba(207, 212, 87, .07); color: #cfd457; font-size: 11px; font-style: normal; font-weight: 700; }
.wp-radii small { grid-column: 1 / -1; }

/* Flows */
.wp-flow { display: grid; gap: 18px; padding: clamp(22px, 3.5vw, 40px); border-radius: 28px; background: radial-gradient(50% 60% at 50% 0, rgba(207, 212, 87, .1), transparent 70%), #040810; color: #f5f6f0; }
.wp-flow-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(245, 246, 240, .5); font-size: 12px; }
.wp-flow-head span:first-child { color: #cfd457; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wp-flow-head:not(:first-child) { margin-top: 18px; }
.wp-steps, .wp-others { display: grid; gap: clamp(12px, 2vw, 22px); margin: 0; padding: 0; list-style: none; }
.wp-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.wp-steps li { position: relative; display: grid; align-content: start; gap: 10px; }
.wp-steps li:not(:last-child)::after { content: "→"; position: absolute; right: calc(clamp(12px, 2vw, 22px) / -2 - 6px); top: 42%; color: #cfd457; font-size: 14px; }
.wp-step-n { color: #cfd457; font-size: 11px; font-weight: 700; }
.wp-steps b, .wp-others b { margin-top: 6px; font-size: 14px; }
.wp-steps p { margin: 0; color: rgba(245, 246, 240, .55); font-size: 12px; line-height: 1.5; }
.wp-others { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wp-others li { display: grid; gap: 8px; }
.wp-others b { color: rgba(245, 246, 240, .75); font-size: 12px; font-weight: 600; text-align: center; }
.wp-shot { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.wp-steps li:hover .wp-shot, .wp-others li:hover .wp-shot { transform: translateY(-6px); }

/* Tech */
.wp-tech { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: #040810; color: #f5f6f0; }
.wp-tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wp-tech-grid article { padding: 20px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.wp-tech-grid b { color: #cfd457; font-size: 15px; }
.wp-tech-grid p { margin: 8px 0 0; color: rgba(245, 246, 240, .6); font-size: 13px; line-height: 1.55; }
.wp-state { padding: 20px; border: 1px solid rgba(207, 212, 87, .16); border-radius: 18px; background: rgba(207, 212, 87, .03); }
.wp-state-title { color: rgba(245, 246, 240, .5); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wp-state ol { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.wp-state li { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid rgba(207, 212, 87, .2); border-radius: 14px; background: rgba(207, 212, 87, .05); }
.wp-state li:not(:last-child)::after { content: "→"; position: relative; display: none; }
.wp-state li b { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.wp-state li small { color: rgba(245, 246, 240, .5); font-size: 11px; }

@media (max-width: 900px) {
  .wp-system { grid-template-columns: 1fr; }
  .wp-type { grid-template-columns: 1fr 1fr; }
  .wp-tech-grid { grid-template-columns: 1fr 1fr; }
  .wp-steps, .wp-others { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .wp-steps li, .wp-others li { flex: 0 0 46%; scroll-snap-align: start; }
  .wp-others li { flex-basis: 34%; }
  .wp-steps li::after { display: none; }
}
@media (max-width: 560px) {
  .wp-type, .wp-tech-grid { grid-template-columns: 1fr; }
  .wp-hero { padding: 10% 5%; }
}
