/* Email pages: CompareTable, PriceDetailsPanel, NoteBox, platform sections. */

/* ---------- CompareTable ---------- */
.ct__frame { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); }
.ct__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ct__table thead td, .ct__table thead th { padding: 20px; border-bottom: 1px solid var(--border-strong); text-align: left; vertical-align: top; font-weight: 400; }
.ct__table thead th { border-left: 1px solid var(--border); }
.ct__table .is-here { background: var(--surface-subtle); }
.ct__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ct__here { padding: 2px 8px; border-radius: var(--radius-sm); border: 1px solid var(--focus); font-size: 12px; font-weight: 600; color: var(--text-link); }
.ct__here-text { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.ct__name { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: var(--tracking-heading); color: var(--text-strong); }
.ct__name > span { display: inline-flex; align-items: center; gap: 8px; }
.ct__name--link { gap: 6px; color: var(--text-link); }
.ct__name--link:hover { color: var(--text-link-hover); }
.ct__logo { flex: none; width: 22px; height: 22px; object-fit: contain; }
.ct__table tbody th { padding: 14px 20px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; font-weight: 600; font-size: 14px; line-height: 1.45; color: var(--text-strong); }
.ct__table tbody td { padding: 14px 20px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); vertical-align: top; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.ct__table tbody tr:last-child td:first-child { border-left: 0; }
.ct__cards { display: none; list-style: none; flex-direction: column; gap: 16px; }
.ct__card { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.ct__card.is-here { border: 2px solid var(--action-bg); }
.ct__card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ct__card .ct__name { font-size: 20px; }
.ct__card dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ct__card dl > div { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--border); }
.ct__card dt { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.ct__card dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-strong); }
@media (max-width: 767px) { .ct__frame { display: none; } .ct__cards { display: flex; } }

/* ---------- PriceDetailsPanel ---------- */
.price-details { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 24px; align-items: start; }
.price-details__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface-card); border: 2px solid var(--action-bg); border-radius: var(--radius-md); }
.price-details__amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 16px; color: var(--text-muted); }
.price-details__num { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: var(--tracking-display); color: var(--text-strong); }
.price-details__card p { font-size: 16px; line-height: 1.5; color: var(--text-body); }
.price-details__cta { display: flex; padding-top: 8px; }
.price-details__dl { margin: 0; display: flex; flex-direction: column; padding: 28px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.price-details__dl > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.45; }
.price-details__dl > div:first-child { border-top: 0; }
.price-details__dl dt { color: var(--text-body); }
.price-details__dl dd { margin: 0; font-weight: 600; color: var(--text-strong); }
@media (max-width: 1023px) {
  .price-details__card, .price-details__dl { padding: 20px; }
  .price-details__num { font-size: 44px; }
}
@media (max-width: 767px) { .price-details { grid-template-columns: minmax(0,1fr); } }

/* ---------- NoteBox ---------- */
.note-box { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; padding: 20px 24px; background: var(--surface-card); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }
.note-box > .icon { --icon-size: 22px; margin-top: 1px; color: var(--icon); }
.note-box p { font-size: 16px; line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.note-box strong { font-weight: 600; color: var(--text-strong); }

/* email pages balance their H2s (FAQ heading included) */
.email-page .pp-head .h2 { text-wrap: balance; }

/* ---------- Email Platforms ---------- */
.plat { position: relative; }
.plat-nav {
  position: sticky; top: 60px; z-index: 40; background: var(--surface-page); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.plat-nav.is-stuck { box-shadow: var(--shadow-header); }
.plat-nav__inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--page-x); overflow-x: auto; scrollbar-width: none; }
.plat-nav__inner::-webkit-scrollbar { display: none; }
.plat-nav ul { list-style: none; display: flex; gap: 32px; white-space: nowrap; }
.plat-nav li { flex: none; }
.plat-nav a { position: relative; display: inline-flex; align-items: center; height: 52px; padding: 0 4px; font-weight: 600; font-size: 15px; color: var(--text-body); }
.plat-nav a > span { display: inline-flex; align-items: center; gap: 8px; }
.plat-nav a:hover { color: var(--text-link); }
.plat-nav a[aria-current="true"] { color: var(--text-strong); }
.plat-nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px; background: var(--graphic); opacity: 0; transition: opacity var(--dur) var(--ease); }
.plat-nav a[aria-current="true"]::after { opacity: 1; }
.plat-sec { background: var(--surface-page); border-bottom: 1px solid var(--border); scroll-margin-top: 130px; }
main .plat-sec[id] { scroll-margin-top: 130px; }
.plat-sec--alt { background: var(--surface-subtle); }
.plat-sec__grid { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 64px; align-items: start; padding-top: 72px; padding-bottom: 72px; }
.plat-sec__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plat-sec__h { display: flex; align-items: center; gap: 14px; }
.plat-sec__h .platform-logo { width: 36px !important; height: 36px !important; }
.plat-sec__line { font-size: 16px; line-height: 1.55; color: var(--text-strong); font-weight: 600; }
.plat-sec__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 4px; }
.plat-sec__good { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plat-sec__good h3 { margin: 0; }
.plat-price { display: flex; flex-direction: column; gap: 6px; }
.plat-price__amount { display: flex; align-items: baseline; gap: 6px; font-size: 16px; color: var(--text-muted); }
.plat-price__num { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: var(--tracking-display); color: var(--text-strong); }
.plat-price p { font-size: 15px; line-height: 1.5; color: var(--text-body); }
.plat-details { display: flex; flex-direction: column; gap: 12px; }
.plat-details__h { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--text-strong); }
.plat-cta { display: flex; flex-direction: column; gap: 20px; }
.plat-tm { font-size: 13px; line-height: 1.5; color: var(--text-muted); max-width: 80ch; }
@media (max-width: 1023px) {
  .plat-nav { top: 56px; }
  .plat-nav__inner { padding: 0 var(--page-x-m); }
  .plat-nav ul { gap: 20px; }
  .plat-nav a { height: 44px; }
  main .plat-sec[id] { scroll-margin-top: 114px; }
  .plat-sec__grid { grid-template-columns: minmax(0,1fr); gap: 32px; padding-top: 48px; padding-bottom: 56px; }
  .plat-sec__h { gap: 10px; }
  .plat-sec__h .platform-logo { width: 28px !important; height: 28px !important; }
  .plat-price__num { font-size: 44px; }
  .pp-feature--tight { gap: 32px; }
}
