:root {
  --bg: #f3f8ff;
  --bg2: #fff8f2;
  --ink: #142033;
  --muted: #66738a;
  --line: rgba(20, 32, 51, .10);
  --card: rgba(255, 255, 255, .76);
  --card-solid: #ffffff;
  --blue: #1574f6;
  --blue-dark: #0d56c9;
  --orange: #ff9b45;
  --shadow: 0 24px 80px rgba(32, 69, 130, .16);
  --radius: 30px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 5%, rgba(90, 171, 255, .24), transparent 36rem),
    radial-gradient(circle at 90% 8%, rgba(255, 157, 87, .18), transparent 34rem),
    linear-gradient(135deg, var(--bg) 0%, #fff 46%, var(--bg2) 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 38px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(36, 59, 99, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #60b3ff 55%, var(--orange));
  box-shadow: 0 12px 22px rgba(21, 116, 246, .28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}
.nav-links a.active,
.nav-links a:hover { background: rgba(21, 116, 246, .08); color: var(--ink); }
.nav-links .nav-cta {
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  padding-inline: 16px;
}
.nav-links .nav-cta:hover { background: #243147; color: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 36px 0 74px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .94;
  letter-spacing: -.07em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
h3 {
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -.025em;
}
.lead {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  max-width: 760px;
}
p { color: var(--muted); line-height: 1.65; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 28px 0 0;
}
.cta-row.center { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -.015em;
}
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #5bacff);
  box-shadow: 0 18px 42px rgba(21, 116, 246, .28);
}
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 22px 48px rgba(21, 116, 246, .32); }
.button.secondary {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  padding: 10px;
  border-radius: 45px;
  background: rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -18% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 155, 69, .24);
  filter: blur(14px);
  z-index: -1;
}
.hero-visual img { border-radius: 36px; }

.section {
  padding: 74px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .content-card, .legal-block, details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(32, 69, 130, .08);
}
.card {
  min-height: 210px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.card p { flex: 1; }
.card span {
  color: var(--blue-dark);
  font-weight: 800;
}
.card:hover { transform: translateY(-3px); background: rgba(255,255,255,.92); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 650;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}
.ipad-card, .page-visual {
  padding: 12px;
  border-radius: 38px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ipad-card img, .page-visual img { border-radius: 28px; }

.gallery { overflow: hidden; }
.phone-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}
.phone-row img {
  border-radius: 34px;
  box-shadow: 0 18px 48px rgba(32, 69, 130, .14);
}

.final-cta {
  margin: 40px 0 24px;
  padding: 60px clamp(18px, 5vw, 70px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(21,116,246,.16), transparent 30rem),
    radial-gradient(circle at 85% 10%, rgba(255,155,69,.18), transparent 26rem),
    rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.final-cta.compact { padding-block: 46px; }
.final-cta h2 { max-width: 760px; margin-inline: auto; }
.final-cta p:not(.eyebrow) { max-width: 720px; margin-inline: auto; }
.disclaimer {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 13px;
  color: #77839a;
}
.hero-copy .disclaimer {
  margin: 16px 0 0;
  max-width: 620px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 34px 0 50px;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.page-visual { max-height: 610px; justify-self: center; }
.page-visual img { max-height: 585px; width: auto; object-fit: contain; }
.content-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.content-card, .legal-block { padding: 26px; }
.content-card h2, .legal-block h2 { font-size: 26px; }
.faq {
  max-width: 860px;
  margin: 0 auto;
}
details {
  padding: 20px 24px;
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}
details p { margin: 14px 0 0; }
.related .cards { margin-top: 24px; }

.legal-page .narrow {
  max-width: 860px;
  margin: 0 auto;
}
.legal-block { margin: 16px 0; }

.legal-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.legal-jump-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.legal-jump-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
}
.legal-block[id] {
  scroll-margin-top: 120px;
}


.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
}
.footer p { max-width: 450px; margin: 14px 0 0; font-size: 14px; }
.footer-right {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.footer-links a:hover { color: var(--ink); }
.footer .footer-disclaimer {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 900px) {
  .shell { width: min(100% - 24px, 680px); }
  .nav { align-items: stretch; border-radius: 28px; }
  .nav-links { display: none; }
  .hero, .page-hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 12px; }
  .hero-visual { width: min(100%, 320px); }
  .cards, .content-blocks { grid-template-columns: 1fr; }
  .phone-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .phone-row img {
    min-width: 240px;
    scroll-snap-align: start;
  }
  .footer { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .footer .footer-disclaimer { text-align: left; }
}

@media (max-width: 540px) {
  body { background-position: center top; }
  .shell { width: min(100% - 18px, 680px); }
  .nav { top: 8px; margin-top: 8px; }
  h1 { font-size: 45px; }
  h2 { font-size: 32px; }
  .lead { font-size: 18px; }
  .section { padding: 54px 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .final-cta { border-radius: 30px; padding: 42px 18px; }
  .card { min-height: auto; }
}

/* Interaction and polish patch */
img { height: auto; }

#page-shell {
  transition: opacity .18s ease, transform .18s ease;
}
#page-shell.is-leaving {
  opacity: 0;
  transform: translateY(8px) scale(.995);
}
#page-shell.is-entering {
  animation: pageIn .28s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px) scale(.996); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.button,
