/* Pricing page */
.price-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: clamp(480px, calc(72svh - 68px), 600px);
  padding: 48px 0;
}
.price-hero__msg {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}
.price-hero__msg .lead {
  max-width: 480px;
}

/* Hero art: authored on a 720x379 stage, scaled to column width by js/pricing.js */
.art {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  aspect-ratio: 530 / 340;
}
.art__stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 720px;
  height: 379px;
  transform-origin: 0 0;
}
.ico-p2 {
  stroke: currentColor;
}
.t-box .ico-p2 {
  color: var(--brand);
}
.glow {
  position: absolute;
  left: 150px;
  top: 30px;
  width: 520px;
  height: 330px;
  background: radial-gradient(
    ellipse 230px 150px at 330px 190px,
    var(--dk-bg-a096ff59, rgba(160, 150, 255, 0.35)),
    var(--dk-bg-93c5fd38, rgba(147, 197, 253, 0.22)) 50%,
    var(--dk-bg-ffffff00, rgba(255, 255, 255, 0)) 100%
  );
}
.dots {
  position: absolute;
  left: 40px;
  top: 45px;
  width: 105px;
  height: 85px;
  background-image: radial-gradient(var(--dk-bg-9fb2d6, #9fb2d6) 1px, transparent 1.4px);
  background-size: 20px 20px;
  opacity: 0.55;
}
.art-list {
  position: absolute;
  left: 52px;
  top: 100px;
  width: 84px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--dk-bg-ffffff, #fff);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--dk-sh-3050a026, rgba(48, 80, 160, 0.15));
  transform: rotate(11deg) skewX(-3deg);
  font-size: 7px;
  line-height: 11px;
  color: var(--dk-fg-344054, #344054);
  font-weight: 500;
  height: 140px;
}
.art-board {
  position: absolute;
  left: 152px;
  top: 166px;
  width: 260px;
  height: 164px;
  padding: 14px;
  background: var(--dk-bg-ffffff, #fff);
  border-radius: 14px;
  box-shadow: 0 18px 40px var(--dk-sh-3050c833, rgba(48, 80, 200, 0.2));
  transform: rotate(17deg) skewX(-11deg) translateY(0);
}
.art-board__brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 600;
  color: var(--dk-fg-101828, #101828);
  margin-bottom: 10px;
}
.art-board__brand img {
  display: block;
  height: 11px;
  width: auto;
}
.art-board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.art-board__grid b {
  height: 30px;
  border-radius: 5px;
  background: var(--dk-bg-e0e7ff, #e0e7ff);
}
.art-board__grid .c2,
.art-board__grid .c6 {
  background: var(--dk-bg-2f6bf0, #2f6bf0);
}
.art-board__grid .c3 {
  background: var(--dk-bg-6d8cf5, #6d8cf5);
}
.art-board__grid .c5 {
  background: var(--dk-bg-7c8ff5, #7c8ff5);
}
.art-board__grid .c8 {
  background: var(--dk-bg-2f6bf0, #2f6bf0);
}
.art-board__grid .c1,
.art-board__grid .c4 {
  background: var(--dk-bg-e4e9fb, #e4e9fb);
}
.art-tile {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dk-bg-ffffff, #fff);
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--dk-sh-3050c829, rgba(48, 80, 200, 0.16));
}
.t-figma {
  left: 174px;
  top: 98px;
  width: 62px;
  height: 62px;
  transform: rotate(-8deg);
}
.t-box {
  left: 326px;
  top: 105px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  transform: rotate(11deg);
}
.t-aa {
  left: 442px;
  top: 127px;
  width: 66px;
  height: 62px;
  transform: rotate(-9deg);
}
.t-aa span {
  font-size: 26px;
  font-weight: 700;
  color: var(--dk-fg-6d28d9, #6d28d9);
}
.t-code {
  left: 475px;
  top: 240px;
  width: 70px;
  height: 70px;
  transform: rotate(9deg);
}
.t-code img {
  filter: invert(32%) sepia(90%) saturate(2400%) hue-rotate(215deg);
}
.art-aa {
  position: absolute;
  left: 275px;
  top: 142px;
  font-size: 10px;
  font-weight: 600;
  color: var(--dk-fg-6d28d9, #6d28d9);
}
.art-tile {
  animation: floaty 7s ease-in-out infinite;
}
.t-box {
  animation-delay: 1s;
}
.t-aa {
  animation-delay: 2s;
}
.t-code {
  animation-delay: 3s;
}

.sec-plans {
  padding: 24px 0 8px;
}
.sec-plans .plans {
  margin-top: 24px;
}

/* Comparison table */
.compare-wrap {
  margin-top: 56px;
}
.cmp-scroll {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  background: var(--dk-bg-ffffff, #fff);
  box-shadow: var(--card-shadow);
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}
.cmp th,
.cmp td {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
  color: var(--ink-2);
  font-weight: 400;
  padding: 0;
  height: 44px;
  transition: background-color var(--t-fast) var(--ease);
}
.cmp tbody tr:last-child > * {
  border-bottom: 0;
}
.cmp thead th {
  height: 84px;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  vertical-align: middle;
}
.cmp thead th .mtile {
  margin: 0 auto 6px;
}
.cmp thead th.cmp__title,
.cmp tbody th {
  border-left: 0;
  text-align: left;
  width: 34%;
}
.cmp__title {
  padding: 0 20px !important;
  vertical-align: middle;
}
.cmp__title h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
}
.cmp__title p {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 2px;
}
.mtile {
  display: flex;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}
.mtile--green {
  background: var(--dk-bg-e6f7ef, #e6f7ef);
  color: var(--dk-fg-12b76a, #12b76a);
}
.mtile--indigo {
  background: var(--dk-bg-ebe9fe, #ebe9fe);
  color: var(--dk-fg-4f46e5, #4f46e5);
}
.mtile--purple {
  background: var(--dk-bg-f3e8ff, #f3e8ff);
  color: var(--dk-fg-7c3aed, #7c3aed);
}
.cmp tbody th {
  padding: 0 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  position: sticky;
  left: 0;
  background: var(--dk-bg-ffffff, #fff);
  z-index: 1;
}
.cmp tbody th svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  color: var(--ink-2);
}
.cmp tbody tr:hover > *,
.cmp tbody tr:hover > th {
  background: var(--dk-bg-f8faff, #f8faff);
}
.cmp td svg.yes {
  display: inline-block;
  vertical-align: middle;
  color: var(--ink-2);
}
.cmp td.no {
  color: var(--dk-fg-98a2b3, #98a2b3);
}
.cmp td {
  font-size: 12px;
}

/* FAQ: intro on the left, accordion on the right */
.faq {
  padding: 72px 0 88px;
}
.faq__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.faq .lead {
  font-size: 15px;
  line-height: 24px;
}
.faq__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}
.faq__more:hover {
  text-decoration: underline;
}
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: var(--brand);
}
.qa summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}
.qa__ico {
  flex: none;
  font-size: 18px;
  color: var(--ink-3, var(--dk-fg-667085, #667085));
  transition: transform var(--t-med) var(--ease);
}
.qa[open] .qa__ico {
  transform: rotate(180deg);
}
.qa p {
  max-width: 640px;
  padding: 0 32px 20px 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .price-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .art {
    margin: 0 auto;
  }
  .faq__in {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq__intro {
    position: static;
  }
  .faq {
    padding: 44px 0 56px;
  }
  .compare-wrap {
    margin-top: 40px;
  }
}
