/* Pricing page — see site.css for the shared shell (nav, buttons, .sec,
   .h2, .lead, .role toggle, footer). No inline styles: the CSP forbids them. */
.ptop { padding: 48px 24px 8px; }
.ptop .wrap { max-width: var(--site-max); }
.ptop .role { margin-bottom: 14px; }
.beta-note { margin: 0; font-size: 0.85rem; color: var(--site-mute); max-width: 60ch; }

.plans .lead { margin-bottom: 20px; }
.plans.alt { background: var(--site-bg-alt); }
.is-hidden { display: none !important; }

/* Monthly / yearly switch */
.cycle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--site-surface); border: 1px solid var(--site-hair); margin-bottom: 22px; }
.cycle button { font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--site-mute); background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cycle button.is-on { background: var(--yc-teal-dark, #20809F); color: #fff; }
.cycle .save { font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #FFE7BF; color: #7A4A00; }
.cycle button:focus-visible { outline: 2px solid var(--yc-orange, #FFAD16); outline-offset: 2px; }

/* Tier cards */
.tiers { display: grid; gap: 16px; align-items: stretch; }
.tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--site-surface); border: 1px solid var(--site-hair); border-radius: 20px; padding: 24px 22px; box-shadow: var(--site-shadow-sm); }
.tier h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.tier--hi { border-color: var(--yc-teal-dark, #20809F); box-shadow: 0 0 0 1px var(--yc-teal-dark, #20809F), var(--site-shadow); }
.tag { position: absolute; top: -12px; left: 20px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--yc-orange, #FFAD16); color: #002C42; }
.tier-for { margin: 0; font-size: 0.9rem; color: var(--site-mute); min-height: 2.7em; }
.price { margin: 4px 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.amt { font-family: var(--site-serif); font-weight: 600; font-size: 2.2rem; line-height: 1; letter-spacing: -0.01em; }
.per { font-size: 0.9rem; color: var(--site-mute); }
.or { font-size: 0.85rem; color: var(--site-subtle); margin: 0 6px; }
.cap { margin: 0; font-size: 0.95rem; }
.cap b { color: var(--yc-teal-dark, #20809F); }
.tier .fine { margin: 0; }
.tier .fine a { color: var(--yc-teal-dark, #20809F); }
.tier .btn { margin-top: auto; }
.tier .btn + .fine { margin-top: 8px; }

.inc { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.inc li { position: relative; padding-left: 18px; line-height: 1.45; }
.inc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--yc-teal-dark, #20809F); }
.inc b { font-weight: 600; }
.inc--row { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.vat { margin: 18px 0 0; font-size: 0.82rem; color: var(--site-mute); max-width: 70ch; }

/* Students + companies */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tier--wide { padding: 28px 26px; }
.tier--wide .sec-k { margin-bottom: 4px; }
.tier--wide h3 { font-size: 1.35rem; }
.tier--corp { background: var(--yc-teal-dark, #20809F); color: #fff; border-color: transparent; }
.tier--corp .sec-k { color: #FFE7BF; }
.tier--corp .tier-for, .tier--corp .per, .tier--corp .fine { color: rgba(255, 255, 255, 0.78); }
.tier--corp .inc li::before { background: #FFE7BF; }
.steps { margin: 4px 0 6px; padding-left: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.steps li { position: relative; padding-left: 34px; line-height: 1.45; counter-increment: s; min-height: 24px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--yc-orange, #FFAD16); color: #002C42; font-weight: 700; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; }

/* Compare table */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--site-surface); border: 1px solid var(--site-hair); border-radius: 16px; overflow: hidden; min-width: 560px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--site-hair); vertical-align: top; }
.cmp thead th { border-top: 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-mute); background: var(--site-bg-alt); }
.cmp tbody th { font-weight: 600; width: 32%; }
.cmp td { color: var(--site-ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { font-weight: 700; }

/* FAQ */
.faq .h2 { margin-bottom: 8px; }
.faq-list { max-width: 72ch; }
.faq-list details { border-top: 1px solid var(--site-hair); padding: 12px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--site-hair); }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--yc-teal-dark, #20809F); font-weight: 700; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--site-mute); }

.cta-end { padding: 64px 24px; text-align: center; }
.cta-end .h2 { margin-bottom: 8px; }
.cta-end .lead { margin: 0 auto 20px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .tiers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inc--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ptop { padding-top: 32px; }
  .tiers--2, .tiers--4, .duo, .inc--row { grid-template-columns: 1fr; }
  .tiers--2 { max-width: none; }
  .tier--hi { order: -1; }
  .tier { padding: 22px 18px; }
  .tier-for { min-height: 0; }
  .amt { font-size: 2rem; }
  .cycle { width: 100%; }
  .cycle button { flex: 1; justify-content: center; }
}
