/* Public pages share the homepage's palette, navigation and account forms. */
.site-page { color-scheme: light; }
.site-page #landingPage { min-height: 100vh; display: flex; flex-direction: column; }
.site-page .landing-footer { width: 100%; margin-top: auto; }
.site-page #landingPage > nav a[aria-current="page"] { color: #506da8; }
.site-page .public-content { flex: 1; padding: 144px 24px 80px; background: radial-gradient(ellipse 65% 360px at 65% 80px, #e9eef8a6, transparent), radial-gradient(ellipse 50% 320px at 12% 160px, #f0e6d666, transparent); }
.public-container { max-width: 960px; margin: auto; }
.public-heading { max-width: 740px; text-align: center; margin: 0 auto 44px; }
.public-heading h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.18; letter-spacing: -1.8px; font-weight: 500; text-wrap: balance; }
.public-heading p { max-width: 640px; margin: 20px auto 0; color: var(--text-secondary); font-size: 15px; line-height: 1.85; text-wrap: balance; }
.site-page .public-content :is(.text-white, .text-gray-200) { color: var(--text-primary); }
.site-page .public-content :is(.text-gray-300, .text-gray-400) { color: var(--text-secondary); }
.site-page .public-content .text-blue-300 { color: #506da8; }
.plan-card { display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border: 1px solid #dfe3eb; border-radius: 22px; box-shadow: 0 12px 40px -18px #586d9c24, 0 0 0 5px #ffffff60; overflow: hidden; }
.plan-overview { padding: 36px; background: linear-gradient(145deg, #f6f8fc, #fcfbf8); border-right: 1px solid var(--border-light); }
.plan-overview h2 { font-size: 21px; font-weight: 500; letter-spacing: -.5px; }
.plan-price { margin: 24px 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-amount { font-size: 64px; line-height: 1.1; font-weight: 500; letter-spacing: -3px; }
.plan-price > span:last-child { font-size: 12px; }
.plan-billing-note { font-size: 12px; line-height: 1.85; color: var(--text-secondary); }
.plan-includes { padding: 36px; min-width: 0; }
.plan-includes h3 { font-size: 14px; font-weight: 550; margin-bottom: 22px; }
.plan-features { display: grid; gap: 16px; list-style: none; padding: 0; margin-bottom: 26px; }
.plan-features li { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.7; color: #566071; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: #648574; }
.plan-features strong { font-weight: 550; color: var(--text-primary); }
.plan-trial { padding: 18px 20px; background: #edf1fd; border: 1px solid #e1e7f4; border-radius: 12px; font-size: 12px; line-height: 1.8; margin-top: 28px; color: var(--text-secondary); }
.plan-trial strong { font-weight: 550; font-size: 13px; }
.site-page .site-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; min-height: 46px; border: 1px solid #6382d1; border-radius: 10px; background: #6382d1; color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.site-page .site-button:hover { background: #5676c5; border-color: #5676c5; box-shadow: 0 4px 12px #6382d120; }
.site-page .site-button.secondary { background: #fff; border-color: #dfe3eb; color: #526787; }
.site-page .site-button.secondary:hover { background: #f4f6fb; border-color: #c6d1e5; }
.site-page .site-button:disabled { opacity: .6; cursor: wait; }
.pricing-faq { max-width: 760px; margin: 64px auto 0; }
.pricing-faq h2 { font-size: 25px; font-weight: 500; letter-spacing: -.65px; margin-bottom: 26px; }
.faq-item { background: #ffffff9c; border: 1px solid var(--border-light); border-radius: 12px; margin: 10px 0; padding: 0 22px; }
.faq-item summary { position: relative; padding: 20px 28px 20px 0; list-style: none; font-size: 14px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 18px; font-size: 20px; font-weight: 300; color: #7487a9; }
.faq-item[open] { background: #fff; border-color: #d7deea; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 0 20px; font-size: 13px; line-height: 1.85; }
.rate-table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border-light); border-radius: 8px; }
.rate-table table { min-width: 440px; }
.rate-table th { background: #f4f6fa; font-size: 11px; font-weight: 500; }
.rate-table td { border-top: 1px solid var(--border-light); font-size: 12px; }
.rate-table a { text-underline-offset: 3px; }
.rate-table a:hover { text-decoration: underline; }
.site-page .result-page { display: grid; place-items: center; padding-top: 140px; }
.result-card { width: 100%; max-width: 540px; padding: 40px; text-align: center; border: 1px solid #e1e4eb; border-radius: 22px; background: #fff; box-shadow: 0 12px 40px -18px #586d9c24; }
.result-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 26px; border-radius: 18px; background: #edf1fd; color: #6382b3; font-size: 28px; }
.result-symbol.success { background: #edf5ee; color: #608c75; }
.result-symbol.error-code { width: 88px; font-size: 27px; letter-spacing: -1px; }
.result-card h1 { font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -.9px; margin-bottom: 18px; text-wrap: balance; }
.result-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.85; }
.result-detail { margin-top: 24px; padding: 20px; border-radius: 12px; background: #f5f7fb; text-align: left; }
.result-detail strong { font-size: 13px; font-weight: 550; }
.result-detail p { margin-top: 8px; font-size: 12px; }
.result-actions { display: grid; gap: 12px; margin-top: 28px; }
.result-card .result-help { font-size: 12px; margin-top: 24px; }
.result-help a { color: #506da8; text-underline-offset: 3px; }
.result-help a:hover { text-decoration: underline; }
.site-page summary:focus-visible { outline: 2px solid #6382d1; outline-offset: 4px; border-radius: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .public-heading, .plan-card, .result-card { animation: landing-enter .5s ease-out backwards; }
  .plan-card { animation-delay: .08s; }
}
@media (max-width: 700px) {
  .site-page .public-content { padding: 112px 20px 48px; }
  .public-heading { margin-bottom: 30px; }
  .public-heading h1 { letter-spacing: -1.2px; }
  .public-heading p { font-size: 14px; margin-top: 16px; }
  .plan-card { grid-template-columns: 1fr; border-radius: 18px; }
  .plan-overview { border-right: 0; border-bottom: 1px solid var(--border-light); padding: 26px; }
  .plan-includes { padding: 26px; }
  .plan-price { margin-top: 18px; }
  .plan-amount { font-size: 54px; }
  .pricing-faq { margin-top: 42px; }
  .faq-item { padding: 0 18px; }
  .result-card { padding: 30px 24px; }
  .result-card h1 { font-size: 27px; }
}