.card,
.nav-links a,
.brand-mark {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}
.button:active,
.card:active,
.nav-links a:active { transform: translateY(1px) scale(.99); }

.nav {
  border-radius: 28px;
  flex-wrap: wrap;
}
.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { white-space: nowrap; }

.hero-visual {
  width: min(100%, 310px);
  max-height: min(68vh, 650px);
  overflow: hidden;
}
.hero-visual img,
.phone-row img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-visual {
  width: min(100%, 360px);
  max-height: 560px;
  overflow: hidden;
}
.page-visual img {
  width: 100%;
  height: auto;
  max-height: 536px;
  object-fit: contain;
}
.ipad-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.phone-row img {
  max-height: 650px;
  align-self: start;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    border-radius: 26px;
    gap: 10px;
  }
  .nav-links {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }
  .nav-links a { flex: 0 0 auto; }
  .hero-visual { width: min(100%, 285px); }
  .page-visual { width: min(100%, 310px); }
}

@media (max-width: 540px) {
  .nav { border-radius: 24px; }
  .nav-links { margin-inline: -2px; }
  .nav-links a { padding: 9px 11px; }
  .nav-links .nav-cta { display: none; }
  .hero-visual { width: min(100%, 260px); }
  .page-visual { width: min(100%, 285px); }
  .phone-row img { min-width: 210px; max-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Pricing section */
.pricing-section {
  padding-top: 36px;
}
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 116, 246, .15), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(255, 155, 69, .18), transparent 24rem),
    rgba(255, 255, 255, .76);
  box-shadow: var(--shadow);
}
.pricing-copy h2 {
  max-width: 720px;
}
.pricing-copy p {
  max-width: 700px;
}
.pricing-note {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 750;
}
.pricing-steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.price-step {
  min-width: 170px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 44px rgba(32, 69, 130, .08);
}
.price-step.current {
  border-color: rgba(21, 116, 246, .22);
  background: rgba(255, 255, 255, .92);
}
.price-tag {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
}
.price-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}
.price-arrow {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-steps { flex-wrap: wrap; }
  .price-arrow { transform: rotate(90deg); width: 100%; }
  .price-step { flex: 1 1 180px; }
}

@media (max-width: 540px) {
  .pricing-section { padding-top: 20px; }
  .pricing-card { border-radius: 30px; padding: 28px 18px; }
  .pricing-steps { display: grid; grid-template-columns: 1fr; }
  .price-step { min-width: 0; }
}

/* Pricing nav pill */
.nav-links .nav-price {
  color: #0f5132;
  background: rgba(39, 174, 96, .14);
  border: 1px solid rgba(39, 174, 96, .20);
  font-weight: 800;
}
.nav-links .nav-price:hover {
  color: #0b3f28;
  background: rgba(39, 174, 96, .22);
}


/* Scruptly credit */
.scruptly-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px 8px 9px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 12px 34px rgba(32, 69, 130, .06);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.scruptly-credit img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
}
.scruptly-credit strong {
  color: var(--ink);
  letter-spacing: -.02em;
}
.scruptly-credit:hover {
  background: rgba(255, 255, 255, .92);
  transform: translateY(-1px);
}
.legal-page .lead {
  margin-bottom: 26px;
}

/* Transparent screenshot patch: the PNGs are cropped around the device and carry alpha. */
.hero-visual,
.page-visual,
.ipad-card {
  border: 1px solid rgba(21, 116, 246, .09);
  background:
    radial-gradient(circle at 24% 18%, rgba(21, 116, 246, .16), transparent 14rem),
    radial-gradient(circle at 82% 16%, rgba(255, 155, 69, .16), transparent 13rem),
    rgba(255, 255, 255, .50);
  overflow: visible;
}
.hero-visual {
  width: min(100%, 340px);
  max-height: none;
  padding: 16px 12px;
}
.page-visual {
  width: min(100%, 380px);
  max-height: none;
  padding: 16px 12px;
}
.split .ipad-card {
  justify-self: center;
  width: min(100%, 420px);
  padding: 16px 12px;
}
.hero-visual img,
.page-visual img,
.ipad-card img,
.phone-shot img {
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 26px 38px rgba(20, 32, 51, .18));
}
.hero-visual img,
.page-visual img,
.ipad-card img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 680px);
  object-fit: contain;
}
.phone-row {
  align-items: start;
}
.phone-row.view-row {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
}
.phone-row.wizard-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.phone-shot {
  margin: 0;
  padding: 16px 12px 12px;
  border: 1px solid rgba(20, 32, 51, .08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 8%, rgba(21, 116, 246, .13), transparent 12rem),
    rgba(255, 255, 255, .56);
  box-shadow: 0 18px 55px rgba(32, 69, 130, .08);
}
.phone-shot img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  box-shadow: none;
}
.phone-shot figcaption {
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  text-align: center;
  letter-spacing: -.02em;
}
.wizard-shot {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.wizard-gallery-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
}

