/* =========================================================================
   Pricing page — tiers, comparison table, FAQ.
   Built on brand tokens. Two surfaces only (Void + Parchment), teal accent,
   orange never used (no red "X"; missing features render as em-dash).
   ========================================================================= */

/* --- HERO ------------------------------------------------------------- */
.pricing-hero {
  background: var(--void);
  padding: 112px 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.pricing-hero__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.pricing-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--parchment);
  margin: 0 0 28px;
  max-width: 880px;
}
.pricing-hero__h1 em { font-style: italic; color: var(--arc-teal); }
.pricing-hero__sub {
  font-size: 17px; line-height: 1.7;
  color: var(--muted-void); max-width: 620px;
  margin: 0;
}

/* --- TIER GRID -------------------------------------------------------- */
.pricing-tiers { padding-top: 72px; padding-bottom: 72px; }

.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tier {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(8, 15, 28, 0.1);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(8, 15, 28, 0.08);
  border-color: rgba(8, 15, 28, 0.16);
}

.tier--featured {
  background: var(--void);
  color: var(--parchment);
  border: 1px solid rgba(0, 196, 161, 0.35);
  box-shadow: 0 24px 64px rgba(8, 15, 28, 0.18), 0 0 0 1px rgba(0,196,161,0.12);
  transform: translateY(-8px);
}
.tier--featured:hover {
  transform: translateY(-11px);
  border-color: rgba(0, 196, 161, 0.55);
}
.tier__ribbon {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--arc-teal); color: var(--void);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
}

.tier__head { margin-bottom: 24px; }
.tier__kind {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-parch);
  margin-bottom: 8px;
}
.tier--featured .tier__kind { color: var(--arc-teal-text); }
.tier__name {
  font-family: var(--font-display); font-size: 32px;
  color: var(--on-parch); line-height: 1;
  letter-spacing: -0.01em;
}
.tier--featured .tier__name { color: var(--parchment); }

.tier__price {
  padding: 20px 0;
  border-top: 1px solid rgba(8, 15, 28, 0.1);
  border-bottom: 1px solid rgba(8, 15, 28, 0.1);
  margin-bottom: 20px;
}
.tier--featured .tier__price {
  border-top-color: rgba(240, 237, 232, 0.1);
  border-bottom-color: rgba(240, 237, 232, 0.1);
}
.tier__price-big {
  font-family: var(--font-display); font-size: 44px;
  line-height: 1; color: var(--on-parch);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tier--featured .tier__price-big { color: var(--parchment); }
.tier__price-note {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-parch);
}
.tier--featured .tier__price-note { color: var(--dim-void); }

.tier__tag {
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted-parch);
  margin: 0 0 24px;
  min-height: 68px;
}
.tier--featured .tier__tag { color: var(--muted-void); }

.tier__cta-row { margin-bottom: 28px; }
.tier--featured .btn-ghost {
  color: var(--parchment);
  border-color: rgba(240, 237, 232, 0.55);
}
.tier--featured .btn-ghost:hover { border-color: var(--parchment); background: rgba(240,237,232,0.06); }

.tier__list {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(8, 15, 28, 0.08);
  padding-top: 24px;
}
.tier--featured .tier__list { border-top-color: rgba(240, 237, 232, 0.08); }
.tier__item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5;
  color: var(--on-parch);
}
.tier--featured .tier__item { color: var(--parchment); }
.tier__check {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px;
  color: var(--arc-teal-text);
  display: grid; place-items: center;
}

/* --- COMPARISON TABLE ------------------------------------------------- */
.pricing-compare { padding-top: 24px; }

.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 16px;
}
.price-table thead th {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 14px;
  padding: 16px 20px; text-align: left;
  border-bottom: 2px solid rgba(8,15,28,0.12);
  color: var(--on-parch);
  width: 18%;
}
.price-table thead th:first-child {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  color: var(--muted-parch);
  letter-spacing: 0.08em; text-transform: uppercase;
  width: 46%;
}
.price-table thead th.arca-col {
  background: rgba(0,196,161,0.08);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.price-table tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(8,15,28,0.06);
  color: var(--on-parch);
}
.price-table tbody td.arca-col {
  background: rgba(0,196,161,0.05);
}
.price-table__cat td {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--arc-teal-text);
  padding-top: 28px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,196,161,0.2);
}
.price-table .chk { color: var(--arc-teal-text); font-size: 16px; }
.price-table .dash { color: rgba(8,15,28,0.3); font-size: 16px; }

/* --- FAQ -------------------------------------------------------------- */
.pricing-faq .faq__layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.pricing-faq .faq__head { position: sticky; top: 96px; }
.pricing-faq .faq__head .sec-h2 { max-width: 360px; }

.pricing-faq .faq__list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(240, 237, 232, 0.1);
}
.pricing-faq .faq {
  border-bottom: 1px solid rgba(240, 237, 232, 0.1);
}
.pricing-faq .faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  background: transparent; border: 0;
  padding: 22px 0;
  font-family: var(--font-sans); font-weight: 500; font-size: 17px;
  color: var(--parchment);
  text-align: left; cursor: pointer;
  transition: color .18s;
}
.pricing-faq .faq__q:hover { color: var(--arc-teal-text); }
.pricing-faq .faq__toggle {
  font-family: var(--font-mono); font-size: 20px;
  color: var(--arc-teal-text);
  flex-shrink: 0;
  line-height: 1;
}
.pricing-faq .faq__a {
  padding: 0 0 24px;
  font-size: 15px; line-height: 1.7;
  color: var(--muted-void);
  max-width: 640px;
}

/* --- RESPONSIVE ------------------------------------------------------- */
@media (max-width: 900px) {
  .tiers__grid { grid-template-columns: 1fr; gap: 16px; }
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: translateY(-3px); }
  .pricing-faq .faq__layout { grid-template-columns: 1fr; gap: 40px; }
  .pricing-faq .faq__head { position: static; }
  .price-table { font-size: 13px; }
  .price-table thead th,
  .price-table tbody td { padding: 10px 12px; }
}
