/* Pricing page — comparison table + competitor section + page hero.
   Loads after styles.css (which supplies the .tier plan cards, buttons, etc.). */

/* ----- breadcrumb + page hero ----- */
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; justify-content: center; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--indigo); }
.crumbs span { color: var(--ink-faint); }
.crumbs .sep { opacity: .6; }
.page-hero { padding-top: 40px; padding-bottom: 4px; text-align: center; }
.page-hero h1 { font-size: clamp(31px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 18px auto 0; max-width: 720px; color: var(--ink); }
.page-hero .secsub { margin-top: 20px; font-size: 17.5px; max-width: 660px; margin-left: auto; margin-right: auto; }

/* the currency switcher + geo-lock rules are shared with the homepage — see styles.css */
.comp-ccy-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); background: #f4f5fb; border: 1px solid #e7e9f4; border-radius: 12px; padding: 11px 15px; max-width: 760px; }
.comp-ccy-note[hidden] { display: none; }

/* ----- borderless comparison table ----- */
.cmp-layout { display: flex; align-items: flex-start; gap: var(--vh-gap); margin-top: 40px; }
.cmp-scroll { flex: 1 1 auto; min-width: 0; max-width: 960px; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ----- vertical typewriter heading beside the table (shared .vh-* in styles.css) ----- */
.cmp-aside { flex: 0 0 200px; align-self: stretch; }
.cmp-aside-vh { position: sticky; top: 96px; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
@media (max-width: 1100px) { .cmp-layout, .vsx-layout { display: block; } .cmp-aside { display: none; } }
.cmp { width: 100%; max-width: 960px; min-width: 800px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 10px 16px; text-align: center; vertical-align: middle; }
.cmp thead th { padding-bottom: 18px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.cmp .feat-h, .cmp .feat { text-align: left; }
.cmp .plan-h { width: 130px; }
.cmp .plan-name { display: block; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cmp .plan-price { display: block; font-size: 13px; font-weight: 600; color: var(--ink-faint); margin-top: 3px; }
.cmp .plan-pop { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .07em; color: #fff; background: var(--indigo); border-radius: 99px; padding: 2px 9px; margin-bottom: 7px; }
.cmp .feat { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.cmp tbody tr { border-bottom: 1px solid #f2f2f8; }
.cmp tbody tr:last-child { border-bottom: 0; }
.cmp .grp td { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); padding: 22px 16px 8px; }
.cmp tbody tr.grp { border-bottom: 0; }
/* The product's own nav badges Accounting as BETA — the group header says so too,
   so the finance rows can't be read as generally-available statutory accounting. */
.cmp .grp .beta { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #b06a16; background: rgba(176,106,22,.1); border: 1px solid rgba(176,106,22,.24); border-radius: 99px; padding: 2px 8px; text-transform: uppercase; vertical-align: 1px; }
/* highlight the Growth column (3rd) */
#compare .cmp thead th:nth-child(3),
#compare .cmp tbody tr:not(.grp) td:nth-child(3) { background: rgba(61, 75, 208, .05); }
#compare .cmp thead th:nth-child(3) .plan-name { color: var(--indigo); }
.cmp .yes { color: #1d8a4e; font-size: 20px; line-height: 1; }
.cmp .no { color: #cdcfde; font-weight: 700; }
.cmp .val { font-size: 13.5px; font-weight: 700; color: var(--ink); }
/* Premier is a "Coming soon" tier, so some of its rows are roadmap rather than
   shipped. `.soonval` marks those explicitly — a tick would read as available. */
.cmp .soonval { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #b06a16; background: rgba(176,106,22,.09); border: 1px solid rgba(176,106,22,.22); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
/* The ✓ / – glyphs are aria-hidden decoration; each cell carries this text for
   screen readers so the table's meaning survives without the glyphs. */
.cmp .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ----- feature comparison vs the competitor stack (highlights the Cobalt column) ----- */
.vs-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 38px; }
.vsx-layout { display: flex; align-items: flex-start; gap: var(--vh-gap); margin-top: 38px; }
.vsx-layout .vs-scroll { flex: 1 1 auto; min-width: 0; margin-top: 0; }
@media (max-width: 1100px) { .vsx-layout { display: block; } }
.cmp-vs { max-width: 1000px; min-width: 740px; }
.cmp-vs .tool-h { width: 118px; }
.cmp-vs thead th:last-child,
.cmp-vs tbody tr:not(.grp) td:last-child { background: rgba(61, 75, 208, .06); }
.cmp-vs thead th:last-child .plan-name { color: var(--indigo); }
.cmp-vs .part { font-size: 12px; font-weight: 700; color: #b06a16; }
.cmp-foot { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.55; }
.cmp td.cmp-note { color: var(--ink-soft); font-weight: 600; font-size: 13px; }

/* ----- competitor pricing ----- */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.comp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px; display: flex; flex-direction: column; }
.comp-card.is-cobalt { border: 1.5px solid var(--indigo); background: linear-gradient(160deg, #fbfbff, #f3f4ff); box-shadow: 0 18px 44px -16px rgba(61, 75, 208, .24); }
.comp-name { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.comp-cat { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; margin-top: 3px; }
.comp-price { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 16px 0 0; }
.comp-price small { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.comp-note { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 12px; text-wrap: pretty; }
.comp-breakdown { font-size: 12px; font-weight: 600; color: var(--ink-faint); margin-top: 7px; }
.comp-breakdown .add { color: #b06a16; }
.is-cobalt .comp-name { color: var(--indigo); }
.comp-disclaimer { font-size: 12px; color: var(--ink-faint); margin-top: 24px; max-width: 820px; line-height: 1.55; }

/* Cobalt differentiator — pulled out of the grid so it clearly stands apart */
.comp-cobalt { margin-top: 16px; border: 1.5px solid var(--indigo); border-radius: 22px; background: linear-gradient(150deg, #fbfbff 0%, #eef0ff 100%); box-shadow: 0 26px 60px -30px rgba(61, 75, 208, .42); padding: 26px 28px; }
.comp-cobalt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.comp-cobalt .comp-name { font-size: 20px; color: var(--indigo); }
.comp-cobalt-pricewrap { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.comp-cobalt-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.comp-cobalt-price small { font-size: 13px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.comp-cobalt-plus { display: inline-block; font-size: 12px; font-weight: 700; color: #1d8a4e; background: #dcf3e7; border-radius: 99px; padding: 4px 12px; white-space: nowrap; }
.comp-cobalt-note { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 14px 0 0; max-width: 780px; text-wrap: pretty; }
.comp-cobalt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.comp-cobalt-tags span { font-size: 12.5px; font-weight: 700; color: var(--indigo); background: rgba(61, 75, 208, .08); border: 1px solid rgba(61, 75, 208, .16); border-radius: 99px; padding: 5px 12px; }

@media (max-width: 560px) { .comp-cobalt { padding: 22px 20px; } .comp-cobalt-price { font-size: 23px; } .comp-cobalt-pricewrap { align-items: flex-start; } }

/* ----- expandable extra rows ----- */
.cmp-extra[hidden] { display: none; }
.cmp-expand-row td { text-align: center; padding: 16px 16px 4px; border-bottom: 0; }
.cmp-expand-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 22px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); font-family: inherit; transition: border-color .15s, color .15s; }
.cmp-expand-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.cmp-expand-icon { font-size: 20px; line-height: 1; }

/* ----- dedicated-cloud add-on note inside plan cards ----- */
/* .tier-addon rules moved to styles.css (shared with index.html) */
