/* Pricing — page-specific layout. Values from Figma frame "Notate — Pricing" (10268:46742, 1440 wide). */

/* ---------- Simple hero (same pattern as Resources / Contact) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 512px;
  display: grid;
  align-items: center;
  padding: 72px 0;
  background: linear-gradient(165.07deg, #fffaf0 7.14%, #f9ece8 39.29%, #f3e7e4 78.57%);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: phIn 1.6s var(--ease-out) both; }
@keyframes phIn { from { opacity: 0; transform: scale(1.05); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.page-hero__copy { width: min(760px, 100%); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.page-hero .lead { font-size: 18px; }
#pricing-title { max-width: 13.4em; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 16px; }
.breadcrumb a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .45s var(--ease-out); }
.breadcrumb a:hover { color: var(--accent); background-size: 100% 1px; }

/* ---------- Plans: one Enterprise card + "Volume and custom" panel (Figma 10427:6032) ---------- */
.plans { padding: 96px 0; }
.plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 48px rgba(12, 26, 43, 0.06);
  overflow: hidden;
}
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; padding: 56px; min-width: 0; }
.plan__eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: 0.96px; text-transform: uppercase; color: var(--muted); }
.plan__eyebrow--accent { color: var(--accent); }
.plan__head { display: flex; flex-direction: column; gap: 12px; }
.plan__desc { max-width: 560px; font-weight: 500; font-size: 28px; line-height: 1.25; letter-spacing: -0.28px; color: var(--ink); }
.plan__buy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.plan__price { display: flex; align-items: flex-end; gap: 12px; white-space: nowrap; }
.plan__amount { font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -1.28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan__per { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; line-height: 1.3; }
.plan__per-main { font-weight: 500; font-size: 16px; color: var(--ink); }
.plan__per-sub { font-size: 14px; color: var(--muted); }
.plan__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plan__actions .btn--primary { padding-inline: 22px; }
.plan__rule { width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }
.plan__included { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.plan__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.plan__list img { flex: none; width: 22px; height: 22px; }

.volume { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 56px 40px; background: var(--bg); border-left: 1px solid var(--line); }
.volume__head { display: flex; flex-direction: column; gap: 12px; }
.volume__title { font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -0.24px; color: var(--ink); }
.volume__text { font-size: 16px; line-height: 1.5; color: var(--muted); }
.volume__list { display: flex; flex-direction: column; gap: 16px; }
.volume__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.volume__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }
.volume__btn { width: 100%; margin-top: auto; }

/* ---------- Included in Notate Enterprise (Figma 10268:46758) ---------- */
.included { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; }
.included__bg { position: absolute; inset: 0; z-index: -1; }
.included__bg img { width: 100%; height: 100%; object-fit: cover; }
.compare-card { background: var(--navy); border-radius: var(--r-xl); padding: 64px; display: flex; flex-direction: column; gap: 48px; overflow: hidden; }
.compare-card .h3 { color: #fff; max-width: 760px; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.cap { display: flex; flex-direction: column; gap: 6px; min-height: 148px; padding: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
.caps > .cap:nth-last-child(-n + 2) { min-height: 170px; }
.caps > .cap:nth-last-child(2) { border-bottom: 0; } /* Figma: last row — left cell open, right cell keeps its rule */
.cap__title { font-weight: 500; font-size: 17px; line-height: 1.4; }
.cap__desc { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.cap__link { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .25s, background-size .45s var(--ease-out); }
.cap__link .arrow { display: inline-block; transition: transform .5s var(--spring-bouncy); }
.cap__link:hover { color: #fff; background-size: 100% 1px; }
.cap__link:hover .arrow { transform: translateX(4px); }

/* ---------- Questions ---------- */
.faq { padding: 96px 0; }
.faq__list { width: min(760px, 100%); margin: 64px auto 0; }
.faq .acc-trigger { padding-left: 24px; }
.faq .acc-item:not(.is-open):hover .acc-trigger { padding-left: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .plan-card { grid-template-columns: minmax(0, 1fr) 340px; }
  .plan { padding: 44px; }
  .volume { padding: 44px 32px; }
  .plan__amount { font-size: 56px; letter-spacing: -1.12px; }
  .compare-card { padding: 48px 40px; }
  .caps { column-gap: 32px; }
}
/* Tablet + phone (≤ 1023): hero copy first, the Figma artwork as a full-width band underneath
   (its glass icons sit at the image edges and would be cropped away as a background);
   plan card and "Larger deployments" panel stack; capability grid keeps two columns */
@media (max-width: 1023px) {
  .page-hero.fig-hero--simple { min-height: 0; flex-direction: column; align-items: stretch; }
  .page-hero.fig-hero--simple > .page-hero__bg {
    position: relative; inset: auto; order: 2; aspect-ratio: 2880 / 1024;
    margin-top: calc(-1 * clamp(24px, 8vw, 80px)); /* tuck the band's empty top under the copy; the fade hides the seam */
    -webkit-mask-image: linear-gradient(transparent 0 15%, #000 45%);
    mask-image: linear-gradient(transparent 0 15%, #000 45%);
  }
  .page-hero.fig-hero--simple .page-hero__copy { padding: 56px 0 8px; }
  .page-hero .breadcrumb a { padding-block: 10px; margin-block: -10px; background-origin: content-box; background-clip: content-box; } /* 40px tap area, same layout */

  .plans, .included, .faq { padding: 80px 0; }
  .plan-card { grid-template-columns: 1fr; }
  .volume { border-left: 0; border-top: 1px solid var(--line); }
  .volume__btn { width: auto; margin-top: 4px; }

  .compare-card { gap: 32px; }
  .caps { column-gap: 40px; }
  .cap, .caps > .cap:nth-last-child(-n + 2) { min-height: 0; padding-inline: 0; }

  .faq__list { margin-top: 48px; }
}
/* Phone (≤ 767): single column everywhere, full-width buttons, tighter card padding */
@media (max-width: 767px) {
  .page-hero__copy { gap: 20px; }
  .page-hero.fig-hero--simple .page-hero__copy { padding: 0 0 4px; } /* artwork sits above (shared phone hero) */

  .plans, .included, .faq { padding: 64px 0; }
  .plan { gap: 28px; padding: 32px 20px; }
  .plan__desc { font-size: 22px; letter-spacing: -0.22px; }
  .plan__buy { align-self: stretch; gap: 24px; }
  .plan__price { flex-wrap: wrap; gap: 8px 12px; }
  .plan__amount { font-size: 48px; letter-spacing: -0.96px; }
  .plan__actions { align-self: stretch; flex-direction: column; }
  .plan__actions .btn { width: 100%; }
  .plan__list { grid-template-columns: 1fr; gap: 16px; }
  .volume { gap: 20px; padding: 32px 20px; }
  .volume__btn { width: 100%; }

  /* one column: every item keeps its rule except the last */
  .compare-card { padding: 32px 20px; gap: 16px; }
  .caps { grid-template-columns: 1fr; }
  .cap, .caps > .cap:nth-last-child(-n + 2) { padding-block: 20px; }
  .caps > .cap:nth-last-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .caps > .cap:last-child { border-bottom: 0; padding-bottom: 0; }

  .faq__list { margin-top: 32px; }
}
