/* Plans share the homepage type, palette, navigation and contact surfaces. */
.plans-page { --plan-rule: var(--line); }
.plans-page h1, .plans-page h2, .plans-page h3 { text-wrap: balance; }
.plans-page p { text-wrap: pretty; }
.plans-page .site-header nav a[aria-current] { color: var(--ink); background: var(--surface-soft); }
.plan-intro { padding: 60px 0 42px; text-align: center; }
.plan-intro .eyebrow { margin-bottom: 24px; font-size: .75rem; letter-spacing: .14em; color: var(--muted); }
.plan-intro h1 { margin: 0; font-size: clamp(2.5rem, 4.2vw, 3.6rem); font-weight: 600; line-height: 1.28; letter-spacing: -.045em; }
.plan-intro h1 > span { color: var(--accent-text); }
.plan-intro-copy { margin: 25px 0 0; font-size: 1.0625rem; line-height: 1.85; color: var(--muted); }
.plan-intro-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; font-size: .75rem; color: var(--subtle); }
.plan-intro-note i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; min-width: 0; position: relative; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; }
.plan-plus { border-color: var(--accent); box-shadow: 0 12px 40px #dc4d2510; }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-card h2 { font-size: 1.75rem; font-weight: 650; letter-spacing: -.045em; margin: 0; line-height: 1.4; }
.plan-stage { font-size: .6875rem; color: var(--muted); line-height: 1.5; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.plan-plus .plan-stage { color: var(--accent-text); border-color: transparent; background: var(--accent-soft); }
.plan-description { margin: 12px 0 27px; color: var(--muted); font-size: .875rem; }
.plan-price { margin: 0; font-size: 1.625rem; line-height: 1.5; font-weight: 550; letter-spacing: -.035em; }
.plan-terms { margin: 5px 0 25px; font-size: .75rem; color: var(--muted); }
.plans-page .button { min-height: 48px; font-size: .875rem; font-weight: 550; gap: 12px; line-height: 1.5; border-radius: 999px; }
.plans-page .button .icon { width: 18px; height: 18px; }
.button-plan { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 13px 22px; transition: background .2s, border-color .2s; }
.button-plan:hover { background: var(--surface-soft); border-color: var(--subtle); }
.plans-page .button-dark { border: 1px solid transparent; }
.plan-cta { width: 100%; }
.plan-capacity { display: flex; align-items: center; gap: 18px; min-height: 100px; margin: 28px 0 24px; padding: 20px 0; border-block: 1px solid var(--line); }
.plan-capacity strong { position: relative; flex-shrink: 0; padding-top: 10px; font-size: 3rem; line-height: 1.1; font-weight: 550; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.plan-capacity strong > span { position: absolute; left: 2px; top: -5px; font-size: .625rem; font-weight: 450; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.plan-capacity b { font-size: .875rem; font-weight: 500; }
.plan-capacity small { display: block; font-size: .6875rem; color: var(--subtle); margin-top: 2px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 15px; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: .8125rem; line-height: 1.8; }
.plan-features .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); }
.plan-plus .plan-features .icon { color: var(--accent-text); }
.plan-fit { margin: auto 0 0; padding-top: 15px; color: var(--subtle); font-size: .6875rem; }
.plan-scope-note { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 25px 8px 0; font-size: .75rem; color: var(--muted); }
.plan-scope-note > span { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.plan-scope-note p { margin: 0; }
.plan-scope-note a { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding-block: 8px; }
.plan-scope-note .icon { width: 16px; height: 16px; }
.plan-scope-note a:hover { color: var(--accent-text); }
.plan-section { padding-block: 126px; }
.plans-page .section-label { margin: 0 0 24px; }
.plans-page .section-label span { font-size: .6875rem; letter-spacing: .08em; }
.plans-page h2 { font-weight: 550; }
.plan-section h2, .custom-heading h2 { font-size: clamp(2rem, 3vw, 2.875rem); line-height: 1.38; margin: 0; letter-spacing: -.04em; }
.plan-lead { font-size: .9375rem; color: var(--muted); line-height: 1.9; margin: 22px 0 0; }
.pricing-explained { display: grid; grid-template-columns: 1.12fr 1fr; gap: 90px; align-items: center; }
.cost-steps { padding: 0; margin: 0; list-style: none; }
.cost-steps li { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cost-steps li:first-child { padding-top: 0; }
.cost-steps li:last-child { border: 0; padding-bottom: 0; }
.cost-steps li > span { font-size: .75rem; padding-top: 5px; color: var(--accent-text); font-weight: 600; }
.cost-steps h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 550; }
.cost-steps p { margin: 0; font-size: .875rem; line-height: 1.85; color: var(--muted); }
.custom-section { background: var(--surface); padding-block: 100px; border-block: 1px solid var(--line); }
.custom-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.custom-heading > p { margin: 0 0 4px; color: var(--muted); font-size: .875rem; line-height: 1.9; }
.custom-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 35px; margin-top: 65px; }
.custom-path article { position: relative; padding-top: 34px; border-top: 1px solid var(--line); }
.custom-number { position: absolute; top: -12px; left: 0; padding-right: 12px; background: var(--surface); font-size: .75rem; color: var(--subtle); }
.custom-icon { color: var(--accent-text); margin-bottom: 21px; }
.custom-icon .icon { width: 23px; height: 23px; stroke-width: 1.5; }
.custom-path h3 { margin: 0 0 14px; font-size: 1.125rem; font-weight: 550; }
.custom-path p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.95; }
.custom-path small { display: block; margin-top: 22px; color: var(--subtle); font-size: .6875rem; }
.section-heading { display: flex; gap: 28px; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.section-heading > p { margin: 0 0 3px; font-size: .875rem; color: var(--muted); }
.comparison { border-top: 1px solid var(--line); }
.comparison table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; }
.comparison :is(th,td) { padding: 21px 24px; width: 25%; line-height: 1.8; vertical-align: top; font-size: .8125rem; font-weight: 400; border-bottom: 1px solid var(--line); }
.comparison tr > :first-child { padding-left: 0; }
.comparison td { color: var(--muted); }
.comparison thead th { font-size: 1.375rem; font-weight: 550; padding-block: 25px; }
.comparison thead th:first-child { font-size: .8125rem; color: var(--muted); vertical-align: middle; }
.comparison thead span { display: block; margin-top: 1px; font-size: .75rem; font-weight: 400; color: var(--muted); }
.comparison [data-column="plus"] { background: color-mix(in srgb, var(--accent-soft) 35%, transparent); }
.comparison .comparison-group th { padding-top: 40px; padding-bottom: 14px; color: var(--accent-text); font-size: .75rem; font-weight: 550; border-bottom-color: var(--line); }
.comparison-note { margin: 23px 0 0; color: var(--subtle); font-size: .75rem; line-height: 1.9; max-width: 900px; }
.compare-switch { display: none; }
.plan-questions { display: grid; grid-template-columns: .85fr 1.25fr; gap: 70px; padding-top: 10px; }
.plan-faq-list { min-width: 0; }
.plan-faq-list details { border-top: 1px solid var(--line); }
.plan-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.plan-faq-list summary { list-style: none; padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.plan-faq-list summary::-webkit-details-marker { display: none; }
.plan-faq-list summary > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-soft); color: var(--muted); }
.plan-faq-list summary .icon { width: 14px; height: 14px; transition: transform .25s; }
.plan-faq-list details[open] summary .icon { transform: rotate(45deg); }
.plan-answer { display: flow-root; font-size: .875rem; color: var(--muted); line-height: 1.95; }
.plan-answer p { margin: 0; padding-bottom: 24px; }
@supports (interpolate-size: allow-keywords) {
  .plan-faq-list details { interpolate-size: allow-keywords; }
  .plan-faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .38s cubic-bezier(.22,.68,0,1), content-visibility .38s allow-discrete; }
  .plan-faq-list details[open]::details-content { block-size: auto; }
}
.plan-contact { text-align: center; padding: 95px 0 100px; background: var(--accent-soft); }
.plan-contact h2 { font-size: clamp(2.75rem, 4.8vw, 4rem); line-height: 1.3; letter-spacing: -.045em; margin: 0; }
.plan-contact p:not(.section-label) { color: var(--muted); font-size: 1rem; margin: 24px 0 0; line-height: 1.9; }
.plan-contact-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.plan-contact small { display: block; color: var(--muted); font-size: .75rem; margin-top: 22px; }
.plans-page .site-footer > a:not(.wordmark) { font-size: .8125rem; color: var(--muted); }
.contact-switch { display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-soft); margin: 0 auto 20px; width: min(220px,100%); }
.contact-switch button { border: 0; border-radius: 999px; flex: 1; padding: 8px 12px; font-size: .8125rem; background: transparent; color: var(--muted); }
.contact-switch [aria-pressed="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-card); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .plan-intro > * { animation: plan-enter .85s cubic-bezier(.16,1,.3,1) both; }
  .plan-intro h1 { animation-delay: 70ms; }
  .plan-intro-copy { animation-delay: 130ms; }
  .plan-intro-note { animation-delay: 180ms; }
  .plan-card { animation: plan-enter .9s cubic-bezier(.16,1,.3,1) both; }
  .plan-free { animation-delay: .18s; }
  .plan-plus { animation-delay: .26s; }
  .plan-pro { animation-delay: .34s; }
  [data-enter].will-enter { opacity: 0; transform: translateY(24px); }
  [data-enter].has-entered { opacity: 1; transform: none; transition: opacity .85s ease, transform .85s cubic-bezier(.16,1,.3,1); }
}
@keyframes plan-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width:1100px) {
  .plan-card { padding: 25px; }
  .plan-scope-note { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .plan-scope-note p { grid-column: 1; grid-row: 2; }
  .plan-scope-note a { grid-column: 2; grid-row: 1 / 3; }
  .pricing-explained { gap: 60px; }
  .custom-heading { align-items: start; flex-direction: column; gap: 25px; }
  .custom-path { gap: 28px; }
  .comparison :is(th,td) { padding-inline: 16px; }
  .plan-questions { gap: 40px; }
}
@media (max-width:900px) {
  .plans-grid { gap: 12px; }
  .plan-card { padding: 24px 20px; border-radius: 26px; }
  .plan-card-top { align-items: start; flex-direction: column; gap: 10px; }
  .plan-description { min-height: 50px; margin-bottom: 20px; }
  .plan-capacity { gap: 12px; }
  .plan-capacity strong { font-size: 2.5rem; }
  .plan-capacity b { font-size: .75rem; }
  .plan-capacity small { font-size: .625rem; }
  .plan-features { gap: 13px; }
  .plan-features li { font-size: .75rem; }
  .plan-section { padding-block: 85px; }
  .custom-section { padding-block: 80px; }
  .custom-path { grid-template-columns: 1fr 1fr; gap: 50px 45px; }
  .plan-questions { padding-top: 0; grid-template-columns: 1fr; gap: 40px; }
  .plan-questions .plan-lead { display: none; }
}
@media (max-width:700px) {
  .plan-intro { padding-top: 65px; padding-bottom: 40px; }
  .plan-intro h1 { font-size: clamp(1.75rem,7.8vw,3rem); line-height: 1.4; }
  .plan-intro-copy { font-size: .875rem; margin-top: 19px; }
  .plan-intro .eyebrow { margin-bottom: 20px; font-size: .625rem; }
  .plan-intro-note { font-size: .6875rem; gap: 9px; }
  .plans-grid { grid-template-columns: 1fr; gap: 18px; max-width: 480px; }
  .plan-card { padding: 28px; border-radius: 30px; }
  .plan-card-top { flex-direction: row; align-items: center; }
  .plan-description { min-height: 0; margin-bottom: 22px; }
  .plan-capacity strong { font-size: 3rem; }
  .plan-capacity { gap: 20px; margin-top: 24px; margin-bottom: 21px; min-height: 95px; }
  .plan-capacity b { font-size: .9375rem; }
  .plan-capacity small { font-size: .75rem; }
  .plan-features li { font-size: .875rem; }
  .plan-features { gap: 13px; margin-bottom: 20px; }
  .plan-fit { font-size: .75rem; }
  .plan-scope-note { display: flex; flex-wrap: wrap; padding-top: 25px; font-size: .6875rem; gap: 7px; }
  .plan-scope-note > span { width: 100%; }
  .plan-scope-note a { padding-block: 5px; }
  .plan-section { padding-block: 75px; }
  .pricing-explained { grid-template-columns: 1fr; gap: 38px; }
  .plan-section h2, .custom-heading h2 { font-size: clamp(1.75rem,6.5vw,2.5rem); }
  .plans-page .section-label { margin-bottom: 20px; }
  .plans-page .section-label span { font-size: .625rem; }
  .plan-lead { font-size: .875rem; }
  .custom-section { padding-block: 65px; }
  .custom-heading > p { font-size: .8125rem; }
  .custom-path { margin-top: 45px; gap: 40px 25px; }
  .custom-path h3 { font-size: 1rem; }
  .custom-path p { font-size: .8125rem; }
  .custom-path small { font-size: .625rem; margin-top: 15px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 17px; font-size: .8125rem; }
  .compare-switch { display: flex; gap: 5px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 22px; background: var(--surface); }
  .compare-switch button { flex: 1; padding: 10px; background: transparent; border: 0; border-radius: 999px; color: var(--muted); font-size: .875rem; transition: color .2s, background .2s; }
  .compare-switch [aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
  .comparison :is(th,td) { padding: 18px 12px; font-size: .8125rem; }
  .comparison tr > :first-child { width: 42%; padding-right: 18px; }
  .comparison [data-column] { display: none; width: 58%; }
  .comparison[data-selected-plan="free"] [data-column="free"], .comparison[data-selected-plan="plus"] [data-column="plus"], .comparison[data-selected-plan="pro"] [data-column="pro"] { display: table-cell; }
  .comparison [data-column="plus"] { background: none; }
  .comparison .comparison-group th { padding-top: 30px; padding-bottom: 12px; }
  .comparison-note { font-size: .6875rem; }
  .plan-questions { padding-top: 5px; gap: 30px; }
  .plan-faq-list summary { font-size: .875rem; gap: 16px; padding-block: 20px; }
  .plan-answer { font-size: .8125rem; }
  .plan-contact { padding-block: 65px; }
  .plan-contact h2 { font-size: 2.5rem; }
  .plan-contact p:not(.section-label) { font-size: .875rem; }
  .plan-contact-actions { gap: 10px; flex-wrap: wrap; }
  .plan-contact-actions .button { padding-inline: 20px; font-size: .8125rem; }
  .plan-contact small { font-size: .6875rem; max-width: 270px; margin-inline: auto; }
}
@media (max-width:360px) {
  .plan-card { padding: 24px; }
  .custom-path { grid-template-columns: 1fr; }
  .plan-contact-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .plans-page *, .plan-faq-list details::details-content { animation: none !important; transition: none !important; }
}
