/* Preview-only pricing. Adapted from the approved monochrome Pricing Flow draft. */
#pricing {
  --np-glass: .61;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px) 0 clamp(32px, 5vw, 64px);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0) 180px);
  color: var(--fg);
  scroll-margin-top: 110px;
}
#studio:has(+ #pricing) { padding-bottom: clamp(44px, 5vw, 72px); }
#pricing + #faq { padding-top: clamp(56px, 7vw, 104px); }
#pricing [hidden] { display: none !important; }
#pricing .np-stage { position: relative; padding-top: 178px; }
#pricing .np-flow { position: absolute; z-index: -1; inset: -90px -70px -60px; width: calc(100% + 140px); height: calc(100% + 150px); opacity: .8; pointer-events: none; }
#pricing .np-heading {
  position: absolute; z-index: -1; top: 22px; left: 10%; right: 10%; margin: 0;
  font-family: var(--font); font-size: clamp(130px, 24vw, 310px); font-weight: 700;
  line-height: .88; letter-spacing: -.085em;
  background: linear-gradient(105deg, #292929 7%, #777 44%, #e6e6e6 83%, #a7a7a7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#pricing .np-wordmark { position: absolute; top: 17px; right: 15%; margin: 0; color: #e7e7e7; font-size: clamp(17px, 2.9vw, 31px); line-height: 1; font-weight: 600; letter-spacing: -1.4px; }
#pricing .np-plans { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
#pricing .np-plan {
  --np-x: 50%; --np-y: 10%; position: relative; display: flex; flex-direction: column;
  min-width: 0; min-height: 492px; margin-top: 13px; padding: 28px 27px;
  border: 1px solid #ffffff40; border-radius: 30px;
  background: linear-gradient(136deg, #ffffff07, transparent 42%), rgb(8 8 8 / var(--np-glass));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 1px 0 #ffffff0b, 0 24px 50px #0003;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
#pricing .np-plan::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at var(--np-x) var(--np-y), #ffffff14, transparent 57%); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
#pricing .np-plan::after { content: ''; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, #ffffff88, transparent); opacity: .5; pointer-events: none; }
#pricing .np-plan.np-standard { margin-top: 0; margin-bottom: 13px; background: linear-gradient(145deg, #ffffff0d, transparent 55%), rgb(19 19 19 / var(--np-glass)); border-color: #ffffff6c; }
#pricing .np-plan[data-selected=true] { border-color: #e3e3e3; box-shadow: inset 0 1px 0 #ffffff24, 0 0 0 1px #ffffff30, 0 24px 50px #0003; }
#pricing .np-plan-name { margin: 0 0 7px; color: #b4b4b4; font-size: 14px; font-weight: 400; }
#pricing .np-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px; margin: 0; color: #f8f8f8; font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; line-height: 1.07; letter-spacing: -1.8px; font-variant-numeric: tabular-nums; }
#pricing .np-price-unit { font-size: .59em; letter-spacing: -.7px; }
#pricing .np-description { max-width: 270px; min-height: 43px; margin: 11px 0 0; color: #a4a4a4; font-size: 13px; line-height: 1.65; }
#pricing .np-billing-line { min-height: 20px; margin: 8px 0 0; color: #aaa; font-size: 12px; line-height: 1.5; }
#pricing .np-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 36px; padding: 0; list-style: none; }
#pricing .np-features li { position: relative; display: flex; align-items: flex-start; gap: 11px; color: #d6d6d6; font-size: 13px; line-height: 1.55; }
#pricing .np-features li::before { content: '✓'; flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #ffffff12; border-radius: 50%; background: linear-gradient(135deg, #ffffff22, #ffffff0a); color: #ededed; font: 11px/1 var(--font); }
#pricing .np-choose { position: relative; align-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 145px; min-height: 40px; margin-top: auto; padding: 9px 24px; border: 1px solid #fff9; border-radius: 999px; background: linear-gradient(180deg, #fff, #dedede); color: #131313; box-shadow: inset 0 1px 0 #ffffffc0, 0 2px 5px #0002; font: 600 12px/1.4 var(--font); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
#pricing .np-choose:active { transform: scale(.97); }
#pricing .np-choose:focus-visible, #pricing .np-yearly:focus-visible { outline: 2px solid #e6e6e6; outline-offset: 5px; }
#pricing .np-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 17px; }
#pricing .np-yearly { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #e5e5e5; font: 13px/1.5 var(--font); text-align: left; cursor: pointer; }
#pricing .np-switch-track { position: relative; width: 37px; height: 20px; padding: 3px; border: 1px solid #eee; border-radius: 999px; background: #eee; }
#pricing .np-switch-thumb { display: block; width: 12px; height: 12px; border-radius: 50%; background: #171717; transition: transform .22s ease; }
#pricing .np-yearly[aria-checked=true] .np-switch-thumb { transform: translateX(17px); }
#pricing .np-yearly-save { color: #aaa; font-size: 12px; }
#pricing .np-status { margin: 0; color: #aaa; font-size: 12px; line-height: 1.6; }
#pricing .np-preview-note { position: relative; z-index: 2; margin: 16px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #999; font-size: 12px; line-height: 1.7; text-align: center; }
@media (hover: hover) and (pointer: fine) {
  #pricing .np-plan:hover { transform: translateY(-5px); border-color: #ffffff8a; box-shadow: inset 0 1px 0 #ffffff1a, 0 28px 52px #0006; }
  #pricing .np-plan:hover::before { opacity: 1; }
  #pricing .np-choose:hover { box-shadow: 0 0 23px #ffffff2a; transform: translateY(-1px); }
}
@media (max-width: 900px) {
  #pricing .np-stage { padding-top: 142px; }
  #pricing .np-wordmark { top: 22px; right: 10%; }
  #pricing .np-plans { gap: 13px; }
  #pricing .np-plan { min-height: 474px; padding: 22px 17px; border-radius: 26px; }
  #pricing .np-description { font-size: 12px; min-height: 59px; }
  #pricing .np-features { gap: 14px; margin-top: 22px; }
  #pricing .np-features li { gap: 8px; font-size: 12px; }
  #pricing .np-choose { min-width: 120px; }
}
@media (max-width: 640px) {
  #pricing { padding-top: 24px; padding-bottom: 34px; }
  #pricing .np-stage { padding-top: 106px; }
  #pricing .np-heading { top: 32px; left: 2%; right: 0; font-size: clamp(88px, 23.6vw, 145px); }
  #pricing .np-wordmark { top: 12px; right: 4%; font-size: 18px; letter-spacing: -.7px; }
  #pricing .np-plans { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #pricing .np-plan, #pricing .np-plan.np-standard { min-height: 0; margin: 0; padding: 27px 26px; }
  #pricing .np-price { font-size: 43px; }
  #pricing .np-description { min-height: 0; max-width: 100%; font-size: 13px; }
  #pricing .np-features { gap: 14px; margin: 22px 0 28px; }
  #pricing .np-features li { gap: 11px; font-size: 13px; }
  #pricing .np-choose { min-height: 44px; min-width: 155px; }
  #pricing .np-footer { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 13px; }
  #pricing .np-flow { opacity: .65; }
  #pricing .np-preview-note { text-align: left; }
}
@media (pointer: coarse) { #pricing .np-choose { min-height: 44px; } }
.reduced-motion #pricing *, .reduced-motion #pricing *::before, .reduced-motion #pricing *::after { transition: none !important; animation: none !important; }
.reduced-motion #pricing .np-plan:hover, .reduced-motion #pricing .np-choose:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  #pricing *, #pricing *::before, #pricing *::after { transition: none !important; animation: none !important; }
  #pricing .np-plan:hover, #pricing .np-choose:hover { transform: none; }
}
