/* The pricing page (tp-). Monochrome surfaces, one
   accent for action and meaning, 1px lines instead of shadows. */
:root {
  --s-ink: #0b1220;
  --s-muted: #5b6577;
  --s-faint: #8a93a3;
  --s-line: #e6e9ef;
  --s-soft: #f6f7f9;
  --s-accent: #315ee9;
  --s-accent-hover: #234dcc;
  --s-accent-soft: #eef2ff;
  --s-good: #0a7a53;
  --s-max: 1200px;
  --s-pad: clamp(16px, 4vw, 40px);
  --s-radius: 16px;
}
.tp { color: var(--s-ink); font-family: var(--font-text, "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif); }
.tp-wrap { margin: 0 auto; max-width: var(--s-max); padding: 0 var(--s-pad); }

.tp-heading { margin: 0 0 40px; max-width: 720px; }
.tp-heading h2, .tp-family h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; margin: 0;
}
.tp-heading p, .tp-family p { color: var(--s-muted); font-size: 18px; line-height: 1.55; margin: 16px 0 0; }
.tp-heading a { color: var(--s-accent); }

/* FAQ */
.tp-faq__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.tp-faq__list details { border-bottom: 1px solid var(--s-line); }
.tp-faq__list summary {
  align-items: center; cursor: pointer; display: flex; font-size: 17px; font-weight: 600; gap: 16px; justify-content: space-between; list-style: none; min-height: 64px; padding: 16px 0;
}
.tp-faq__list summary::-webkit-details-marker { display: none; }
.tp-faq__list summary::after { color: var(--s-faint); content: "+"; font-size: 22px; font-weight: 400; transition: transform .15s ease; }
.tp-faq__list details[open] summary::after { transform: rotate(45deg); }
.tp-faq__list p { color: var(--s-muted); font-size: 16px; line-height: 1.6; margin: 0 0 20px; max-width: 64ch; }
.tp-faq__list summary:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }

.tp-button {
  align-items: center; border: 1px solid var(--s-line); border-radius: 10px; color: var(--s-ink); display: inline-flex; font-size: 15px; font-weight: 600;
  justify-content: center; min-height: 44px; padding: 0 20px; text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}

.tp-button--primary { background: var(--s-accent); border-color: var(--s-accent); color: #fff !important; }
.tp-button--primary:hover { background: var(--s-accent-hover); border-color: var(--s-accent-hover); }

.tp-button:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }

