/* Scoped to the isolated monthly landing; the current homepage keeps its styling. */
.monthly-preview { --max: 1160px; }
.monthly-preview :is(section, [id]) { scroll-margin-top: 84px; }
.monthly-preview .preview-ribbon { position: relative; z-index: 2; padding: 9px 24px; text-align: center; background: #11242c; color: #c4dbe2; font-size: 12px; border-bottom: 1px solid var(--border); }
.preview-ribbon span { margin: 0 8px; }
.preview-ribbon a { margin-left: 18px; white-space: nowrap; }
.monthly-preview .brand { color: var(--text); text-decoration: none; }
.monthly-preview .nav .btn-primary { color: #06121a; }
.monthly-preview .langsw-nav { display: inline-flex; align-items: center; }
.monthly-preview .monthly-hero { padding: 58px 0 48px; text-align: left; background: radial-gradient(ellipse at 80% 10%, #14333b66, transparent 65%); }
.monthly-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 58px; align-items: center; }
.monthly-preview .monthly-hero h1 { font-size: clamp(2.25rem, 4.1vw, 3.6rem); line-height: 1.1; margin-bottom: 22px; }
.monthly-preview .monthly-hero .lead { font-size: 1.07rem; margin: 0; line-height: 1.7; }
.monthly-preview .monthly-hero .hero-cta { justify-content: flex-start; gap: 10px; margin-top: 22px; }
.monthly-preview .monthly-hero .hero-cta .btn { padding: 12px 16px; font-size: 14px; }
.monthly-preview .monthly-hero .trust { justify-content: flex-start; gap: 12px 20px; font-size: 12px; margin-top: 18px; }
.monthly-start { margin-top: 20px; font-size: 17px; color: #d7e7ef; }
.monthly-start strong { color: var(--text); font-size: 32px; }
.monthly-start > span { display: inline-block; font-size: 13px; color: var(--cyan); margin-left: 10px; }
.monthly-ai-note { color: var(--dim); font-size: 12px; margin-top: 14px; max-width: 50ch; }
.task-example { min-width: 0; padding: 24px; background: linear-gradient(135deg, #14252f, #0b141e); border: 1px solid #2f5966; border-radius: 22px; box-shadow: 0 24px 70px #0005; }
.example-top { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
.example-top img { border-radius: 50%; border: 1px solid var(--border); }
.example-top small { display: block; color: var(--dim); font-family: var(--font); font-size: 11px; letter-spacing: 0; }
.example-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #62e0b2; box-shadow: 0 0 12px #62e0b255; flex-shrink: 0; }
.task-example h2 { font-size: 23px; line-height: 1.25; margin: 20px 0 14px; }
.example-request { margin-bottom: 18px; padding: 12px 14px; background: #1b333e; border: 1px solid #305666; border-radius: 10px 10px 2px 10px; font-size: 14px; }
.example-result { padding: 16px; background: #08121bcc; border: 1px solid #24403f; border-radius: 12px; }
.example-done { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #6be2b3; }
.example-result > p { font-size: 12px; color: #d9e9ec; margin: 5px 0 12px; }
.example-result table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.example-result caption { text-align: left; font-size: 10px; color: var(--dim); margin-bottom: 3px; }
.example-result th, .example-result td { text-align: left; padding: 7px 2px; border-bottom: 1px solid #ffffff0c; }
.example-result thead th { color: var(--dim); font-weight: 400; font-size: 10px; }
.example-result td:last-child, .example-result thead th:last-child { text-align: right; white-space: nowrap; }
.example-result tfoot th, .example-result tfoot td { border-bottom: 0; color: #6be2b3; font-weight: 700; }
.example-download { display: block; font-size: 11px; margin-top: 10px; }
.example-caption { color: var(--dim); font-size: 10px; line-height: 1.5; margin-top: 12px; }
.monthly-preview .monthly-pricing { padding: 42px 0 48px; border-top: 1px solid var(--border); background: #0a121cb3; }
.monthly-pricing .sec-head { margin-bottom: 35px; }
.monthly-pricing .sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.monthly-pricing .tier { padding: 24px 21px 18px; background: #101c28e6; }
.monthly-pricing .tier-price { font-size: 42px; margin: 10px 0 6px; }
.monthly-pricing .tier-for { font-size: 14px; min-height: 2.8em; }
.monthly-pricing .tier .life-badge { margin-bottom: 18px; font-size: 11px; }
.monthly-pricing .tier li { font-size: 13px; padding-block: 6px; }
.monthly-pricing .tier .btn { font-size: 12px; padding: 12px 8px; }
.monthly-pricing .tier-badge { white-space: nowrap; }
.monthly-pricing .monthly-pro { border-color: #6d4679; background: linear-gradient(155deg, #221c31, #101c28); }
.tier-details { margin-top: 15px; font-size: 12px; }
.tier-details summary { cursor: pointer; color: var(--cyan); }
.tier-details p { color: var(--dim); margin-top: 10px; line-height: 1.7; }
.monthly-pro-note { text-align: center; font-size: 14px; color: #ccdce7; margin: 25px 0; }
.monthly-pro-note strong { color: var(--text); }
.monthly-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 22px; border-top: 1px solid var(--border2); }
.monthly-costs h3 { font-size: 15px; margin-bottom: 10px; }
.monthly-costs p { color: var(--dim); font-size: 13px; }
.monthly-legacy { margin-top: 24px; padding: 18px 22px; border: 1px solid #62e0b233; border-radius: 12px; background: #62e0b207; font-size: 13px; }
.monthly-legacy strong { color: #8ce4c3; }
.monthly-legacy p { color: #c6d6df; margin-top: 5px; }
.monthly-preview-note { margin: 20px auto 0; text-align: center; color: var(--dim); font-size: 12px; }

/* Monthly / yearly switch. Monthly is the default and stays visible without JS. */
.billing-switch { display: flex; justify-content: center; gap: 4px; margin: 0 auto 28px; padding: 4px; width: fit-content; max-width: 100%; border: 1px solid var(--border2); border-radius: 999px; background: #0d1824; }
.bs-opt { display: flex; align-items: center; gap: 7px; padding: 9px 18px; border: 0; border-radius: 999px; background: none; color: var(--dim); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.bs-opt:hover { color: #fff; }
.bs-opt.on { background: var(--cyan); color: #06222a; font-weight: 700; }
.bs-opt > span { padding: 3px 8px; border-radius: 999px; background: #8ce4c326; color: #8ce4c3; font-size: 11px; font-weight: 700; }
.bs-opt.on > span { background: #06222a26; color: #06222a; }
.monthly-pricing[data-billing="monthly"] [data-billing-show="yearly"],
.monthly-pricing[data-billing="yearly"] [data-billing-show="monthly"] { display: none; }
.tier-price-sub { display: block; margin-top: 2px; color: var(--cyan); font-size: 13px; }
.monthly-lifetime-note { text-align: center; font-size: 13px; color: var(--dim); margin: -12px 0 25px; }
.monthly-lifetime-note a { color: var(--dim); text-decoration: underline; }
.monthly-lifetime-note a:hover { color: #fff; }
.monthly-faq details { padding: 18px 0; border-bottom: 1px solid var(--border); }
.monthly-faq summary { cursor: pointer; font-weight: 600; }
.monthly-faq details p { margin: 13px 0 0; color: var(--dim); }
.monthly-preview dialog { width: min(520px, calc(100% - 32px)); margin: auto; color: var(--text); background: #101c28; border: 1px solid #386676; border-radius: 18px; padding: 0; }
.monthly-preview dialog::backdrop { background: #02070dd9; backdrop-filter: blur(6px); }
.monthly-dialog-body { padding: 30px; }
.monthly-dialog-body h2 { font-size: 28px; }
.monthly-dialog-body p { color: var(--dim); margin-top: 16px; font-size: 14px; }
.monthly-dialog-body #monthly-dialog-plan { font-size: 20px; color: var(--cyan); }
.monthly-dialog-body form { margin-top: 24px; }
.monthly-preview :focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
@media (max-width: 1000px) {
  .monthly-hero-grid { gap: 26px; }
  .monthly-preview .monthly-hero h1 { font-size: 2.6rem; }
}
@media (max-width: 900px) {
  .monthly-pricing .tiers { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .monthly-pricing .tier { padding: 22px 14px 16px; }
}
@media (max-width: 760px) {
  .monthly-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .monthly-preview .monthly-hero { padding-top: 32px; }
  .monthly-intro { max-width: 590px; }
  .task-example { max-width: 590px; width: 100%; }
  .monthly-pricing .tiers { grid-template-columns: 1fr; max-width: 520px; gap: 26px; }
  .monthly-pricing .tier { padding: 24px; }
  .monthly-pricing .tier-for { min-height: 0; }
  .monthly-pricing .tier .btn { font-size: 14px; }
  .monthly-costs { grid-template-columns: 1fr; gap: 22px; }
  .monthly-preview .preview-ribbon { font-size: 10px; padding: 8px 14px; }
  .preview-ribbon a { display: block; margin: 3px 0 0; }
  .monthly-start > span { display: block; margin-left: 0; }
}
@media (max-width: 380px) {
  .monthly-preview .wrap { padding-inline: 16px; }
  .monthly-preview .monthly-hero h1 { font-size: 2.15rem; }
  .task-example { padding: 17px; }
  .example-result { padding: 12px; }
  .monthly-preview .nav nav { gap: 5px; }
  .monthly-preview .nav nav a.btn { padding-inline: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .monthly-preview .rv { transition: none; }
}
