/*
 * Public content pages.
 *
 * These styles intentionally mirror the original Next.js/Tailwind presentation
 * while keeping the Rust application free of a client-side JavaScript runtime.
 */

.cn-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cn-content-layout {
  background: #fff;
  color: #111827;
}

/* About, privacy and conditions match the original spacious text layout. */
.cn-article {
  width: auto;
  max-width: none;
  min-height: 50vh;
  margin: 2.5rem 2rem;
  color: #111827;
}

.cn-article header h1 {
  margin: 0 0 1.25rem;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.25;
}

.cn-article-body {
  display: block;
}

.cn-article section {
  margin: 0;
  padding: 0;
}

.cn-article h2 {
  margin: 0 0 .75rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
}

.cn-article h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  font-weight: 700;
}

.cn-article p {
  max-width: none;
  margin: 0 0 1.25rem;
  color: #111827;
}

.cn-about p {
  margin-bottom: 2rem;
}

.cn-about h2 {
  margin-bottom: .85rem;
}

.cn-article .text-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.cn-article .text-link:hover,
.cn-article .text-link:focus-visible {
  color: #2563eb;
  text-decoration: underline;
}

.cn-signature {
  text-align: right;
  font-style: italic;
}

/* Consultorio: original teal-to-blue landing page. */
.cn-cloud-page {
  padding: 5rem 1.5rem;
  background: linear-gradient(to bottom, #14b8a6, #3b82f6);
  color: #111827;
}

.cn-cloud-container {
  display: grid;
  width: min(100%, 896px);
  margin: 0 auto;
  gap: 4rem;
}

.cn-cloud-intro,
.cn-cloud-about {
  padding: 2rem;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.cn-cloud-intro {
  text-align: center;
}

.cn-cloud-hero-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: #14b8a6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cn-cloud-intro h1 {
  margin: 0 0 .5rem;
  color: #1f2937;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
}

.cn-cloud-intro p {
  max-width: 672px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 1.125rem;
}

.cn-cloud-cta {
  text-align: center;
}

.cn-cloud-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  border-radius: 9999px;
  background: #0d9488;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 35%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .15s ease, transform .15s ease;
}

.cn-cloud-cta a:hover,
.cn-cloud-cta a:focus-visible {
  background: #0f766e;
  transform: translateY(-1px);
}

.cn-cloud-cta svg {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cn-cloud-gallery {
  padding: 3rem 0;
}

.cn-cloud-gallery h2 {
  margin: 0 0 3rem;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
}

.cn-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.cn-gallery-grid a {
  position: relative;
  height: 16rem;
  overflow: hidden;
  border-radius: .75rem;
  background: #e5e7eb;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 18%), 0 4px 6px -4px rgb(0 0 0 / 12%);
  transition: box-shadow .3s ease;
}

.cn-gallery-grid a:hover,
.cn-gallery-grid a:focus-visible {
  box-shadow: 0 20px 25px -5px rgb(96 165 250 / 30%), 0 8px 10px -6px rgb(96 165 250 / 30%);
}

.cn-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cn-gallery-grid a:hover img,
.cn-gallery-grid a:focus-visible img {
  transform: scale(1.1);
}

.cn-cloud-features > h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.cn-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cn-feature-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
  text-align: center;
}

.cn-feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: .75rem;
  fill: none;
  stroke: #14b8a6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cn-feature-grid h3 {
  margin: 0 0 .5rem;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
}

.cn-feature-grid p {
  margin: 0;
  color: #4b5563;
  font-size: .875rem;
}

.cn-cloud-about h2 {
  margin: 0 0 1rem;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
}

.cn-cloud-about p {
  margin: 0 0 .5rem;
  color: #4b5563;
}

.cn-cloud-about .cn-cloud-secondary-link {
  display: inline-flex;
  margin-top: 1rem;
  padding: .7rem 1.1rem;
  border-radius: .5rem;
  background: #0d9488;
  color: #fff;
  font-weight: 700;
}

.cn-cloud-secondary-link:hover,
.cn-cloud-secondary-link:focus-visible {
  background: #0f766e;
}

/* Pricing cards mirror the active cards from the Next.js page. */
.cn-pricing-page {
  width: 100%;
  min-height: 65vh;
  padding: 3.5rem 1rem 10rem;
  background: #f9fafb;
  color: #111827;
}

.cn-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1280px);
  margin: 0 auto;
  gap: 5rem 3.5rem;
  align-items: stretch;
}

.cn-pricing-feedback {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto 1.25rem;
  padding: .85rem 1rem;
  border: 1px solid rgb(0 102 204 / 16%);
  border-radius: 1rem;
  background: rgb(237 246 255 / 92%);
  color: #075fae;
  font-size: .86rem;
  font-weight: 650;
  text-align: center;
}

.cn-plan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid;
  border-radius: .5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
  transition: box-shadow .15s ease, transform .15s ease;
}

.cn-plan-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
  transform: translateY(-2px);
}

.cn-plan-free {
  border-color: #d1d5db;
  background: #f3f4f6;
  --cn-plan-accent: #4b5563;
}

.cn-plan-standard {
  border-color: #86efac;
  background: #dcfce7;
  --cn-plan-accent: #16a34a;
}

.cn-plan-practice {
  border-color: #a5b4fc;
  background: #e0e7ff;
  --cn-plan-accent: #4f46e5;
}

.cn-plan-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.cn-plan-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--cn-plan-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cn-plan-card h2 {
  margin: 0 0 .5rem;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.cn-plan-subtitle {
  margin: 0 0 1rem;
  color: #4b5563;
  text-align: center;
}

.cn-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.cn-plan-price strong {
  color: #111827;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.cn-plan-price span {
  margin-left: .5rem;
  color: #6b7280;
  font-size: 1.25rem;
}

.cn-plan-card ul {
  display: grid;
  margin: 0 0 1.5rem;
  padding: 0;
  gap: .75rem;
  color: #374151;
  list-style: none;
}

.cn-plan-card li {
  display: flex;
  align-items: flex-start;
}

.cn-plan-card li::before {
  content: "✓";
  flex: 0 0 auto;
  margin-right: .5rem;
  color: var(--cn-plan-accent);
  font-weight: 800;
}

.cn-plan-form {
  display: grid;
  margin-top: auto;
  gap: 1rem;
}

.cn-plan-form label > span {
  display: block;
  margin-bottom: .5rem;
  color: #111827;
  font-size: .875rem;
  font-weight: 500;
}

.cn-plan-form select {
  width: 100%;
  min-height: 44px;
  padding: .625rem .75rem;
  border: 1px solid #d1d5db;
  border-radius: .5rem;
  background: #fff;
  color: #111827;
  font: inherit;
}

.cn-plan-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: .75rem 1rem;
  border: 0;
  border-radius: .5rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: center;
  transition: background-color .15s ease;
}

.cn-button-free {
  background: #4b5563;
}

.cn-button-free:hover,
.cn-button-free:focus-visible {
  background: #374151;
}

.cn-button-standard {
  background: #16a34a;
}

.cn-button-standard:hover,
.cn-button-standard:focus-visible {
  background: #15803d;
}

.cn-button-practice {
  background: #4f46e5;
}

.cn-button-practice:hover,
.cn-button-practice:focus-visible {
  background: #4338ca;
}