/* Pricing page */
.tp { background: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.tp-hero { padding: clamp(24px, 5vw, 56px) 0 0; text-align: center; }
.tp-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.tp-hero p { color: var(--s-muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; margin: 18px auto 0; max-width: 560px; }
.tp-plans { padding-top: 40px; }
.tp-controls { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; margin: 0 0 32px; }
.tp-segmented { background: var(--s-soft); border: 1px solid var(--s-line); border-radius: 10px; display: inline-flex; gap: 2px; padding: 3px; }
.tp-segmented button { background: none; border: 0; border-radius: 7px; color: var(--s-muted); cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding: 0 16px; }
.tp-segmented button[aria-checked="true"] { background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 32, .12); color: var(--s-ink); }
.tp-segmented button:focus-visible, .tp-switch button:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.tp-switch { align-items: center; display: inline-flex; gap: 10px; }
.tp-switch > span { color: var(--s-muted); cursor: pointer; font-size: 14px; font-weight: 600; user-select: none; }
.tp-switch > span.is-active { color: var(--s-ink); }
.tp-switch button { background: #d3d8e1; border: 0; border-radius: 999px; cursor: pointer; height: 26px; padding: 3px; position: relative; transition: background-color .15s ease; width: 46px; }
.tp-switch button span { background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(11, 18, 32, .2); display: block; height: 20px; transition: transform .15s ease; width: 20px; }
.tp-switch button[aria-checked="true"] { background: var(--s-accent); }
.tp-switch button[aria-checked="true"] span { transform: translateX(20px); }
.tp-save { background: #e7f6ef; border-radius: 999px; color: var(--s-good); font-size: 13px; font-weight: 600; padding: 5px 12px; }
.tp-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-plan { border: 1px solid var(--s-line); border-radius: var(--s-radius); display: flex; flex-direction: column; padding: 28px; scroll-margin-top: 96px; }
.tp-plan.is-featured { border-color: var(--s-accent); outline: 1px solid var(--s-accent); outline-offset: -2px; }
.tp-plan header { align-items: center; display: flex; justify-content: space-between; }
.tp-plan h2 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.tp-badge { background: var(--s-accent-soft); border-radius: 999px; color: var(--s-accent); font-size: 12px; font-weight: 600; padding: 4px 10px; }
.tp-plan__summary { color: var(--s-muted); font-size: 15px; line-height: 1.5; margin: 10px 0 24px; min-height: 3em; }
.tp-plan__price { align-items: baseline; display: flex; gap: 4px; }
.tp-plan__price strong { font-size: 44px; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.tp-plan__price span { color: var(--s-muted); font-size: 16px; }
.tp-plan__note { color: var(--s-muted); font-size: 14px; margin: 10px 0 24px; min-height: 1.5em; }
.tp-plan .tp-button { width: 100%; }
.tp-plan ul { border-top: 1px solid var(--s-line); display: grid; gap: 12px; list-style: none; margin: 24px 0 0; padding: 24px 0 0; }
.tp-plan li { align-items: flex-start; display: flex; font-size: 15px; gap: 10px; }
.tp-plan li svg, .tp-table svg { color: var(--s-accent); flex: none; height: 18px; width: 18px; }
.tp-fine { color: var(--s-faint); font-size: 13px; margin: 20px 0 0; text-align: center; }
.tp-addons__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-addon { align-items: center; border: 1px solid var(--s-line); border-radius: var(--s-radius); display: flex; gap: 24px; justify-content: space-between; padding: 24px 28px; }
.tp-addon h3 { font-size: 18px; font-weight: 650; margin: 0 0 6px; }
.tp-addon p { color: var(--s-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.tp-addon strong { display: grid; flex: none; font-size: 28px; font-variant-numeric: tabular-nums; font-weight: 700; justify-items: end; letter-spacing: -.03em; }
.tp-addon strong span { color: var(--s-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.tp-family { background: var(--s-soft); }
.tp-family__grid { align-items: start; display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.tp-family__steps { counter-reset: fam; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tp-family__steps li { background: #fff; border: 1px solid var(--s-line); border-radius: 14px; counter-increment: fam; display: grid; gap: 4px; padding: 20px 20px 20px 64px; position: relative; }
.tp-family__steps li::before { align-items: center; background: var(--s-ink); border-radius: 50%; color: #fff; content: counter(fam); display: flex; font-size: 13px; font-weight: 700; height: 28px; justify-content: center; left: 20px; position: absolute; top: 20px; width: 28px; }
.tp-family__steps strong { font-size: 16px; font-weight: 650; }
.tp-family__steps span { color: var(--s-muted); font-size: 15px; line-height: 1.5; }
/* Positioned so the visually hidden labels inside cells scroll with the table
   instead of widening the page on phones. */
.tp-table-wrap { border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow-x: auto; position: relative; }
.tp-table { border-collapse: collapse; min-width: 640px; width: 100%; }
.tp-table th, .tp-table td { border-bottom: 1px solid var(--s-line); font-size: 15px; padding: 16px 20px; text-align: left; vertical-align: baseline; }
.tp-table thead th { background: var(--s-soft); color: var(--s-ink); font-size: 14px; font-weight: 650; }
.tp-table tbody th { background: none; color: var(--s-muted); font-weight: 500; width: 34%; }
.tp-table tbody tr:last-child > * { border-bottom: 0; }
.tp-table small { color: var(--s-muted); font-size: 13px; }
.tp-dash { color: var(--s-faint); }

@media (max-width: 960px) {
   .tp-grid { grid-template-columns: minmax(0, 1fr); }
  
  
  
  
   .tp-faq__grid, .tp-family__grid, .tp-addons__grid { grid-template-columns: minmax(0, 1fr); }
  
  .tp-grid{ margin-inline: auto; max-width: 560px; }
  
}
@media (max-width: 560px) {
   .tp-plan { padding: 22px; }
  .tp-controls { gap: 14px; }
  .tp-addon { align-items: flex-start; flex-direction: column; gap: 12px; }
  .tp-addon strong { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
   .tp-switch button, .tp-switch button span, .tp-faq__list summary::after { transition: none; }
}
