:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --blue: #2468ee;
  --font-sans: Inter, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #f6f8fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid #2468ee; outline-offset: 4px; }

main { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 82px 0 96px; }
.pricing-hero { text-align: center; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 0 auto 22px; font-size: clamp(36px, 3.5vw, 50px); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
h1 span { display: inline-block; }
html[lang="en"] h1 span + span { margin-left: .22em; }
.pricing-hero > p:last-child { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.7; text-wrap: balance; }

.billing-controls { display: flex; justify-content: center; margin: 30px 0 28px; }
.billing-period { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #eaf0f6; }
.billing-period label { position: relative; cursor: pointer; }
.billing-period input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.billing-period label > span { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.billing-period input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 5px #172c4810; }
.billing-period input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.billing-period small { padding: 2px 6px; border: 1px solid #d6e3fb; border-radius: 999px; background: #f5f8ff; color: #2059c1; font-size: 12px; font-variant-numeric: tabular-nums; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.plan-card.featured { border-color: var(--blue); box-shadow: 0 8px 30px #2468ee0a; }
.plan-heading { position: relative; min-height: 72px; }
.plan-name { font-size: 23px; font-weight: 720; letter-spacing: -.02em; }
.plan-audience { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.popular-badge { position: absolute; top: 1px; right: 0; padding: 5px 9px; border: 1px solid #d6e3fb; border-radius: 999px; color: #2059c1; background: #f7faff; font-size: 12px; font-weight: 600; }
.price-block { display: flex; align-items: baseline; gap: 8px; margin-top: 23px; }
.price-block strong { font-size: 54px; line-height: 1.1; letter-spacing: -.045em; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-block > span { color: var(--muted); font-size: 14px; }
.price-caption { margin-top: 10px; color: #354154; font-size: 15px; line-height: 22px; }
.alternate-price { min-height: 22px; margin: 4px 0 24px; color: var(--muted); font-size: 14px; line-height: 22px; }
.plan-action { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 650; line-height: 24px; }
.plan-action.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.plan-action.primary:hover { background: #1554cc; }
.plan-action.secondary { background: #fff; color: #293548; }
.plan-action.secondary:hover { background: #f6f8fb; border-color: #acb8c8; }
.plan-action:disabled { cursor: wait; opacity: .65; }
.plan-features { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e9edf2; }
.included-label { margin-bottom: 18px; color: #354154; font-size: 14px; font-weight: 600; }
.feature-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 24px; color: #4b5768; font-size: 15px; line-height: 1.6; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #708299; font-weight: 700; }
.featured .feature-list li::before { color: var(--blue); }
.feature-list strong { color: var(--ink); font-weight: 650; }
html[lang="en"] .feature-list strong + span { margin-left: 4px; }
html[lang="en"] [data-trial-days]::after { content: "-"; }
.upgrade-feedback { margin-bottom: 18px; padding: 12px; border-radius: 8px; background: #f2f6fd; color: #4b5768; font-size: 12px; line-height: 1.7; }
.upgrade-feedback:empty { display: none; }

.trial-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 24px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 12px; background: #eef3fa; text-align: center; }
.trial-strip strong { color: #354154; font-size: 13px; font-weight: 650; }
.trial-strip p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.comparison-section { margin-top: 76px; }
.section-heading { margin-bottom: 28px; text-align: center; }
.section-heading h2 { margin-top: 0; font-size: 31px; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.section-heading > p:last-child { margin-top: 12px; color: var(--muted); font-size: 15px; }
.comparison-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
th, td { height: 58px; padding: 14px 24px; border-bottom: 1px solid #e9edf2; font-size: 13px; line-height: 1.6; text-align: center; }
thead th { color: #354154; background: #f0f4f9; font-weight: 650; }
th:first-child { width: 42%; text-align: left; }
tbody th { color: #354154; font-weight: 500; }
td { color: var(--muted); }
td:last-child, thead th:last-child { background: #f7faff; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.pro-value { color: var(--blue); font-weight: 650; }

footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
footer a:hover { color: var(--blue); }

@media (max-width: 760px) {
  main { width: min(540px, calc(100% - 36px)); padding: 44px 0 56px; }
  h1 { font-size: clamp(29px, 7.5vw, 40px); }
  h1 span { display: block; }
  html[lang="en"] h1 span + span { margin-left: 0; }
  .pricing-hero > p:last-child { font-size: 14px; }
  .desktop-break { display: none; }
  .billing-controls { margin: 24px 0; }
  .billing-period label > span { padding: 0 17px; }
  .plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan-card { padding: 26px; }
  .price-block strong { font-size: 48px; }
  .trial-strip { padding: 18px; }
  .comparison-section { margin-top: 54px; }
  .section-heading h2 { font-size: 25px; }
  th, td { padding: 13px 10px; font-size: 12px; }
  th:first-child { width: 36%; }
  footer { width: calc(100% - 36px); gap: 18px; }
  .footer-links { gap: 14px; }
}