/* Stripe result page. */
.cn-payment-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f9fafb;
}

.cn-payment-card {
  width: min(100%, 448px);
  margin-top: -8rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
  text-align: center;
  animation: cn-payment-in .5s ease-out both;
}

.cn-payment-icon {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: #dcfce7;
  color: #16a34a;
}

.cn-payment-icon svg {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cn-payment-pending {
  background: #fef3c7;
  color: #92400e;
  font-size: 2rem;
  font-weight: 700;
}

.cn-payment-card h1 {
  margin: 0;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
}

.cn-payment-card > p {
  margin: .5rem 0 0;
  color: #4b5563;
}

.cn-payment-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: .625rem 1.25rem;
  border-radius: .5rem;
  background: #1c64f2;
  color: #fff;
  font-weight: 600;
}

.cn-payment-button:hover,
.cn-payment-button:focus-visible {
  background: #1a56db;
}

/* Médico IA keeps the original chat-like presentation while the clinical
 * workflow remains unavailable until its safeguards are ready. */
.content-page {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.virtual-page {
  min-height: 68vh;
  padding: 3.25rem 0 5rem;
}

.virtual-heading {
  margin: 0 0 1.75rem;
  text-align: center;
}

.virtual-heading .eyebrow {
  display: inline-flex;
  margin: 0 0 .5rem;
  padding: .3rem .75rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.virtual-heading h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.04em;
}

.virtual-heading > p:last-child {
  max-width: 42rem;
  margin: .65rem auto 0;
  color: #6b7280;
}

.virtual-chat-shell {
  width: min(100%, 860px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 0, rgb(37 99 235 / 9%), transparent 34%),
    #fff;
  box-shadow: 0 20px 60px rgb(15 23 42 / 12%);
}

.virtual-chat-top {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: rgb(255 255 255 / 78%);
}

.virtual-avatar {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #0f766e);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 7px 18px rgb(37 99 235 / 25%);
}

.virtual-chat-top h2 {
  margin: 0;
  font-size: 1rem;
}

.virtual-chat-top span {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .15rem;
  color: #6b7280;
  font-size: .78rem;
}

.virtual-chat-top i,
.raffles-date i {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #f59e0b;
}

.virtual-chat-body {
  min-height: 330px;
  padding: 2rem 1.25rem;
  background:
    linear-gradient(rgb(248 250 252 / 88%), rgb(248 250 252 / 88%)),
    url("/assets/images/consultorio.jpg") center / cover;
}

.virtual-message,
.virtual-warning {
  max-width: 37rem;
  padding: .9rem 1rem;
  border-radius: .85rem .85rem .85rem .2rem;
  background: #fff;
  box-shadow: 0 5px 16px rgb(15 23 42 / 8%);
}

.virtual-message p {
  margin: 0;
}

.virtual-message p + p {
  margin-top: .5rem;
}

.virtual-warning {
  margin-top: 1rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.virtual-warning p {
  margin: .25rem 0 0;
}

.virtual-composer {
  display: flex;
  gap: .75rem;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.virtual-composer input {
  min-width: 0;
  flex: 1;
  padding: .75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: .75rem;
  background: #f9fafb;
}

.virtual-composer button {
  padding: .75rem 1.15rem;
  border: 0;
  border-radius: .75rem;
  background: #9ca3af;
  color: #fff;
  font-weight: 700;
}

/* Public raffle totals match the product galleries but do not expose names. */
.raffles-page {
  padding: 3rem 0 5rem;
}

.raffles-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.raffles-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.04em;
}

.raffles-heading p {
  margin: .6rem 0;
  color: #6b7280;
}

.raffles-date {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: .8rem;
  font-weight: 650;
}

.raffle-section {
  margin-top: 1.5rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 35px rgb(15 23 42 / 7%);
}

.raffle-section > h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.raffle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: 1.75rem;
  align-items: center;
}

.raffle-gallery {
  display: grid;
  gap: .7rem;
}

.raffle-gallery-phone {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.raffle-gallery-mac {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.raffle-gallery img {
  width: 100%;
  height: 225px;
  border-radius: .75rem;
  object-fit: cover;
  box-shadow: 0 5px 15px rgb(15 23 42 / 10%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.raffle-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgb(15 23 42 / 16%);
}

.raffle-features {
  padding: 1.25rem;
  border-radius: .8rem;
  background: #f9fafb;
}

.raffle-features h3 {
  margin: 0 0 .85rem;
  font-size: 1.15rem;
}

.raffle-features ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #4b5563;
}

.raffle-features li + li {
  margin-top: .45rem;
}

.raffle-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  color: #4b5563;
  font-size: .9rem;
}

.raffle-progress {
  height: .75rem;
  margin-top: .5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.raffle-progress span {
  display: block;
  min-width: .35rem;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.raffle-progress.practice span {
  background: linear-gradient(90deg, #2563eb, #0d9488);
}

.raffles-privacy {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 1px solid #bfdbfe;
  border-radius: .75rem;
  background: #eff6ff;
  color: #1e40af;
  text-align: center;
  font-size: .88rem;
}

@keyframes cn-payment-in {
  from {
    opacity: 0;
    transform: scale(.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1050px) {
  .cn-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cn-article {
    margin: 2.5rem 2rem;
  }

  .cn-cloud-page {
    padding: 4rem 1rem;
  }

  .cn-cloud-container {
    gap: 3.25rem;
  }

  .cn-gallery-grid,
  .cn-feature-grid,
  .cn-pricing-grid {
    grid-template-columns: 1fr;
  }

  .cn-cloud-gallery {
    padding: 1.5rem 0;
  }

  .cn-cloud-cta a {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
  }

  .cn-pricing-page {
    padding-bottom: 7rem;
  }

  .cn-payment-card {
    margin-top: -3rem;
  }

  .raffle-layout {
    grid-template-columns: 1fr;
  }

  .raffle-gallery img {
    height: 185px;
  }
}

@media (max-width: 520px) {
  .cn-article {
    margin-inline: 1.25rem;
  }

  .cn-cloud-intro,
  .cn-cloud-about {
    padding: 1.5rem;
  }

  .cn-cloud-intro h1 {
    font-size: 1.875rem;
  }

  .cn-gallery-grid a {
    height: 13rem;
  }

  .cn-plan-card {
    padding: 1.25rem;
  }

  .virtual-page,
  .raffles-page {
    padding-top: 2rem;
  }

  .virtual-chat-body {
    min-height: 290px;
  }

  .virtual-composer {
    flex-direction: column;
  }

  .raffle-gallery-phone {
    grid-template-columns: 1fr;
  }

  .raffle-gallery-mac {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raffle-gallery img {
    height: 210px;
  }

  .raffle-progress-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cn-gallery-grid img,
  .cn-gallery-grid a,
  .cn-plan-card,
  .cn-cloud-cta a,
  .raffle-gallery img {
    transition: none;
  }

  .cn-payment-card {
    animation: none;
  }
}

/*
 * Refined public experience.
 *
 * The original brand colours remain recognisable, while spacing, surfaces and
 * typography use a quieter, product-led visual language. Everything stays
 * scoped to public-content components so the application shell is unaffected.
 */
.cn-content-layout #main-content {
  background:
    radial-gradient(circle at 12% 0%, rgb(14 165 233 / 5%), transparent 26rem),
    #fbfbfd;
}

.cn-article {
  width: min(calc(100% - 3rem), 880px);
  margin: clamp(3.5rem, 8vw, 6.5rem) auto;
  color: #1d1d1f;
  font-size: 1.035rem;
  line-height: 1.72;
}

.cn-article header {
  margin-bottom: clamp(2.25rem, 6vw, 4rem);
}

.cn-article header h1 {
  margin: 0;
  color: #101114;
  font-size: clamp(2.45rem, 7vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: .98;
}

.cn-article section + section {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgb(17 24 39 / 9%);
}

.cn-article h2 {
  margin-bottom: 1rem;
  color: #1d1d1f;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 690;
  letter-spacing: -.028em;
}

.cn-article h3 {
  color: #1d1d1f;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.cn-article p {
  color: #424245;
}

.cn-article .text-link {
  color: #0066cc;
  text-decoration: underline;
  text-decoration-color: rgb(0 102 204 / 28%);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.cn-article .text-link:hover {
  color: #004f9e;
  text-decoration-color: currentColor;
}

.cn-signature {
  color: #6e6e73;
  font-size: .95rem;
}

.cn-cloud-page {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  background:
    radial-gradient(circle at 4% 5%, rgb(45 212 191 / 38%), transparent 31rem),
    radial-gradient(circle at 98% 28%, rgb(96 165 250 / 34%), transparent 34rem),
    linear-gradient(155deg, #eafcf9 0%, #e7f8fc 48%, #edf2ff 100%);
}

.cn-cloud-page::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 20%) 1px, transparent 1px);
  background-size: 100% 7rem;
  content: "";
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 30%), transparent 62%);
  pointer-events: none;
}

.cn-cloud-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  min-width: 0;
  gap: clamp(3.25rem, 8vw, 6rem);
}

.cn-cloud-container > *,
.cn-gallery-grid > *,
.cn-feature-grid > *,
.cn-pricing-grid > *,
.raffle-layout > *,
.raffle-gallery > * {
  min-width: 0;
}

.cn-cloud-intro,
.cn-cloud-about {
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 2rem;
  background: rgb(255 255 255 / 78%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 24px 70px rgb(15 76 92 / 12%);
  backdrop-filter: blur(18px) saturate(130%);
}

.cn-cloud-intro {
  padding: clamp(2rem, 6vw, 4rem);
}

.cn-cloud-hero-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  stroke: #0f9f91;
}

.cn-cloud-intro h1 {
  color: #102a2d;
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.cn-cloud-intro p {
  max-width: 720px;
  margin-top: 1.25rem;
  color: #3f555a;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.65;
}

.cn-cloud-cta a {
  min-height: 58px;
  padding: 1rem 2rem;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 999px;
  background: linear-gradient(135deg, #0f9f91, #087f8c);
  box-shadow:
    0 18px 40px rgb(8 127 140 / 25%),
    0 1px 0 rgb(255 255 255 / 22%) inset;
  font-size: 1.12rem;
  letter-spacing: -.012em;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.cn-cloud-cta a:hover {
  background: linear-gradient(135deg, #0d9488, #087286);
  box-shadow:
    0 22px 46px rgb(8 127 140 / 29%),
    0 1px 0 rgb(255 255 255 / 22%) inset;
  filter: saturate(108%);
  transform: translateY(-2px);
}

.cn-cloud-gallery h2,
.cn-cloud-features > h2 {
  color: #15383d;
  font-weight: 720;
  letter-spacing: -.03em;
}

.cn-gallery-grid {
  gap: 1rem;
}

.cn-gallery-grid a {
  height: clamp(15rem, 30vw, 20rem);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgb(20 83 101 / 13%);
}

.cn-gallery-grid a:hover {
  box-shadow: 0 24px 56px rgb(20 83 101 / 19%);
  transform: translateY(-2px);
}

.cn-gallery-grid img {
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}

.cn-gallery-grid a:hover img {
  transform: scale(1.035);
}

.cn-feature-grid {
  gap: 1rem;
}

.cn-feature-grid article {
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 1.35rem;
  background: rgb(255 255 255 / 72%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 14px 35px rgb(20 83 101 / 9%);
  text-align: left;
  backdrop-filter: blur(14px);
}

.cn-feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: .45rem;
  border-radius: .7rem;
  background: rgb(20 184 166 / 11%);
  stroke: #0f8f83;
}

.cn-feature-grid h3 {
  margin-top: .2rem;
  color: #183337;
  letter-spacing: -.015em;
}

.cn-feature-grid p,
.cn-cloud-about p {
  color: #506064;
  line-height: 1.6;
}

.cn-cloud-about {
  padding: clamp(1.75rem, 5vw, 3rem);
}

.cn-cloud-about h2 {
  color: #183337;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 720;
  letter-spacing: -.03em;
}

.cn-cloud-about .cn-cloud-secondary-link {
  min-height: 46px;
  align-items: center;
  padding-inline: 1.2rem;
  border-radius: 999px;
  background: #087f8c;
}

.cn-pricing-page {
  padding: clamp(3.75rem, 7vw, 6rem) 1.25rem clamp(6rem, 10vw, 10rem);
  background:
    radial-gradient(circle at 50% -8rem, rgb(37 99 235 / 9%), transparent 34rem),
    #f5f5f7;
}

.cn-pricing-grid {
  gap: 1.25rem;
  width: min(100%, 1240px);
}

.cn-plan-card {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-color: rgb(17 24 39 / 8%);
  border-radius: 1.75rem;
  background: rgb(255 255 255 / 86%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 18px 45px rgb(15 23 42 / 8%);
  backdrop-filter: blur(16px);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.cn-plan-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--cn-plan-accent);
  content: "";
  opacity: .8;
}

.cn-plan-card:hover {
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 24px 60px rgb(15 23 42 / 12%);
  transform: translateY(-5px);
}

.cn-plan-free {
  --cn-plan-accent: #596271;
}

.cn-plan-standard {
  --cn-plan-accent: #17a65b;
  background:
    radial-gradient(circle at 100% 0%, rgb(34 197 94 / 12%), transparent 16rem),
    rgb(255 255 255 / 92%);
}

.cn-plan-practice {
  --cn-plan-accent: #5262e5;
  background:
    radial-gradient(circle at 100% 0%, rgb(99 102 241 / 13%), transparent 17rem),
    rgb(255 255 255 / 92%);
}

.cn-plan-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  padding: .7rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 70%);
  box-shadow: 0 8px 20px rgb(15 23 42 / 7%);
}

.cn-plan-card h2 {
  color: #1d1d1f;
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
  font-weight: 730;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.cn-plan-subtitle {
  color: #6e6e73;
  line-height: 1.5;
}

.cn-plan-price {
  margin-block: .25rem 2rem;
}

.cn-plan-price strong {
  color: #1d1d1f;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 760;
  letter-spacing: -.055em;
}

.cn-plan-price span {
  color: #6e6e73;
}

.cn-plan-card ul {
  gap: .85rem;
  color: #424245;
  line-height: 1.45;
}

.cn-plan-card li::before {
  content: "\2713";
}

.cn-plan-form select {
  min-height: 48px;
  border-color: rgb(17 24 39 / 14%);
  border-radius: .85rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.cn-plan-button {
  min-height: 50px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgb(15 23 42 / 11%);
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cn-plan-button:hover {
  box-shadow: 0 14px 28px rgb(15 23 42 / 16%);
  filter: saturate(108%);
  transform: translateY(-1px);
}

.cn-payment-page {
  background:
    radial-gradient(circle at 50% 30%, rgb(37 99 235 / 10%), transparent 28rem),
    #f5f5f7;
}

.cn-payment-card {
  border-color: rgb(17 24 39 / 8%);
  border-radius: 2rem;
  box-shadow: 0 28px 75px rgb(15 23 42 / 12%);
}

.cn-payment-button {
  min-height: 46px;
  border-radius: 999px;
}

.virtual-page {
  width: 100%;
  max-width: none;
  padding: clamp(3.75rem, 8vw, 6.5rem) 1rem clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(37 99 235 / 8%), transparent 30rem),
    #fbfbfd;
}

.virtual-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.virtual-heading .eyebrow {
  border-color: rgb(37 99 235 / 18%);
  background: rgb(37 99 235 / 7%);
  color: #175dcc;
}

.virtual-heading h1,
.raffles-heading h1 {
  color: #101114;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: .98;
}

.virtual-heading > p:last-child {
  margin-top: 1rem;
  color: #6e6e73;
  font-size: 1.05rem;
}

.virtual-chat-shell {
  border-color: rgb(17 24 39 / 9%);
  border-radius: 2rem;
  box-shadow: 0 28px 75px rgb(15 23 42 / 11%);
}

.virtual-chat-top {
  padding: 1.15rem 1.35rem;
  background: rgb(255 255 255 / 84%);
  backdrop-filter: blur(18px);
}

.virtual-avatar {
  background: linear-gradient(145deg, #2775ea, #0c8b92);
  box-shadow: 0 10px 24px rgb(37 99 235 / 22%);
}

.virtual-chat-body {
  min-height: 360px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.virtual-message,
.virtual-warning {
  border-radius: 1.15rem 1.15rem 1.15rem .35rem;
  box-shadow: 0 10px 28px rgb(15 23 42 / 8%);
  line-height: 1.55;
}

.virtual-warning {
  border-color: rgb(245 158 11 / 30%);
  background: rgb(255 251 235 / 92%);
}

.virtual-composer {
  padding: 1rem 1.1rem;
  background: rgb(255 255 255 / 92%);
}

.virtual-composer input,
.virtual-composer button {
  min-height: 50px;
  border-radius: 999px;
}

.virtual-composer input {
  padding-inline: 1.15rem;
  border-color: rgb(17 24 39 / 12%);
  background: #f5f5f7;
}

.virtual-composer button {
  padding-inline: 1.35rem;
}

.raffles-page {
  width: 100%;
  max-width: none;
  padding: clamp(3.75rem, 7vw, 6rem) max(1rem, calc((100% - 1280px) / 2)) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(168 85 247 / 7%), transparent 32rem),
    #fbfbfd;
}

.raffles-heading {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.raffles-heading p {
  color: #6e6e73;
  font-size: 1.03rem;
}

.raffles-date {
  padding: .45rem .8rem;
  background: rgb(17 24 39 / 5%);
  color: #515154;
}

.raffle-section {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  border-color: rgb(17 24 39 / 8%);
  border-radius: 2rem;
  box-shadow: 0 20px 55px rgb(15 23 42 / 7%);
}

.raffle-section + .raffle-section {
  margin-top: 1.75rem;
}

.raffle-section > h2 {
  color: #1d1d1f;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 730;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.raffle-layout {
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.raffle-gallery {
  gap: .65rem;
}

.raffle-gallery img {
  height: clamp(205px, 22vw, 275px);
  border-radius: 1.25rem;
  box-shadow: 0 14px 35px rgb(15 23 42 / 11%);
}

.raffle-gallery img:hover {
  box-shadow: 0 20px 45px rgb(15 23 42 / 16%);
  transform: translateY(-2px) scale(1.01);
}

.raffle-features {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgb(17 24 39 / 6%);
  border-radius: 1.4rem;
  background: #f5f5f7;
}

.raffle-features h3 {
  color: #1d1d1f;
  letter-spacing: -.018em;
}

.raffle-features ul {
  color: #515154;
  line-height: 1.55;
}

.raffle-progress {
  height: .6rem;
  background: #e8e8ed;
}

.raffles-privacy {
  padding: 1.1rem 1.25rem;
  border-color: rgb(37 99 235 / 16%);
  border-radius: 1.2rem;
  background: rgb(37 99 235 / 6%);
}

.cn-cloud-cta a:focus-visible,
.cn-gallery-grid a:focus-visible,
.cn-cloud-secondary-link:focus-visible,
.cn-plan-button:focus-visible,
.cn-plan-form select:focus-visible,
.cn-payment-button:focus-visible,
.virtual-composer input:focus-visible,
.raffle-gallery img:focus-visible {
  outline: 3px solid rgb(0 122 255 / 38%);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .cn-pricing-grid {
    gap: 1.25rem;
  }

  .cn-plan-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .cn-article {
    width: min(calc(100% - 2.5rem), 880px);
    margin-block: 3.5rem 5rem;
  }

  .cn-cloud-page {
    padding-inline: 1rem;
  }

  .cn-cloud-container {
    gap: 3.25rem;
  }

  .cn-cloud-intro,
  .cn-cloud-about {
    border-radius: 1.5rem;
  }

  .cn-gallery-grid a {
    width: 100%;
    height: min(62vw, 22rem);
  }

  .cn-feature-grid article {
    min-height: 0;
  }

  .cn-pricing-grid {
    width: min(100%, 560px);
  }

  .cn-plan-card {
    border-radius: 1.5rem;
  }

  .raffles-page {
    padding-inline: 1rem;
  }

  .raffle-section {
    border-radius: 1.5rem;
  }

  .raffle-gallery img {
    height: clamp(190px, 52vw, 320px);
  }
}

@media (max-width: 520px) {
  .cn-article {
    width: calc(100% - 2rem);
  }

  .cn-article header h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }

  .cn-cloud-page {
    padding-top: 2.5rem;
  }

  .cn-cloud-intro,
  .cn-cloud-about {
    padding: 1.5rem;
  }

  .cn-cloud-intro h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .cn-cloud-cta a {
    width: min(100%, 310px);
  }

  .cn-gallery-grid a {
    height: 58vw;
    min-height: 190px;
    border-radius: 1.15rem;
  }

  .cn-pricing-page {
    padding: 2.75rem .8rem 5rem;
  }

  .cn-plan-card {
    padding: 1.4rem;
    border-radius: 1.35rem;
  }

  .virtual-page {
    padding: 2.75rem .65rem 5rem;
  }

  .virtual-heading {
    padding-inline: .35rem;
  }

  .virtual-heading h1,
  .raffles-heading h1 {
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .virtual-chat-shell {
    border-radius: 1.45rem;
  }

  .virtual-chat-body {
    min-height: 300px;
  }

  .virtual-composer button {
    width: 100%;
  }

  .raffles-page {
    padding: 2.75rem .65rem 5rem;
  }

  .raffle-section {
    padding: 1rem;
    border-radius: 1.3rem;
  }

  .raffle-gallery-phone,
  .raffle-gallery-mac {
    grid-template-columns: 1fr;
  }

  .raffle-gallery img {
    height: min(78vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cn-cloud-cta a,
  .cn-gallery-grid a,
  .cn-gallery-grid img,
  .cn-plan-button,
  .cn-plan-trial-button,
  .cn-plan-card,
  .raffle-gallery img {
    scroll-behavior: auto;
    transition: none;
  }

  .cn-cloud-cta a:hover,
  .cn-gallery-grid a:hover,
  .cn-gallery-grid a:hover img,
  .cn-plan-button:hover,
  .cn-plan-trial-button:hover,
  .cn-plan-card:hover,
  .raffle-gallery img:hover {
    transform: none;
  }
}

/*
 * Five-tier pricing system.
 *
 * Every tier shares the same quiet, Apple-like structure. Restrained metallic
 * finishes communicate hierarchy without making comparison harder.
 */
.cn-pricing-page {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.cn-pricing-page::before,
.cn-pricing-page::after {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  content: "";
  filter: blur(16px);
  pointer-events: none;
}

.cn-pricing-page::before {
  top: -22rem;
  left: -12rem;
  background: rgb(10 132 255 / 8%);
}

.cn-pricing-page::after {
  top: -24rem;
  right: -11rem;
  background: rgb(255 184 0 / 8%);
}

.cn-pricing-hero {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  margin: 0 auto clamp(2.75rem, 6vw, 4.75rem);
  text-align: center;
}

.cn-pricing-eyebrow {
  display: inline-flex;
  margin: 0 0 .9rem;
  padding: .42rem .82rem;
  border: 1px solid rgb(0 102 204 / 13%);
  border-radius: 999px;
  background: rgb(0 102 204 / 6%);
  color: #075fae;
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.cn-pricing-hero h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.65rem, 7vw, 4.75rem);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: .98;
}

.cn-pricing-lead {
  max-width: 660px;
  margin: 1.15rem auto 0;
  color: #6e6e73;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.58;
}

.cn-pricing-manage-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: .5rem;
  margin-top: 1.15rem;
  padding: .62rem .9rem;
  border: 1px solid rgb(0 102 204 / 13%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 8px 22px rgb(15 23 42 / 6%);
  color: #075fae;
  font-size: .8rem;
  font-weight: 690;
  text-decoration: none;
}

.cn-pricing-manage-link:hover,
.cn-pricing-manage-link:focus-visible {
  border-color: rgb(0 102 204 / 24%);
  background: #fff;
}

.cn-pricing-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  width: min(100%, 1680px);
  gap: 1.25rem;
}

.cn-plan-card {
  --cn-plan-accent: #596271;
  --cn-plan-border: rgb(17 24 39 / 9%);
  --cn-plan-tint: rgb(89 98 113 / 7%);
  isolation: isolate;
  min-height: 0;
  padding: 1.7rem;
  border: 1px solid var(--cn-plan-border);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 95% 0%, var(--cn-plan-tint), transparent 15rem),
    rgb(255 255 255 / 92%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 94%) inset,
    0 18px 44px rgb(15 23 42 / 7%);
}

.cn-plan-card::before {
  z-index: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--cn-plan-accent);
  opacity: .82;
}

.cn-plan-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgb(255 255 255 / 42%), transparent 38%);
  content: "";
  pointer-events: none;
}

.cn-plan-content,
.cn-plan-form,
.cn-plan-card > .cn-plan-button {
  position: relative;
  z-index: 2;
}

.cn-plan-tier {
  align-self: flex-start;
  margin: 0 0 1.15rem;
  padding: .34rem .68rem;
  border: 1px solid var(--cn-plan-border);
  border-radius: 999px;
  background: rgb(255 255 255 / 68%);
  color: var(--cn-plan-accent);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.cn-plan-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.2rem;
  padding: .72rem;
  border: 1px solid var(--cn-plan-border);
  border-radius: 1.05rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 55%)),
    var(--cn-plan-tint);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 90%) inset,
    0 10px 24px rgb(15 23 42 / 8%);
}

.cn-plan-card h2 {
  min-height: 2.25em;
  margin-bottom: .45rem;
  font-size: clamp(1.35rem, 2vw, 1.62rem);
}

.cn-plan-subtitle {
  min-height: 4.5em;
  margin-bottom: 1.15rem;
  font-size: .92rem;
}

.cn-plan-price {
  min-height: 4.7rem;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 1.55rem;
}

.cn-plan-price strong {
  font-size: clamp(2.85rem, 4vw, 3.75rem);
}

.cn-plan-price span {
  max-width: 5.7rem;
  margin: 0 0 .35rem .45rem;
  font-size: .72rem;
  font-weight: 620;
  line-height: 1.25;
}

.cn-plan-card ul {
  gap: .72rem;
  margin-bottom: 1.75rem;
  font-size: .88rem;
}

.cn-plan-card li::before {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  margin-top: .05rem;
  border-radius: 50%;
  background: var(--cn-plan-tint);
  font-size: .7rem;
}

.cn-plan-form {
  gap: .8rem;
}

.cn-plan-checkout-options {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: auto;
  gap: .55rem;
}

.cn-plan-recurring-form {
  margin-top: 0;
}

.cn-plan-trial-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  place-content: center;
  gap: .12rem;
  padding: .7rem 1rem;
  border: 1px solid color-mix(in srgb, var(--cn-plan-accent) 38%, #d2d2d7);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cn-plan-tint) 68%, #fff);
  color: #1d1d1f;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.cn-plan-trial-button strong {
  font-size: .88rem;
  font-weight: 760;
}

.cn-plan-trial-button small {
  color: #6e6e73;
  font-size: .67rem;
  font-weight: 560;
}

.cn-plan-trial-button:hover {
  border-color: var(--cn-plan-accent);
  background: #fff;
  transform: translateY(-1px);
}

.cn-plan-trial-button:focus-visible {
  outline: 3px solid rgb(0 102 204 / 24%);
  outline-offset: 3px;
}

.cn-plan-choice {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .08rem 0;
  color: #86868b;
  font-size: .65rem;
  text-align: center;
}

.cn-plan-choice::before,
.cn-plan-choice::after {
  height: 1px;
  flex: 1;
  background: var(--cn-plan-border);
  content: "";
}

.cn-plan-recurring-button {
  min-height: 60px;
  flex-direction: column;
  gap: .14rem;
  border: 1px solid rgb(255 255 255 / 26%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 24%) inset,
    0 12px 26px color-mix(in srgb, var(--cn-plan-accent) 25%, transparent);
  line-height: 1.2;
}

.cn-plan-recurring-button strong {
  font-size: .9rem;
  font-weight: 760;
  letter-spacing: -.01em;
}

.cn-plan-recurring-button small {
  color: currentColor;
  font-size: .68rem;
  font-weight: 560;
  opacity: .82;
}

.cn-plan-fixed-details {
  overflow: hidden;
  border: 1px solid var(--cn-plan-border);
  border-radius: 1rem;
  background: rgb(255 255 255 / 62%);
  transition: background-color .18s ease, box-shadow .18s ease;
}

.cn-plan-fixed-details[open] {
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 9px 24px rgb(15 23 42 / 7%);
}

.cn-plan-fixed-trigger {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .62rem .8rem;
  color: #1d1d1f;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.cn-plan-fixed-trigger::-webkit-details-marker {
  display: none;
}

.cn-plan-fixed-trigger > span {
  display: grid;
  min-width: 0;
  gap: .1rem;
}

.cn-plan-fixed-trigger strong {
  color: #1d1d1f;
  font-size: .82rem;
  font-weight: 720;
}

.cn-plan-fixed-trigger small {
  color: #6e6e73;
  font-size: .68rem;
  line-height: 1.3;
}

.cn-plan-fixed-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cn-plan-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .18s ease;
}

.cn-plan-fixed-details[open] .cn-plan-fixed-trigger svg {
  transform: rotate(180deg);
}

.cn-plan-fixed-trigger:hover {
  background: var(--cn-plan-tint);
}

.cn-pricing-grid {
  align-items: start;
}

.cn-plan-fixed-dialog-trigger {
  width: 100%;
  border: 1px solid var(--cn-plan-border);
  border-radius: 1rem;
  background: rgb(255 255 255 / 62%);
  font: inherit;
  text-align: left;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cn-plan-fixed-dialog-trigger:hover {
  box-shadow: 0 9px 24px rgb(15 23 42 / 7%);
  transform: translateY(-1px);
}

.cn-plan-fixed-dialog-trigger:focus-visible {
  outline: 3px solid rgb(0 113 227 / 28%);
  outline-offset: 3px;
}

.cn-plan-fixed-form {
  margin-top: 0;
  padding: .75rem;
  border-top: 1px solid var(--cn-plan-border);
}

.cn-plan-form select {
  min-height: 46px;
  padding-right: 2.25rem;
  border-color: var(--cn-plan-border);
  background-color: rgb(255 255 255 / 88%);
  font-size: .8rem;
}

.cn-fixed-period-dialog {
  width: min(calc(100% - 2rem), 480px);
  max-height: min(720px, calc(100dvh - 2rem));
  padding: 0;
  overflow: auto;
  border: 1px solid rgb(15 23 42 / 12%);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 30px 90px rgb(15 23 42 / 28%);
  color: #1d1d1f;
}

.cn-fixed-period-dialog::backdrop {
  background: rgb(15 23 42 / 46%);
  backdrop-filter: blur(7px);
}

.cn-fixed-period-close-form {
  position: sticky;
  z-index: 2;
  top: .8rem;
  height: 0;
  margin: 0;
  text-align: right;
}

.cn-fixed-period-close-form button {
  width: 38px;
  height: 38px;
  margin-right: .8rem;
  border: 0;
  border-radius: 999px;
  background: #f0f0f2;
  color: #424245;
  cursor: pointer;
  font: 600 1.45rem/1 system-ui, sans-serif;
}

.cn-fixed-period-heading {
  padding: 2rem 2rem 1.25rem;
  background: linear-gradient(145deg, #f5f9ff, #fff);
}

.cn-fixed-period-heading :is(p, h2, span) { margin: 0; }
.cn-fixed-period-heading p { color: #0066cc; font-size: .72rem; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.cn-fixed-period-heading h2 { margin-top: .35rem; font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -.035em; }
.cn-fixed-period-heading span { display: block; margin-top: .3rem; color: #6e6e73; }

.cn-fixed-period-form {
  gap: 1rem;
  padding: 1.4rem 2rem 2rem;
  border: 0;
}

.cn-fixed-period-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f5f5f7;
}

.cn-fixed-period-total span { color: #6e6e73; font-size: .8rem; }
.cn-fixed-period-total strong { font-size: 1.25rem; letter-spacing: -.025em; }
.cn-fixed-period-form > small { color: #6e6e73; font-size: .72rem; line-height: 1.45; text-align: center; }

@media (max-width: 520px) {
  .cn-fixed-period-dialog { width: calc(100% - 1rem); border-radius: 1.25rem; }
  .cn-fixed-period-heading { padding: 1.65rem 1.25rem 1rem; }
  .cn-fixed-period-form { padding: 1.1rem 1.25rem 1.5rem; }
}

.cn-plan-button {
  min-height: 48px;
  padding-inline: .9rem;
  border: 1px solid transparent;
  font-size: .84rem;
}

.cn-plan-free {
  --cn-plan-accent: #596271;
  --cn-plan-border: rgb(89 98 113 / 18%);
  --cn-plan-tint: rgb(89 98 113 / 8%);
}

.cn-plan-copper {
  --cn-plan-accent: #a85d35;
  --cn-plan-border: rgb(168 93 53 / 27%);
  --cn-plan-tint: rgb(196 122 77 / 13%);
  background:
    radial-gradient(circle at 100% 0%, rgb(196 122 77 / 19%), transparent 16rem),
    linear-gradient(155deg, rgb(255 255 255 / 96%), rgb(255 247 241 / 94%));
}

.cn-plan-silver {
  --cn-plan-accent: #245eb3;
  --cn-plan-border: rgb(36 94 179 / 25%);
  --cn-plan-tint: rgb(64 123 211 / 13%);
  background:
    radial-gradient(circle at 100% 0%, rgb(73 132 221 / 18%), transparent 16rem),
    linear-gradient(155deg, rgb(255 255 255 / 97%), rgb(242 247 255 / 95%));
}

.cn-plan-gold {
  --cn-plan-accent: #a87300;
  --cn-plan-border: rgb(191 139 20 / 42%);
  --cn-plan-tint: rgb(245 190 52 / 17%);
  border-width: 2px;
  background:
    radial-gradient(circle at 100% 0%, rgb(251 191 36 / 24%), transparent 17rem),
    linear-gradient(155deg, rgb(255 255 255 / 98%), rgb(255 251 231 / 96%));
  box-shadow:
    0 1px 0 rgb(255 255 255 / 96%) inset,
    0 20px 54px rgb(166 112 0 / 15%),
    0 0 0 1px rgb(255 234 168 / 34%);
}

.cn-plan-gold::before {
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #f9d976, #fbbf24);
  opacity: 1;
}

.cn-plan-gold::after {
  inset: -35% auto -35% -55%;
  width: 42%;
  border-radius: 0;
  background: linear-gradient(
    115deg,
    transparent,
    rgb(255 255 255 / 72%),
    transparent
  );
  transform: skewX(-16deg);
  animation: cn-plan-gold-sheen 5.5s ease-in-out infinite;
}

.cn-plan-practice {
  --cn-plan-accent: #0d7f8a;
  --cn-plan-border: rgb(13 127 138 / 25%);
  --cn-plan-tint: rgb(14 165 164 / 12%);
  background:
    radial-gradient(circle at 100% 0%, rgb(34 211 238 / 15%), transparent 17rem),
    linear-gradient(155deg, rgb(255 255 255 / 97%), rgb(241 251 252 / 95%));
}

.cn-plan-badge {
  position: absolute;
  z-index: 4;
  top: 1.15rem;
  right: 1.15rem;
  padding: .38rem .68rem;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 999px;
  background: linear-gradient(135deg, #f9d976, #f5b61b);
  box-shadow: 0 7px 18px rgb(166 112 0 / 20%);
  color: #513700;
  font-size: .65rem;
  font-weight: 760;
  letter-spacing: .025em;
}

.cn-button-copper {
  background: linear-gradient(135deg, #b9683d, #96502d);
  box-shadow: 0 10px 22px rgb(150 80 45 / 20%);
}

.cn-button-copper:hover,
.cn-button-copper:focus-visible {
  background: linear-gradient(135deg, #aa5c34, #874527);
}

.cn-button-silver {
  background: linear-gradient(135deg, #3977d1, #173d82);
  box-shadow: 0 10px 22px rgb(31 78 151 / 22%);
}

.cn-button-silver:hover,
.cn-button-silver:focus-visible {
  background: linear-gradient(135deg, #2f69bd, #12336f);
}

.cn-button-gold {
  border-color: rgb(169 115 0 / 18%);
  background: linear-gradient(135deg, #f9d976, #f5b61b);
  box-shadow: 0 11px 24px rgb(191 139 20 / 25%);
  color: #493200;
}

.cn-button-gold:hover,
.cn-button-gold:focus-visible {
  background: linear-gradient(135deg, #f6ce5c, #eba90c);
}

.cn-button-practice {
  background: linear-gradient(135deg, #0f8f96, #0e718b);
}

.cn-button-practice:hover,
.cn-button-practice:focus-visible {
  background: linear-gradient(135deg, #0d8088, #0c657d);
}

.cn-pricing-footnote {
  position: relative;
  z-index: 1;
  margin: 2rem auto 0;
  color: #6e6e73;
  font-size: .78rem;
  text-align: center;
}

@keyframes cn-plan-gold-sheen {
  0%,
  62% {
    opacity: 0;
    transform: translateX(0) skewX(-16deg);
  }

  72% {
    opacity: .65;
  }

  88% {
    opacity: .12;
    transform: translateX(430%) skewX(-16deg);
  }

  100% {
    opacity: 0;
    transform: translateX(430%) skewX(-16deg);
  }
}

@media (max-width: 760px) {
  .cn-pricing-page {
    padding: 3rem .85rem 5.5rem;
  }

  .cn-pricing-hero {
    margin-bottom: 2.75rem;
  }

  .cn-pricing-grid {
    width: min(100%, 580px);
    grid-template-columns: 1fr;
  }

  .cn-plan-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .cn-plan-card h2,
  .cn-plan-subtitle {
    min-height: 0;
  }

  .cn-plan-price {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .cn-pricing-page {
    padding-inline: .65rem;
  }

  .cn-pricing-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.2rem);
  }

  .cn-pricing-hero > p:last-child {
    font-size: .96rem;
  }

  .cn-plan-card {
    padding: 1.3rem;
    border-radius: 1.4rem;
  }

  .cn-plan-badge {
    top: .95rem;
    right: .95rem;
    max-width: 8rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cn-plan-gold::after {
    animation: none;
    opacity: 0;
  }

  .cn-plan-fixed-details,
  .cn-plan-fixed-trigger svg {
    transition: none;
  }
}

/*
 * Consultorio product gallery.
 *
 * The captures are presented as complete application screens. On small
 * viewports they become one horizontal, snap-scrolling row so the landing
 * page stays compact.
 */
.cn-app-showcase {
  min-width: 0;
  padding-block: clamp(1rem, 3vw, 2.5rem);
}

.cn-showcase-heading {
  width: min(100%, 720px);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.cn-showcase-eyebrow {
  display: inline-flex;
  margin: 0 0 .8rem;
  padding: .42rem .78rem;
  border: 1px solid rgb(8 127 140 / 15%);
  border-radius: 999px;
  background: rgb(255 255 255 / 58%);
  color: #087681;
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.cn-app-showcase .cn-showcase-heading h2 {
  margin: 0;
  color: #15383d;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.cn-showcase-heading > p:last-child {
  max-width: 650px;
  margin: 1rem auto 0;
  color: #4c6267;
  font-size: clamp(.98rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.cn-gallery-mobile-hint {
  display: none;
}

.cn-app-showcase .cn-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cn-gallery-card {
  overflow: hidden;
  margin: 0;
  padding: .55rem .55rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 1.75rem;
  background: rgb(255 255 255 / 76%);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 95%) inset,
    0 20px 50px rgb(20 83 101 / 12%);
  backdrop-filter: blur(18px) saturate(125%);
  transition: box-shadow .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.cn-gallery-card-featured {
  grid-column: 1 / -1;
}

.cn-gallery-card:hover {
  box-shadow:
    0 1px 0 rgb(255 255 255 / 95%) inset,
    0 28px 65px rgb(20 83 101 / 17%);
  transform: translateY(-4px);
}

.cn-app-showcase .cn-gallery-trigger {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 1.25rem;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  transform: none;
}

.cn-app-showcase .cn-gallery-trigger:hover,
.cn-app-showcase .cn-gallery-trigger:focus-visible {
  box-shadow: none;
  transform: none;
}

.cn-gallery-frame {
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 16 / 10;
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: 1.2rem;
  background: #e8edf0;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 85%) inset,
    0 9px 25px rgb(15 23 42 / 10%);
}

.cn-gallery-chrome {
  position: relative;
  display: block;
  border-bottom: 1px solid rgb(15 23 42 / 8%);
  background: linear-gradient(#fafafa, #f0f1f2);
}

.cn-gallery-chrome::before {
  position: absolute;
  top: 50%;
  left: .72rem;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: .72rem 0 #febc2e, 1.44rem 0 #28c840;
  content: "";
  transform: translateY(-50%);
}

.cn-gallery-chrome::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(38%, 13rem);
  height: .48rem;
  border-radius: 999px;
  background: rgb(15 23 42 / 7%);
  content: "";
  transform: translate(-50%, -50%);
}

.cn-gallery-viewport {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  background: #f5f7f8;
}

.cn-app-showcase .cn-gallery-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: filter .28s ease;
}

.cn-app-showcase .cn-gallery-trigger:hover img,
.cn-app-showcase .cn-gallery-trigger:focus-visible img {
  filter: saturate(105%) contrast(101%);
  transform: none;
}

.cn-gallery-expand {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: .38rem;
  padding: .35rem .62rem;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 999px;
  background: rgb(20 31 36 / 72%);
  box-shadow: 0 6px 18px rgb(15 23 42 / 18%);
  color: #fff;
  font-size: .7rem;
  font-weight: 680;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(10px);
}

.cn-gallery-expand svg {
  width: .9rem;
  height: .9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.cn-gallery-trigger:hover .cn-gallery-expand,
.cn-gallery-trigger:focus-visible .cn-gallery-expand {
  opacity: 1;
  transform: translateY(0);
}

.cn-gallery-card figcaption {
  display: grid;
  gap: .3rem;
  padding: 1rem .85rem 0;
}

.cn-gallery-card figcaption strong {
  color: #19363a;
  font-size: 1.02rem;
  font-weight: 720;
  letter-spacing: -.015em;
}

.cn-gallery-card figcaption span {
  color: #5b6c70;
  font-size: .88rem;
  line-height: 1.5;
}

.cn-gallery-dialog {
  width: min(96vw, 1500px);
  max-width: none;
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 1.5rem;
  background: #f5f5f7;
  box-shadow: 0 35px 100px rgb(2 18 27 / 36%);
  color: #1d1d1f;
}

.cn-gallery-dialog[open] {
  animation: cn-gallery-dialog-in .22s cubic-bezier(.2, .8, .2, 1);
}

.cn-gallery-dialog::backdrop {
  background: rgb(8 23 31 / 68%);
  backdrop-filter: blur(14px) saturate(80%);
}

.cn-gallery-dialog-shell {
  display: grid;
  max-height: 94dvh;
  grid-template-rows: auto minmax(0, 1fr);
}

.cn-gallery-dialog header {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .7rem .65rem 1.25rem;
  border-bottom: 1px solid rgb(15 23 42 / 9%);
  background: rgb(255 255 255 / 82%);
}

.cn-gallery-dialog header p {
  margin: 0;
  overflow: hidden;
  color: #29292c;
  font-size: .92rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cn-gallery-dialog button {
  display: inline-flex;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: #3a3a3c;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.cn-gallery-dialog button:hover {
  background: #dcdce1;
  transform: scale(1.04);
}

.cn-gallery-dialog button:focus-visible {
  outline: 3px solid rgb(0 122 255 / 38%);
  outline-offset: 2px;
}

.cn-gallery-dialog button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.cn-gallery-dialog-image {
  display: flex;
  overflow: auto;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(.5rem, 1.6vw, 1.25rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(255 255 255 / 82%), transparent 44rem),
    #e9ecef;
}

.cn-gallery-dialog-image img {
  display: block;
  max-width: 100%;
  max-height: calc(94dvh - 6.25rem);
  width: auto;
  height: auto;
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: .7rem;
  box-shadow: 0 16px 45px rgb(15 23 42 / 16%);
  object-fit: contain;
}

@keyframes cn-gallery-dialog-in {
  from {
    opacity: 0;
    transform: scale(.97) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 760px) {
  .cn-showcase-heading {
    margin-bottom: 1.35rem;
    padding-inline: .5rem;
  }

  .cn-showcase-heading > p:last-child {
    font-size: .95rem;
    line-height: 1.58;
  }

  .cn-gallery-mobile-hint {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .2rem;
    margin: 0 0 .75rem auto;
    color: #49666b;
    font-size: .76rem;
    font-weight: 650;
  }

  .cn-gallery-mobile-hint svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .cn-app-showcase .cn-gallery-grid {
    display: grid;
    overflow-x: auto;
    grid-auto-columns: min(86vw, 34rem);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: .9rem;
    margin-inline: -1rem;
    padding: .35rem 1rem 1.35rem;
    scroll-padding-inline: 1rem;
    scroll-snap-type: inline mandatory;
    scrollbar-color: rgb(8 127 140 / 34%) transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .cn-gallery-card,
  .cn-gallery-card-featured {
    grid-column: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .cn-gallery-card {
    border-radius: 1.35rem;
  }

  .cn-gallery-card:hover {
    transform: none;
  }

  .cn-gallery-frame {
    border-radius: 1rem;
  }

  .cn-gallery-expand {
    display: none;
  }

  .cn-gallery-dialog {
    width: calc(100vw - 1rem);
    max-height: 92dvh;
    border-radius: 1.2rem;
  }

  .cn-gallery-dialog-shell {
    max-height: 92dvh;
  }

  .cn-gallery-dialog-image {
    padding: .45rem;
  }

  .cn-gallery-dialog-image img {
    max-height: calc(92dvh - 4.7rem);
    border-radius: .55rem;
  }
}

@media (max-width: 420px) {
  .cn-app-showcase .cn-gallery-grid {
    grid-auto-columns: calc(100vw - 2.75rem);
  }

  .cn-gallery-card {
    padding: .42rem .42rem 1rem;
  }

  .cn-gallery-card figcaption {
    padding: .85rem .65rem 0;
  }

  .cn-gallery-chrome::after {
    width: 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cn-gallery-card,
  .cn-gallery-expand,
  .cn-gallery-dialog[open],
  .cn-gallery-dialog button,
  .cn-app-showcase .cn-gallery-viewport img {
    animation: none;
    scroll-behavior: auto;
    transition: none;
  }
}

/* Sorteos: premios completos, ampliación accesible y participantes públicos. */
.raffle-gallery-trigger {
  position: relative;
  display: block;
  height: clamp(205px, 22vw, 275px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 1.25rem;
  background: #101114;
  box-shadow: 0 14px 35px rgb(15 23 42 / 11%);
  color: #fff;
  text-decoration: none;
  transition: box-shadow .22s ease, transform .22s ease;
}

.raffle-gallery .raffle-gallery-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #101114;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: filter .22s ease;
}

.raffle-gallery-trigger > span {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: .4rem .65rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(17 24 39 / 70%);
  box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
  color: #fff;
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .015em;
  backdrop-filter: blur(12px);
}

.raffle-gallery-trigger:hover,
.raffle-gallery-trigger:focus-visible {
  box-shadow: 0 20px 45px rgb(15 23 42 / 17%);
  transform: translateY(-2px);
}

.raffle-gallery-trigger:hover img {
  filter: brightness(1.04);
  transform: none;
}

.raffle-gallery-trigger:focus-visible {
  outline: 3px solid rgb(0 122 255 / 38%);
  outline-offset: 3px;
}

.raffle-participants {
  margin-top: 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgb(17 24 39 / 8%);
  border-radius: 1.35rem;
  background: #f8f8fa;
}

.raffle-participants-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.raffle-participants-heading p,
.raffle-participants-heading h3 {
  margin: 0;
}

.raffle-participants-heading p {
  margin-bottom: .2rem;
  color: #6e6e73;
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.raffle-participants-heading h3 {
  color: #1d1d1f;
  font-size: 1rem;
  letter-spacing: -.015em;
}

.raffle-participants-heading > span {
  flex: 0 0 auto;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: #fff;
  color: #515154;
  font-size: .75rem;
  font-weight: 680;
}

.raffle-participant-list {
  display: grid;
  max-height: 24rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: .65rem;
  margin: 1rem 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  scrollbar-color: rgb(0 102 204 / 24%) transparent;
  scrollbar-width: thin;
}

.raffle-participant-list li {
  display: grid;
  min-width: 0;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: .05rem .65rem;
  align-items: center;
  padding: .7rem;
  border: 1px solid rgb(17 24 39 / 7%);
  border-radius: 1rem;
  background: #fff;
}

.raffle-participant-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: .8rem;
  background: rgb(0 122 255 / 8%);
  color: #0674d8;
}

.raffle-participant-icon svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.raffle-participant-list strong {
  min-width: 0;
  overflow: hidden;
  color: #1d1d1f;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raffle-participant-list li > span:last-child {
  color: #6e6e73;
  font-size: .72rem;
}

.raffle-participants-empty {
  margin: 1rem 0 0;
  color: #6e6e73;
  font-size: .85rem;
}

@media (max-width: 760px) {
  .raffle-gallery-trigger {
    height: clamp(190px, 52vw, 320px);
  }
}

@media (max-width: 520px) {
  .raffle-gallery-trigger {
    height: min(78vw, 300px);
  }

  .raffle-participants-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
  }

  .raffle-participant-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .raffle-gallery-trigger,
  .raffle-gallery-trigger img {
    transition: none;
  }

  .raffle-gallery-trigger:hover,
  .raffle-gallery-trigger:focus-visible {
    transform: none;
  }
}
