/* What the dynamic markup needs on top of the reference's own stylesheets. Nothing here changes a static section. */

/* Pricing cards: the reference fixes three columns; fewer plans centre at card width. */
@media (min-width: 981px) {
  .plans[data-n='1'] {
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
  }
  .plans[data-n='2'] {
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
  }
}
.plans[data-state='loading'] {
  min-height: 360px;
}
.plans-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--mute);
  font-weight: 600;
  padding: 56px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-l);
}
/* The reference card is a five-row grid (title, price, sub-line, list, button). A card without a sub-line or with a
   short list must keep the list and the button on their own rows, or the 1fr row lands on the wrong child. */
.plan {
  grid-template-rows: auto auto auto 1fr auto;
}
.plan > ul {
  grid-row: 4;
}
.plan > .btn {
  grid-row: 5;
  align-self: end;
}
.plan .price-sub:empty {
  display: none;
}
.plan .price-sub .plan-trial {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  color: var(--blue);
}
.plan.feat .price-sub .plan-trial {
  color: var(--ice);
}
.pr-controls[hidden],
.br-step[hidden] {
  display: none;
}

/* The interest dialog sits on a white card; the reference's .seg pills are made for the dark demo section. */
.su .seg label {
  background: var(--cloud);
  color: var(--ink);
  border: 1px solid #cbd5e6;
}
.su .seg input:checked + label {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.su .field2 textarea {
  font: 600 16px var(--f-ar);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #cbd5e6;
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  min-height: 96px;
  resize: vertical;
}
.su .field2 textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 108, 237, 0.18);
}
.su .field2 .fe {
  font-size: 13px;
  font-weight: 600;
  color: #c4262b;
}
.su .field2.bad input,
.su .field2.bad select,
.su .field2.bad textarea {
  border-color: var(--bad);
}
.su-grid .full {
  grid-column: 1 / -1;
}
.su .field2 .group-label {
  font-size: 14px;
  font-weight: 700;
}
.su .done-mark {
  display: grid;
  place-items: center;
}
.su h3 {
  margin: 0;
  font-size: 22px;
  text-align: center;
}
.su #suThanksBody,
.su #pThanks .su-fine {
  text-align: center;
}
.su #pThanks {
  display: grid;
  gap: 14px;
  justify-items: center;
}
/* Honeypot: off-screen, not display:none, so a naive bot still fills it. */
.hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ answers keep the operator's line breaks. */
.faq-grid details p {
  white-space: pre-line;
}

/* Footer contact block. */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--mute-on-dark);
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-contact .ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Inner pages (privacy, terms, about, faq, contact). */
.site-page {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 112px);
  min-height: 60vh;
}
.site-page .head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.site-page h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
}
.page-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.9;
}
.page-body h2 {
  font-size: 26px;
  margin: 1.6em 0 0.4em;
}
.page-body h3 {
  font-size: 20px;
  margin: 1.4em 0 0.3em;
}
.page-body p,
.page-body ul,
.page-body ol {
  margin: 0 0 1em;
}
.page-body ul,
.page-body ol {
  padding-inline-start: 1.4em;
}
.page-body a {
  color: var(--blue);
}
.page-body blockquote {
  margin: 1em 0;
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--lime);
  color: var(--mute);
}
.page-body .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
}
.page-body .contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.page-body .contact-list b {
  display: block;
  font-size: 14px;
  color: var(--mute);
}
.page-body .contact-list .ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.page-note {
  color: var(--mute);
}
