body:has(.months-page) { background: #fbf9fd; }
.months-page { min-height: 100vh; overflow: hidden; color: var(--ink); background: #fbf9fd; }
.months-hero { position: relative; padding: 0 20px 72px; background: radial-gradient(circle at 7% 8%, rgba(209, 159, 229, .22), transparent 28%), radial-gradient(circle at 93% 4%, rgba(240, 197, 165, .18), transparent 28%), linear-gradient(150deg, #fff 0%, #f5edfa 58%, #fff8ed 100%); }
.months-hero::after { content: ''; position: absolute; width: 420px; height: 420px; top: 110px; right: -210px; border: 1px solid rgba(123,47,190,.12); border-radius: 50%; box-shadow: 0 0 0 26px rgba(123,47,190,.035), 0 0 0 72px rgba(123,47,190,.02); pointer-events: none; }
.months-hero-inner { width: min(1160px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.months-breadcrumbs { padding-top: 27px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #9a8a9f; font-size: 13px; }
.months-breadcrumbs a { color: var(--purple); font-weight: 750; text-decoration: none; }
.months-hero h1 { max-width: 720px; margin: 28px 0 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(36px, 4.5vw, 54px); letter-spacing: -.045em; line-height: 1.08; text-align: left; }
.months-hero-sub { max-width: 640px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; text-align: left; }
.months-calculator-panel { width: min(1120px, 100%); margin: 32px 0 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); overflow: hidden; border: 2px solid #d7bfdf; border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 5px rgba(123,47,190,.055), 0 27px 72px rgba(67,32,86,.13); text-align: left; }
.months-input-side { min-width: 0; padding: 28px 30px 24px; }
.months-panel-topline, .months-result-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--purple); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.months-status, .months-live { display: inline-flex; align-items: center; gap: 7px; color: #8b7e91; font-size: 11px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.months-status i, .months-live i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #f0c965; box-shadow: 0 0 0 4px rgba(240,201,101,.16); }
.months-form-heading { margin-top: 22px; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 14px; align-items: center; }
.months-form-icon { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d3b3df; border-radius: 18px; background: linear-gradient(145deg, #edd9f6, #a767c9); box-shadow: 0 10px 22px rgba(123,47,190,.18); }
.months-form-icon img { width: 57px; height: 57px; object-fit: contain; }
.months-form-heading h2 { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: -.03em; }
.months-form-heading p { margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.months-mode-switch { margin-top: 20px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid #eadff0; border-radius: 13px; background: #f8f3fa; }
.months-mode-switch button { min-height: 42px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #887490; cursor: pointer; font: 750 13px Arial,sans-serif; transition: .18s ease; }
.months-mode-switch button.is-active { background: var(--purple); color: #fff; box-shadow: 0 5px 14px rgba(123,47,190,.22); }
.months-form { margin-top: 16px; }
.months-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.months-add-fields { grid-template-columns: 1.15fr .85fr; }
.months-field-wide { grid-column: 1 / -1; }
.months-field { min-width: 0; min-height: 112px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 1px solid #eadff0; border-radius: 16px; background: #fff; }
.months-field:focus-within { border-color: #be96d0; box-shadow: 0 0 0 3px rgba(123,47,190,.08); }
.months-field-title { display: flex; align-items: center; gap: 8px; color: #51445d; font-size: 14.5px; font-weight: 750; }
.months-field-title b { min-width: 28px; height: 22px; display: inline-grid; place-items: center; border-radius: 7px; background: #f3edf7; color: var(--purple); font-size: 11px; letter-spacing: .04em; }
.months-field-hint { color: #9a8ba0; font-size: 12.5px; }
.months-field input, .months-field select { width: 100%; min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid #d6c9df; border-radius: 12px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.months-field input:focus, .months-field select:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,47,190,.12); }
.months-info-note, .months-live-note { margin: 14px 0 0; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.months-info-note span:first-child, .months-live-note span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: #f3edf7; color: var(--purple); font-size: 12px; font-weight: 800; }
.months-error { margin: 12px 0 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #e9bdc4; border-radius: 12px; background: #fff6f6; color: #922937; font-size: 14px; line-height: 1.45; }
.months-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.months-submit { min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: linear-gradient(145deg, var(--purple), var(--purple-dark)); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px rgba(123,47,190,.25); }
.months-reset { min-height: 52px; padding: 0 18px; border: 1px solid #d6c9df; border-radius: 14px; background: #fff; color: var(--muted); font-size: 15px; font-weight: 750; cursor: pointer; }
.months-result-side { min-width: 0; padding: 28px; background: linear-gradient(165deg, #f8f3fc 0%, #f3edf7 55%, #efe4f7 100%); border-left: 1px solid #eadff0; display: flex; flex-direction: column; }
.months-result-3d { width: 150px; height: 150px; margin: 18px auto 8px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(55,24,74,.18)); }
.months-result-content { margin-top: 8px; }
.months-empty-state { text-align: left; padding: 8px 4px 12px; }
.months-empty-symbol { display: inline-flex; min-width: 54px; height: 40px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(123,47,190,.1); color: var(--purple); font-family: Georgia, serif; font-size: 28px; font-weight: 700; }
.months-empty-state h2 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 28px; letter-spacing: -.03em; line-height: 1.15; }
.months-empty-state p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.months-result-label { color: var(--purple); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.months-result-main { margin: 10px 0 0; }
.months-result-main h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 46px); letter-spacing: -.04em; line-height: 1.08; color: var(--purple-dark); }
.months-result-main p { margin: 10px 0 0; color: var(--ink-soft, #51445d); font-size: 16px; font-weight: 650; line-height: 1.5; }
.months-result-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.months-result-grid article { padding: 14px; border: 1px solid #e4d7ee; border-radius: 16px; background: #fff; }
.months-result-grid span { display: block; color: var(--muted); font-size: 13px; }
.months-result-grid strong { display: block; margin-top: 5px; color: var(--ink); font-size: 19px; }
.months-result-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid #e4d7ee; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.months-content-section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 52px 0; }
.months-tint-section { width: 100%; max-width: none; padding-left: max(16px, calc(50% - 560px)); padding-right: max(16px, calc(50% - 560px)); background: #f7f1fb; }
.months-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.months-card-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: linear-gradient(145deg, var(--purple), var(--purple-dark)); color: #fff1bb; box-shadow: 0 12px 24px rgba(123,47,190,.2); }
.months-card-icon svg { width: 30px; height: 30px; }
.months-section-heading p { margin: 0; color: var(--purple); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.months-section-heading h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.035em; line-height: 1.12; }
.months-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.months-steps-grid article, .months-faq-grid details, .months-example-copy, .months-illustration, .months-note-card { border: 1px solid #e4d7ee; border-radius: 20px; background: #fff; }
.months-steps-grid article { padding: 22px; box-shadow: 0 12px 28px rgba(72,33,99,.06); }
.months-steps-grid article > span { display: inline-flex; min-width: 42px; height: 30px; align-items: center; justify-content: center; border-radius: 10px; background: #f3edf7; color: var(--purple); font-size: 12px; font-weight: 850; }
.months-steps-grid h3 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 22px; letter-spacing: -.03em; }
.months-steps-grid p, .months-faq-grid p, .months-example-copy p, .months-note-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.months-note-card { margin-top: 16px; padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; background: #fff; }
.months-note-card > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: #f3edf7; color: var(--purple); font-weight: 800; }
.months-feature-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 18px; align-items: stretch; }
.months-example-copy { padding: 26px; }
.months-example-copy > span { color: var(--purple); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.months-example-copy > strong { display: block; margin: 10px 0 14px; font-family: Georgia, serif; font-size: 30px; letter-spacing: -.03em; }
.months-formula-chip { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #f3edf7; }
.months-formula-chip span { display: block; color: var(--purple); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.months-formula-chip b { display: block; margin-top: 6px; color: var(--purple-dark); font-size: 17px; }
.months-illustration { overflow: hidden; margin: 0; padding: 0; }
.months-illustration img { width: 100%; height: 100%; min-height: 280px; display: block; object-fit: cover; }
.months-illustration figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid #eadff0; }
.months-faq-grid { display: grid; gap: 10px; }
.months-faq-grid details { padding: 0 18px; }
.months-faq-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 750; font-size: 16.5px; }
.months-faq-grid summary::-webkit-details-marker { display: none; }
.months-faq-grid summary span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #f3edf7; color: var(--purple); font-size: 18px; }
.months-faq-grid details p { padding-bottom: 18px; }
.months-bottom-cta { width: min(1120px, calc(100% - 32px)); margin: 24px auto 72px; padding: 28px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; border-radius: 22px; background: linear-gradient(145deg, var(--purple), var(--purple-dark)); color: #fff; }
.months-bottom-cta h2 { margin: 6px 0 10px; font-family: Georgia, serif; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.months-bottom-cta p { margin: 0; opacity: .92; font-size: 16px; line-height: 1.55; max-width: 520px; }
.months-bottom-cta span { opacity: .8; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.months-bottom-links { display: flex; flex-wrap: wrap; gap: 10px; }
.months-bottom-links a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.14); color: #fff; font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .months-calculator-panel, .months-feature-layout { grid-template-columns: 1fr; }
  .months-result-side { border-left: 0; border-top: 1px solid #eadff0; }
  .months-steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .months-hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .months-hero-sub { font-size: 16px; }
  .months-input-side, .months-result-side { padding: 18px; }
  .months-fields, .months-add-fields, .months-result-grid { grid-template-columns: 1fr; }
}
