/* 1. Theme: change colors and spacing here. */
:root {
  color-scheme: light;
  --page: #f7f8fe;
  --ink: #101522;
  --muted: #717687;
  --purple: #5142e8;
  --purple-light: #efedff;
  --blue: #287bf0;
  --border: #e7e8ef;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 36%, #fff 0, transparent 65%), var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* All redesigned styles are scoped to the pricing content. */
.pricing { width: min(1240px, calc(100% - 64px)); margin-inline: auto; padding: 106px 0 80px; font-family: var(--font-body); }
.pricing__header { text-align: center; margin: 0 auto 58px; }
.pricing .eyebrow { display: inline-block; padding: 5px 20px; border-radius: 999px; background: #eeebfc; color: #5644aa; font-size: 14px; font-weight: 600; }
.pricing h1 { margin: 20px 0; font-size: clamp(32px, 3.7vw, 48px); line-height: 1.12; font-weight: 800; letter-spacing: -.045em; }
.pricing h1 span { color: #287bf0; }
.pricing__header > p { color: #85878d; font-size: 16px; line-height: 1.75; }
.pricing__header strong { color: #2986c5; font-weight: 600; }
.pricing__benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 14px; font-weight: 600; }
.pricing .plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pricing .plan { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 26px 18px 16px; background: #ffffffb3; border: 1px solid #e7e8ef; border-radius: 16px; box-shadow: 0 3px 8px #1b214003; }
.pricing .plan__discount-slot { min-height: 27px; }
.pricing .plan__discount { display: inline-block; padding: 2px 12px; background: #fa5971; color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.pricing .plan__trial { padding: 2px 8px; border-radius: 999px; background: #f2effb; color: #6653ac; font-size: 12px; font-weight: 600; }
.pricing .plan h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 800; letter-spacing: -.035em; }
.pricing .plan__intro p { color: #85878d; font-size: 14px; line-height: 1.55; }
.pricing .plan__intro p span { color: #287bf0; }
.pricing .plan__intro .plan__description { margin-top: 12px; color: #202631; }
.pricing .plan__details { padding-top: 50px; }
.pricing .coin { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 13px; background: #f1eefb; color: #7965bc; }
.pricing .plan__price { margin: 0 0 3px; font-family: var(--font-heading); font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -.04em; }
.pricing .plan__unit { margin: 0 0 18px; color: #85878d; font-size: 14px; }
.pricing .button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 8px; border: 1px solid #b9b5c7; border-radius: 9px; color: #5140a5; background: transparent; font-size: 13px; font-weight: 700; text-align: center; transition: background .18s; }
.pricing :is(.button, summary):focus-visible { outline: 3px solid #287bf0; outline-offset: 4px; }
.pricing .plan--featured { margin-block: -20px -6px; padding-top: 46px; padding-bottom: 22px; border-color: #b5aaca; background: linear-gradient(135deg, #fff, #f4f2ff); box-shadow: 0 6px 30px #5142e812; }
.pricing .plan__recommendation { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: calc(100% - 12px); padding: 5px 13px; border: 1px solid #5142e8; border-radius: 999px; background: #5142e8; color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 4px 15px #5142e82b; }
.pricing .plan__recommendation .icon { width: 15px; height: 15px; }
.pricing .plan__recommendation--popular { background: #fff; color: #5140a5; border-color: #ccc7d7; box-shadow: none; }
.pricing .button--primary { color: #fff; border-color: #6250ef; background: linear-gradient(120deg, #6853ec, #4c32dd); }
.pricing .notice { display: flex; align-items: flex-start; gap: 16px; margin-top: 36px; padding: 20px; border-radius: 14px; background: #eeecfc; }
.pricing .notice__icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #e5e0fc; border-radius: 10px; color: #7965bc; }
.pricing .notice h2 { margin: 0 0 5px; font-size: 16px; line-height: 1.4; }
.pricing .notice p { color: #85878d; font-size: 14px; line-height: 1.65; }
.pricing .notice strong { color: #202631; font-weight: 700; }
.pricing-faq { max-width: 760px; margin: 90px auto 54px; }
.pricing-faq > h2 { margin-bottom: 20px; text-align: center; font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.pricing-faq details { margin-top: 10px; padding: 14px 18px; border: 1px solid #e7e8ef; border-radius: 16px; background: #ffffffb3; }
.pricing-faq summary { font-size: 16px; font-weight: 700; cursor: pointer; }
.pricing-faq details p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: #85878d; }
.pricing-cta { padding: 36px 24px; border: 1px solid #e4e1ed; border-radius: 16px; text-align: center; background: linear-gradient(120deg, #ffffffa6, #f5f1ffb3); }
.pricing-cta h2 { font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.pricing-cta p { margin-top: 16px; color: #85878d; font-size: 16px; }
.pricing-cta__actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.pricing-cta__actions .button { width: auto; min-width: 182px; padding-inline: 20px; }
.pricing-cta__actions .button:hover { background-color: #4c32dd;}
.pricing-cta__actions .button:hover { background-color: #fff; }
@media (max-width: 959px) {
  .pricing .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .pricing .plan--featured { margin: 0; padding-top: 26px; padding-bottom: 16px; }
}
@media (max-width: 699px) {
  .pricing { width: calc(100% - 40px); padding-top: 100px; padding-bottom: 48px; }
  .pricing .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing .plan:last-child { grid-column: 1 / -1; }
  .pricing-faq { margin-top: 56px; }
  .pricing-cta__actions { flex-wrap: wrap; }
}
@media (max-width: 439px) {
  .pricing { width: calc(100% - 32px); }
  .pricing h1 { font-size: clamp(28px, 8vw, 35px); }
  .pricing__header { margin-bottom: 36px; }
  .pricing__benefits { flex-direction: column; font-size: 12px; }
  .pricing .plans { grid-template-columns: minmax(0, 1fr); }
  .pricing .plan { padding: 30px 20px 20px; }
  .pricing .plan__details { padding-top: 24px; }
  .pricing .notice { gap: 12px; padding: 16px; }
  .pricing .notice__icon { flex-basis: 32px; height: 32px; }
  .pricing-cta h2, .pricing-faq > h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .pricing * { transition: none !important; } }
