/* Pricing page only. Shared components come from styles.css and services/service-page.css. */

.pr-section { position: relative; z-index: 1; }

.pr-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Three steps, in order */
.pr-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pr-step {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pr-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.pr-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.pr-step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Timeframes */
.pr-table-card { padding: 8px 28px; }
.pr-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pr-table th,
.pr-table td {
  padding: 18px 12px;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.pr-table thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 20px;
}
.pr-table tbody tr:last-child th,
.pr-table tbody tr:last-child td { border-bottom: 0; }
.pr-table tbody th {
  width: 40%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.pr-table tbody th a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 98, 255, 0.25);
  transition: var(--transition-fast);
}
.pr-table tbody th a:hover,
.pr-table tbody th a:focus-visible {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}
.pr-table tbody td {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

/* After launch and what you won't pay for */
.pr-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pr-option {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pr-option i { width: 24px; height: 24px; color: var(--accent-blue); }
.pr-option h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.pr-option p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.pr-note {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ: native details/summary, styled to the glass cards */
.pr-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pr-faq details {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0 24px;
  transition: var(--transition-fast);
}
.pr-faq details[open] { border-color: var(--glass-border-hover); }
.pr-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent-blue);
}
.pr-faq details[open] summary::after { content: "\2212"; }
.pr-faq summary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.pr-faq details p {
  padding: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Phones: steps and options stack, the timeframe table becomes a card list */
@media (max-width: 900px) {
  .pr-steps,
  .pr-pair { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pr-table-card { padding: 4px 20px; }
  .pr-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .pr-table,
  .pr-table tbody,
  .pr-table tr,
  .pr-table th,
  .pr-table td {
    display: block;
    width: 100%;
  }
  .pr-table tbody tr {
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .pr-table tbody tr:last-child { border-bottom: 0; }
  .pr-table th,
  .pr-table td {
    border: 0;
    padding: 0;
  }
  .pr-table tbody th { width: 100%; margin-bottom: 6px; }
  .pr-table tbody td { font-size: 0.9rem; }
  .pr-option { padding: 26px 24px; }
  .pr-faq details { padding: 0 20px; }
}
/* ===== Dark mode (html[data-theme="dark"]) ===== */
/* The table card is an s2 card on a band. Rows are hairlines (--dk-line-2 is lighter than s2), no zebra, no header bar. */
:root[data-theme="dark"] .pr-step-num{ color:var(--blue-text); }
:root[data-theme="dark"] .pr-option i{ color:var(--blue-text); }
:root[data-theme="dark"] .pr-faq summary::after{ color:var(--blue-text); }   /* its own rule: a pseudo-element inside :is() is dropped */

/* desktop: borders on the cells */
:root[data-theme="dark"] .pr-table th,
:root[data-theme="dark"] .pr-table td{ border-bottom-color:var(--dk-line-2); }
:root[data-theme="dark"] .pr-table thead th{ background:transparent; color:var(--text-muted); border-bottom-color:var(--dk-line-3); }
:root[data-theme="dark"] .pr-table tbody th,
:root[data-theme="dark"] .pr-table tbody td{ background:transparent; }
:root[data-theme="dark"] .pr-table tbody tr:nth-child(even){ background:transparent; }   /* overrides the foundation zebra in styles.css (0,3,2); no stripes */
:root[data-theme="dark"] .pr-table tbody tr:last-child :is(th,td){ border-bottom:0; }   /* (0,4,3) beats the dark th/td rule; keeps the light "no line under the last row" */

/* phone: the divider is on the row, th/td are border:0 */
@media (max-width: 640px){
  :root[data-theme="dark"] .pr-table tbody tr{ border-bottom-color:var(--dk-line-2); }
  :root[data-theme="dark"] .pr-table tbody tr:last-child{ border-bottom:0; }
}

:root[data-theme="dark"] .pr-table tbody th a{ border-bottom-color:rgba(129,170,247,.45); }
:root[data-theme="dark"] .pr-table tbody th a:hover,
:root[data-theme="dark"] .pr-table tbody th a:focus-visible{ color:var(--blue-text); border-bottom-color:var(--blue-text); }

:root[data-theme="dark"] .pr-faq details{ background:var(--glass-bg); border-color:var(--glass-border); box-shadow:inset 0 1px 0 var(--dk-light-top); }
:root[data-theme="dark"] .pr-faq details:hover{ border-color:var(--glass-border-hover); }
:root[data-theme="dark"] .pr-faq details[open]{ background:var(--surface-raised); border-color:var(--glass-border-hover); }

/* the two dots in the hero badge and under the FAQ */
:root[data-theme="dark"] :is(.service-hero-badge,.pr-note) .indicator-dot.dot-blue{ background:var(--blue-text); box-shadow:0 0 0 1px rgba(129,170,247,.40); }
