/* Slide walkthroughs on zola.cx/resources/ (plain CSS so it works alongside the Tailwind CDN build).
   Source: tools/deck.css — tools/build_resources.py copies it to resources/deck.css. */
.deck { --navy: #0D1B2A; --y4: #FACC15; --y5: #EAB308; --y7: #A16207; --s50: #F8FAFC; --s200: #E2E8F0; --s500: #64748B; --s600: #475569;
  position: relative; scroll-margin-top: 88px; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--s200); box-shadow: 0 30px 60px -30px rgba(13,27,42,.35); }
.deck-bar { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--s200); }
.deck-brand { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--s500); }
.deck-count { margin-left: auto; font-size: 14px; color: var(--s500); font-variant-numeric: tabular-nums; }
.deck-count b { color: var(--navy); }
.deck-ctl { display: flex; gap: 6px; }
.deck-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--s200); background: #fff; cursor: pointer; transition: all .2s; }
.deck-btn:hover:not(:disabled) { border-color: var(--y5); background: #FEFCE8; }
.deck-btn:disabled { opacity: .35; cursor: default; }
.deck-btn svg { width: 18px; height: 18px; }
.deck-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.deck-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--y4), #F97316); transition: width .4s; }
.deck:not(.live) .deck-bar, .deck:not(.live) .deck-foot { display: none; }

.slide { scroll-margin-top: 160px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; align-items: center; padding: 56px 56px 40px; min-height: 560px; }
.deck:not(.live) .slide + .slide { border-top: 1px solid var(--s200); }
.deck.live .slide:not(.on) { display: none; }
@keyframes s-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.deck.live .slide.on > * { animation: s-rise .5s cubic-bezier(.2,.7,.2,1) both; }
.deck.live .slide.on > .s-main { animation-delay: .08s; }
@media (prefers-reduced-motion: reduce) { .deck.live .slide.on > * { animation: none; } }
.s-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--y7); margin-bottom: 10px; }
.s-side h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.s-side p { font-size: 17px; color: var(--s600); }
.s-lead { font-size: 18.5px; line-height: 1.65; color: var(--s600); }
.s-lead + .s-lead { margin-top: 16px; }
.s-lead b { color: var(--navy); }
.s-link { color: var(--y7); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s-note { margin-top: 14px; font-size: 14.5px; color: var(--s500); }

.s-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-tiles.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: var(--s50); border: 1px solid #F1F5F9; }
.s-tile .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #FEF9C3; color: var(--y7); }
.s-tile .ic svg { width: 20px; height: 20px; }
.s-tile h3 { font-weight: 800; font-size: 16.5px; line-height: 1.25; margin-bottom: 4px; }
.s-tile p { font-size: 14.5px; line-height: 1.5; color: var(--s600); }

.s-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-trio li { padding: 26px 22px; border-radius: 20px; background: var(--navy); color: #fff; }
.s-trio svg { width: 34px; height: 34px; color: var(--y4); margin-bottom: 18px; }
.s-trio h3 { font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.s-trio p { font-size: 14.5px; line-height: 1.55; color: #CBD5E1; }

.s-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.s-stack span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--s200); font-weight: 700; font-size: 14px; }

.s-steps { counter-reset: step; display: grid; gap: 10px; }
.s-steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--s50); }
.s-steps li::before { content: "0" counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--y4); color: var(--navy); font-weight: 900; font-size: 15px; }
.s-steps h3 { font-weight: 800; font-size: 16.5px; }
.s-steps p { font-size: 14.5px; line-height: 1.5; color: var(--s600); }
.s-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-journey h3 em { display: table; margin: 4px 0 2px; font-style: normal; padding: 2px 10px; border-radius: 999px; background: #FEF9C3; color: #854D0E; font-size: 12px; font-weight: 800; white-space: nowrap; }

.s-checks { display: grid; gap: 10px; }
.s-checks.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--s50); font-size: 14.5px; line-height: 1.45; color: var(--s600); }
.s-checks b { color: var(--navy); }
.s-checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #10B981; color: #fff; }
.s-ctas.mt { margin-top: 22px; }