@media (max-width: 900px) {
  .hero-visual { width: min(100%, 300px); }
  .page-visual { width: min(100%, 330px); }
  .split .ipad-card { width: min(100%, 330px); }
  .phone-row.view-row {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .phone-row.view-row .phone-shot {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .wizard-shot { flex-basis: 210px; }
}

@media (max-width: 540px) {
  .hero-visual { width: min(100%, 280px); }
  .page-visual { width: min(100%, 292px); }
  .split .ipad-card { width: min(100%, 292px); }
  .phone-shot {
    border-radius: 28px;
    padding: 12px 9px 10px;
  }
  .phone-row.view-row .phone-shot,
  .wizard-shot {
    flex-basis: 190px;
  }
  .phone-shot img { max-height: 520px; }
}
.phone-shot img { min-width: 0; scroll-snap-align: unset; }

/* Feature card screenshots. */
.card.feature-card,
.card.related-card {
  overflow: hidden;
}

.card-thumb {
  height: 548px;
  margin: -10px -10px 22px;
  padding: 10px 12px;
  border-radius: 24px;
  border: 1px solid rgba(21, 116, 246, .08);
  background:
    radial-gradient(circle at 28% 8%, rgba(21, 116, 246, .16), transparent 8rem),
    radial-gradient(circle at 80% 16%, rgba(255, 155, 69, .13), transparent 7rem),
    rgba(255, 255, 255, .48);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.card-thumb img {
  width: 266px;
  height: 528px;
  max-width: calc(100% - 24px);
  object-fit: contain;
  object-position: top center;
  background: transparent;
  filter: drop-shadow(0 18px 28px rgba(20, 32, 51, .18));
}

.related-card .card-thumb,
.related-card .card-thumb img {
  /* Same display size as the main cards, by request. */
}

@media (max-width: 540px) {
  .card-thumb {
    height: 548px;
    margin: -8px -8px 22px;
    padding: 10px 12px;
  }

  .card-thumb img {
    width: 266px;
    height: 528px;
    max-width: calc(100% - 24px);
  }
}

/* Landing visual slideshow for the simulator page. */
.slideshow-visual {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.slideshow-stack {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1183 / 2352;
  margin: 0 auto;
}

.slideshow-stack .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  transform: scale(.992);
  animation: tonimpot-slide-show 11.5s infinite;
  filter: drop-shadow(0 26px 38px rgba(20, 32, 51, .24));
}

/* 2s fully visible, then 300ms cross-fade to the next screenshot. */
.slideshow-stack .slide-1 { animation-delay: -.3s; }
.slideshow-stack .slide-2 { animation-delay: 2s; }
.slideshow-stack .slide-3 { animation-delay: 4.3s; }
.slideshow-stack .slide-4 { animation-delay: 6.6s; }
.slideshow-stack .slide-5 { animation-delay: 8.9s; }

@keyframes tonimpot-slide-show {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(.992);
  }
  2.61% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  22.61% {
    opacity: 0;
    transform: translateY(-8px) scale(.992);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(.992);
  }
}

/* Small layered candy over the simulator slideshow. */
.visual-candy {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.candy-orbit {
  width: 178px;
  height: 178px;
  top: 8%;
  right: -34px;
  border: 1px solid rgba(21, 116, 246, .24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, .92) 0 7px, transparent 8px),
    conic-gradient(from 140deg, rgba(21, 116, 246, .26), rgba(127, 84, 255, .18), transparent 62%, rgba(21, 116, 246, .22));
  mask: radial-gradient(circle, transparent 0 58%, #000 59%);
  animation: tonimpot-orbit 14s linear infinite;
}

.candy-ribbon {
  left: -34px;
  bottom: 12%;
  width: 188px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(21, 116, 246, .20), rgba(118, 78, 255, .16), rgba(255, 155, 69, .18));
  filter: blur(.2px);
  transform: rotate(-14deg);
  mix-blend-mode: multiply;
}

@keyframes tonimpot-orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .slideshow-stack .slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .slideshow-stack .slide-1 {
    opacity: 1;
  }

  .candy-orbit {
    animation: none;
  }
}

@media (max-width: 540px) {
  .slideshow-stack {
    width: min(100%, 292px);
  }

  .candy-orbit {
    width: 132px;
    height: 132px;
    right: -22px;
  }

  .candy-ribbon {
    left: -22px;
    width: 146px;
  }
}
