.price-page, .plan-page {
  font-family: Manrope, "Segoe UI", sans-serif;
  color: #1E293B;
  background:
    radial-gradient(900px 320px at 0% -10%, rgba(99, 102, 241, .18), transparent 60%),
    radial-gradient(700px 280px at 100% 0%, rgba(56, 189, 248, .18), transparent 55%),
    #F8FAFC;
}
.price-hero, .plan-grid, .plan-detail, .price-panel, .steps, .plan-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px; }
.price-hero { display: grid; gap: 18px; }
.hero-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-points li { background: #fff; border: 1px solid #DBEAFE; border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(49, 46, 129, .05); }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { color: #312E81; margin-bottom: 4px; }
.hero-points span { color: #64748B; line-height: 1.55; }
.price-kicker { margin: 0; color: #4338CA; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-hero h1, .plan-wrap h1, .price-panel h2, .steps h2 { font-family: Fraunces, Georgia, serif; color: #312E81; letter-spacing: -.03em; }
.price-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; margin: 10px 0; }
.price-hero p, .plan-wrap .lede, .price-panel p, .steps span { color: #64748B; line-height: 1.65; }
.hero-note, .plan-card, .price-panel, .steps ol, .side-card { background: #fff; border: 1px solid #DBEAFE; border-radius: 24px; box-shadow: 0 16px 40px rgba(49, 46, 129, .07); }
.hero-note { padding: 22px; }
.hero-note strong { color: #312E81; }
.cycle-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; background: #fff; width: fit-content; padding: 6px; border-radius: 999px; border: 1px solid #DBEAFE; }
.cycle-switch button, .plan-card button, .plan-go { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.cycle-switch button { background: transparent; color: #312E81; border-radius: 999px; padding: 10px 16px; }
.cycle-switch button.is-on { background: #4338CA; color: #fff; }
.price-report-note {
  max-width: 1180px;
  margin: 0 auto 8px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EEF2FF, #E0F2FE);
  color: #312E81;
  font-weight: 700;
  line-height: 1.45;
}
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 0; align-items: stretch; }
.plan-card { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 0; height: 100%; border-top: 6px solid #CBD5E1; animation: cardIn .45s ease both; }
.plan-card[data-plan="limited"] { border-top-color: #6366F1; }
.plan-card[data-plan="unlimited"] { border-top-color: #4338CA; }
.plan-card:nth-child(2) { animation-delay: .08s; }
.plan-card:nth-child(3) { animation-delay: .16s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plan-card.is-featured { border-color: #4338CA; border-top-color: #4338CA; box-shadow: 0 22px 46px rgba(67, 56, 202, .16); }
.plan-head { min-height: 196px; }
.plan-tag { display: inline-flex; width: fit-content; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #4338CA; background: #EEF2FF; border-radius: 999px; padding: 4px 10px; }
.plan-card.is-featured .plan-tag { background: #4338CA; color: #fff; }
.plan-card h2 { margin: 10px 0 0; font-family: Fraunces, Georgia, serif; font-size: 2rem; line-height: 1.1; }
.plan-blurb, .plan-fit { margin: 8px 0 0; }
.plan-blurb { min-height: 4.6em; color: #1E293B; line-height: 1.45; }
.plan-fit { min-height: 3.2em; color: #64748B; font-size: .92rem; line-height: 1.45; }
.plan-amount { margin: 8px 0 0; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; }
.plan-equiv, .plan-save { margin: 0; font-size: .95rem; }
.plan-save { color: #16A34A; font-weight: 800; min-height: 1.2em; }
.plan-features { margin: 14px 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; flex: 1 1 auto; }
.plan-card li { position: relative; padding-left: 22px; line-height: 1.4; }
.plan-card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 6px; border-left: 2px solid #4338CA; border-bottom: 2px solid #4338CA; transform: rotate(-45deg); }
.plan-card.is-featured li::before { border-color: #312E81; }
.period { display: grid; grid-template-rows: 24px 42px 22px 22px 46px; gap: 4px; align-content: start; margin-top: 10px; padding: 12px; border: 1px solid #E0E7FF; border-radius: 16px; background: #F8FAFC; }
.period.is-best { background: linear-gradient(180deg, #EEF2FF 0%, #fff 70%); border-color: #C7D2FE; }
.period-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.period-name { font-weight: 800; color: #312E81; }
.period-badge { font-size: 12px; font-weight: 800; color: #4338CA; background: #fff; border: 1px solid #DBEAFE; border-radius: 999px; padding: 2px 8px; }
.period-price, .period-note, .period-save { margin: 0; }
.period-price { font-family: Fraunces, Georgia, serif; font-size: 1.85rem; line-height: 42px; letter-spacing: -.03em; color: #1E293B; }
.period-note { color: #64748B; font-size: .92rem; line-height: 22px; white-space: nowrap; }
.period-save { color: #15803D; font-weight: 800; font-size: .92rem; line-height: 22px; white-space: nowrap; }
.plan-go { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: #4338CA; color: #fff; border-radius: 12px; padding: 0 12px; min-height: 46px; width: 100%; box-sizing: border-box; }
.period .plan-go { margin: 0; font-size: .95rem; white-space: nowrap; }
.plan-card.is-featured .plan-go { background: #312E81; }
.plan-go:hover { background: #312E81; }
.plan-more { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: 8px; text-align: center; color: #4338CA; font-weight: 800; text-decoration: none; background: #EEF2FF; border-radius: 12px; width: 100%; }
.plan-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.plan-more.is-on { background: #4338CA; color: #fff; }
.plan-more.is-on::after { transform: rotate(225deg); margin-top: 4px; }
.plan-card.is-featured .plan-more { color: #312E81; background: #E0E7FF; }
.plan-card.is-featured .plan-more.is-on { background: #312E81; color: #fff; }
.plan-detail { scroll-margin-top: 96px; padding-top: 0; }
.plan-detail article { background: #fff; border: 1px solid #C7D2FE; border-radius: 24px; padding: 22px; box-shadow: 0 18px 44px rgba(49, 46, 129, .1); animation: cardIn .35s ease; }
.plan-detail h2 { margin: 10px 0 0; font-family: Fraunces, Georgia, serif; color: #312E81; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.plan-detail article > p { color: #64748B; line-height: 1.65; }
.detail-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.detail-cols > div { background: linear-gradient(180deg, #fff, #F8FAFC); border: 1px solid #E0E7FF; border-radius: 18px; padding: 16px; }
.detail-cols h3 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; color: #312E81; font-size: 1.25rem; }
.detail-cols p { margin: 0; color: #1E293B; line-height: 1.6; }
.detail-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.detail-cols li { position: relative; padding-left: 18px; line-height: 1.45; }
.detail-cols li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 99px; background: #4338CA; }
.detail-cols .is-out li::before { background: transparent; border: 2px solid #94A3B8; width: 6px; height: 6px; }
.detail-pay { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: #EEF2FF; color: #312E81; font-weight: 700; }
.period-board { background: transparent; border: 0; box-shadow: none; padding-top: 10px; }
.board-intro h2 { margin: 6px 0; }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.board-col { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #DBEAFE; border-radius: 22px; padding: 14px; box-shadow: 0 14px 34px rgba(49, 46, 129, .07); }
.board-col.is-best { border: 2px solid #4338CA; background: linear-gradient(180deg, #EEF2FF 0%, #fff 42%); box-shadow: 0 18px 40px rgba(67, 56, 202, .16); }
.board-head { min-height: 72px; }
.board-head p { margin: 0; color: #4338CA; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.board-head h3 { margin: 4px 0 0; font-family: Fraunces, Georgia, serif; font-size: 1.7rem; color: #312E81; }
.board-price { display: grid; grid-template-rows: 18px 38px 38px; gap: 2px; align-content: start; min-height: 108px; padding: 10px 12px; border-radius: 16px; background: #F8FAFC; border: 1px solid #E0E7FF; }
.board-price span { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748B; }
.board-price strong { font-family: Fraunces, Georgia, serif; font-size: 1.55rem; line-height: 38px; color: #1E293B; letter-spacing: -.03em; }
.board-price small { color: #64748B; font-weight: 700; line-height: 1.25; min-height: 2.5em; }
.board-price.is-top { background: linear-gradient(160deg, #4338CA, #312E81); border-color: #312E81; }
.board-price.is-top span, .board-price.is-top strong, .board-price.is-top small { color: #fff; }
.allow { display: grid; gap: 8px; margin-top: 16px; }
.allow-row { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 8px; }
.allow-row span { background: #fff; border: 1px solid #E0E7FF; border-radius: 14px; padding: 12px 14px; line-height: 1.4; }
.allow-row span:first-child { font-weight: 800; color: #312E81; background: #F8FAFC; }
.allow-head span { background: #312E81; color: #fff; border-color: #312E81; font-weight: 800; }
.allow-head span:first-child { background: #312E81; color: #fff; }
#tax-note { margin-top: 14px; }
#compare small { display: block; color: #64748B; font-weight: 700; margin-top: 2px; }
.compare-wrap { overflow-x: auto; border-radius: 18px; }
#compare { width: 100%; border-collapse: collapse; min-width: 640px; }
#compare th, #compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #DBEAFE; }
#compare th { background: #EEF2FF; color: #312E81; }
#compare tr:hover td { background: #F8FAFC; }
.steps ol { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps li { padding: 16px; border-radius: 18px; background: #F8FAFC; }
.steps strong, .steps span { display: block; }
.steps strong { color: #312E81; margin-bottom: 6px; }
.faq details { background: #fff; border: 1px solid #DBEAFE; border-radius: 16px; padding: 12px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: #312E81; }
.policy-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.policy-links a { color: #4338CA; font-weight: 800; }
.price-sticky { display: none; }
.plan-layout { display: grid; grid-template-columns: 1.4fr .7fr; gap: 18px; align-items: start; }
.plan-copy h2 { margin-top: 22px; }
.plan-copy ul { padding-left: 18px; line-height: 1.7; }
.side-card { padding: 20px; position: sticky; top: 88px; }
.side-card .plan-amount { color: #312E81; }
.cycle-list { display: grid; gap: 8px; margin: 12px 0; }
.cycle-list button { text-align: left; border: 1px solid #DBEAFE; background: #F8FAFC; border-radius: 14px; padding: 10px 12px; }
.cycle-list button.is-on { border-color: #4338CA; background: #EEF2FF; }
@media (max-width: 900px) {
  .price-hero, .plan-grid, .steps ol, .plan-layout, .hero-points, .detail-cols, .board-grid { grid-template-columns: 1fr 1fr; }
  .price-hero, .plan-grid, .steps ol, .plan-layout, .hero-points, .detail-cols { grid-template-columns: 1fr; }
  .plan-head { min-height: 0; }
  .plan-blurb, .plan-fit { min-height: 0; }
  .plan-card.is-featured { transform: none; }
  .side-card { position: static; }
  .price-sticky { display: block; position: sticky; bottom: 12px; margin: 0 auto 18px; width: fit-content; background: #4338CA; color: #fff; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 18px; box-shadow: 0 10px 24px rgba(67, 56, 202, .3); }
  .allow-row { grid-template-columns: 1fr; }
  .allow-head { display: none; }
  .allow-row:not(.allow-head) span:nth-child(2)::before { content: "Free · "; color: #4338CA; font-weight: 800; }
  .allow-row:not(.allow-head) span:nth-child(3)::before { content: "Limited · "; color: #4338CA; font-weight: 800; }
  .allow-row:not(.allow-head) span:nth-child(4)::before { content: "Unlimited · "; color: #4338CA; font-weight: 800; }
}
@media (max-width: 640px) {
  .board-grid { grid-template-columns: 1fr; }
}
.pay-phone {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(15, 23, 42, .48); padding: 20px;
}
.pay-phone[hidden] { display: none !important; }
.pay-phone-card {
  width: min(420px, 100%); background: #fff; border: 1px solid #DBEAFE; border-radius: 22px;
  box-shadow: 0 24px 48px rgba(49, 46, 129, .22); padding: 22px;
}
.pay-phone-card h2 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; color: #312E81; font-size: 1.55rem; }
.pay-phone-card p { color: #64748B; line-height: 1.55; }
.pay-phone-card label { display: block; font-weight: 800; color: #312E81; margin: 14px 0 6px; }
.pay-phone-card input {
  width: 100%; box-sizing: border-box; border: 1px solid #C7D2FE; border-radius: 14px;
  padding: 12px 14px; font: inherit; font-weight: 700;
}
.pay-phone-error { min-height: 1.2em; color: #B91C1C; font-weight: 700; margin: 8px 0 0; }
.pay-phone-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.pay-phone-actions .plan-go { background: #4338CA; color: #fff; border-radius: 999px; padding: 12px 18px; }
.pay-phone-actions button:not(.plan-go) { background: transparent; border: 0; color: #64748B; font: inherit; font-weight: 700; cursor: pointer; }
.pay-phone-actions a { color: #4338CA; font-weight: 800; }