/* client screenshots */
.s-shot { position: relative; border-radius: 16px; overflow: visible; }
.s-shot img { display: block; width: 100%; height: auto; border-radius: 0 0 14px 14px; border: 1px solid var(--s200); border-top: 0; }
.s-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F5F9; border: 1px solid var(--s200); border-bottom: 0; border-radius: 14px 14px 0 0; }
.s-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.s-shot-bar i:nth-child(2) { background: var(--y4); }
.s-shot-bar i:nth-child(3) { background: #34D399; }
.s-shot-bar span { margin-left: 8px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--s500); }
.s-shot { box-shadow: 0 24px 50px -24px rgba(13,27,42,.35); }
.s-float { position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -12px rgba(13,27,42,.35); border: 1px solid #F1F5F9; }
.s-float svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #10B981; color: #fff; }
.s-float b { display: block; font-size: 14px; }
.s-float span { font-size: 12.5px; color: var(--s500); }
.s-phone { width: 100%; max-width: 190px; border-radius: 26px; padding: 7px; background: var(--navy); box-shadow: 0 24px 50px -20px rgba(13,27,42,.5); }
.s-phone img { display: block; width: 100%; height: auto; border-radius: 20px; }
.s-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; justify-items: center; }
.s-phones .s-phone:nth-child(even) { margin-top: 36px; }
.s-collage { position: relative; padding: 0 0 40px 0; }
.s-collage .s-shot { width: 88%; }
.s-collage .s-phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: 170px; }
.s-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.s-gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--s200); background: #fff; transition: all .2s; }
.s-gallery a:hover { border-color: var(--y5); transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(13,27,42,.4); }
.s-gallery img { display: block; width: 100%; height: auto; }
.s-gallery span { display: block; padding: 8px 10px; font-size: 12.5px; font-weight: 700; color: var(--y7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-domains { display: flex; flex-wrap: wrap; gap: 8px; }
.s-domains li { padding: 8px 14px; border-radius: 999px; background: var(--s50); border: 1px solid var(--s200); font-weight: 700; font-size: 14px; }
.s-domains li::before { content: "🔒 "; font-size: 11px; }
.s-mails { display: grid; gap: 8px; margin-top: 22px; }
.s-mails span { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.s-mails span::before { content: "✉"; color: var(--y4); }
.s-price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-price > div { padding: 28px 24px; border-radius: 20px; border: 1px solid var(--s200); background: var(--s50); }
.s-price > div.hi { border: 2px solid var(--y5); background: #fff; box-shadow: 0 24px 50px -28px rgba(13,27,42,.4); }
.s-price span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s500); }
.s-price b { display: block; margin: 8px 0 10px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.02em; }
.s-price p { font-size: 14.5px; line-height: 1.5; color: var(--s600); }

/* result rings (Zola data slide): --p = percentage, --c = colour */
.s-rings { display: grid; gap: 14px; }
.s-rings li { display: flex; align-items: center; gap: 20px; padding: 16px 18px; border-radius: 18px; background: var(--s50); }
.s-ring { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E2E8F0 0); }
.s-ring b { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; font-size: 19px; font-weight: 900; }
.s-rings h3 { font-weight: 800; font-size: 17px; }
.s-rings p { font-size: 14.5px; line-height: 1.45; color: var(--s600); }

.s-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.s-contact a { display: block; padding: 22px; border-radius: 16px; background: var(--s50); border: 1px solid var(--s200); transition: all .2s; }
.s-contact a:hover { border-color: var(--y5); background: #FEFCE8; }
.s-contact span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s500); margin-bottom: 6px; }
.s-contact b { font-size: 19px; overflow-wrap: anywhere; }
.s-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; background: var(--y4); color: #020617; font-weight: 800; border: 0; cursor: pointer; transition: background .2s; }
.s-btn:hover { background: var(--y5); }
.s-btn-ghost { background: #fff; box-shadow: inset 0 0 0 1px var(--s200); }
.s-btn-ghost:hover { background: #FEFCE8; }

.s-cover { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.s-cover::before { content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: linear-gradient(135deg, var(--y4), #F97316); opacity: .28; filter: blur(70px); pointer-events: none; }
.s-cover > * { position: relative; }
.s-cover .s-kicker { color: var(--y4); }
.s-cover .s-side h2 { font-size: clamp(36px, 4.8vw, 60px); }
.s-cover .s-side p { color: #CBD5E1; }
.s-cover .s-link { color: var(--y4); }
.s-cover .s-btn { margin-top: 24px; }
.s-cover .s-shot-bar { background: #1E293B; border-color: #334155; }
.s-cover .s-shot-bar span { background: #0F172A; color: #94A3B8; }
.s-cover .s-shot img { border-color: #334155; }
.s-grad { background: linear-gradient(90deg, var(--y4), #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-cover-list { display: grid; gap: 12px; }
.s-cover-list li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 18px; }
.s-cover-list span { color: var(--y4); font-weight: 900; }
.s-glow { align-self: stretch; min-height: 240px; border-radius: 20px; background: radial-gradient(circle at 60% 40%, rgba(250,204,21,.35), transparent 60%), rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }

.deck-foot { display: flex; justify-content: flex-end; padding: 0 56px 32px; margin-top: -8px; }
.deck.live:has(.s-cover.on) .deck-foot { background: var(--navy); }
.deck.live:has(.s-end.on) .deck-foot { display: none; }
.deck-next { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--y7); }
.deck.live:has(.s-cover.on) .deck-next { color: var(--y4); }
.deck-next svg { width: 17px; height: 17px; transition: transform .2s; }
.deck-next:hover svg { transform: translateX(4px); }
.deck:fullscreen { border-radius: 0; overflow-y: auto; display: flex; flex-direction: column; }
.deck:fullscreen .slide { flex: 1; }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; gap: 26px; padding: 32px 24px 24px; min-height: 0; }
  .s-tiles.c3, .s-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-glow { display: none; }
  .s-float { left: 10px; bottom: 10px; }
  .deck-foot { padding: 0 24px 22px; }
}
@media (max-width: 540px) {
  .slide { padding: 26px 18px 20px; }
  .s-tiles, .s-tiles.c3, .s-trio, .s-contact, .s-checks.c2, .s-journey, .s-price { grid-template-columns: 1fr; }
  .s-gallery, .s-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-phones .s-phone:nth-child(even) { margin-top: 24px; }
  .s-float { padding: 8px 10px; }
  .s-float svg { width: 28px; height: 28px; }
  .deck-bar { padding: 10px 10px 10px 16px; gap: 10px; }
  .deck-brand { display: none; }
  .deck-count { margin-left: 0; margin-right: auto; }
  .deck-foot { padding: 0 18px 18px; }
}
@media print {
  body > header, body > footer, .wt-hero, .deck-bar, .deck-foot, .deck-alt, .slide [data-go] { display: none !important; }
  .wt-band { padding: 0 !important; background: none !important; }
  .deck { box-shadow: none; border: 0; border-radius: 0; }
  .deck.live .slide { display: grid !important; }
  .slide { break-after: page; min-height: 0; border: 0 !important; }
  .slide > * { animation: none !important; }
  .s-cover, .s-trio li, .s-tile, .s-steps li, .s-tile .ic, .s-steps li::before, .s-checks svg, .s-mails span, .s-phone, .s-ring, .s-ring b { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
