/* ==========================================================================
   Tork marketing — shared page system (v7.2.0)
   Used by index.php (new sections) and the standalone marketing pages.
   Built on the design tokens already defined in style.css.
   ========================================================================== */

/* --- Navigation: platform group ----------------------------------------- */
.nav-group { position: relative; display: inline-flex; }
.nav-group-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--text-soft); font-weight: 600; font-size: 15px;
    transition: color .2s ease;
}
.nav-group.is-current > .nav-group-trigger,
.nav-group:hover > .nav-group-trigger,
.nav-group:focus-within > .nav-group-trigger { color: var(--text); }
.nav-caret { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret,
.nav-group.is-open .nav-caret { transform: rotate(180deg); }
.nav-panel {
    position: absolute; z-index: 60; top: calc(100% + 14px); left: -18px;
    display: grid; gap: 2px; width: 310px; padding: 10px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface-strong); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.is-open .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel::before { content: ""; position: absolute; inset: -16px 0 100%; }
.nav-panel a { display: block; padding: 10px 12px; border-radius: 10px; transition: background .18s ease; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--surface-hover); }
.nav-panel-right { left: auto; right: 0; }
.nav-panel strong { display: block; font-size: 14px; font-weight: 700; }
.nav-panel small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.mobile-menu-label {
    display: block; margin: 14px 0 2px; color: var(--muted);
    font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 1180px) { .nav-panel { width: 280px; } }

/* --- Standalone page shell ---------------------------------------------- */
.page-standalone { background: var(--bg); }
.page-hero { position: relative; padding: 148px 0 74px; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; z-index: 0; top: -220px; left: 50%; width: 900px; height: 620px;
    transform: translateX(-50%); pointer-events: none; opacity: .5; filter: blur(90px);
    background: radial-gradient(circle, rgba(124, 92, 255, .32), transparent 66%);
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero-inner { max-width: 820px; }
.page-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
    padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: var(--surface-soft); color: var(--text-soft);
    font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.page-eyebrow svg { width: 14px; height: 14px; color: var(--purple-bright); }
.page-hero h1 {
    margin: 0 0 20px; font-family: var(--heading); font-weight: 700;
    font-size: clamp(34px, 5.1vw, 60px); line-height: 1.06; letter-spacing: -.035em;
}
.page-hero p.lede { margin: 0; max-width: 680px; color: var(--text-soft); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.72; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* --- Generic section furniture ------------------------------------------ */
.pg-section { position: relative; padding: 84px 0; }
.pg-section.tight { padding: 60px 0; }
.pg-section.alt::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--surface-soft) 22%, var(--surface-soft) 78%, transparent);
}
.pg-head { max-width: 760px; margin: 0 0 40px; }
.pg-head.centered { margin-inline: auto; text-align: center; }
.pg-head h2 {
    margin: 0 0 14px; font-family: var(--heading); font-weight: 700;
    font-size: clamp(27px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -.03em;
}
.pg-head h3 { margin: 0 0 12px; font-family: var(--heading); font-size: clamp(21px, 2.3vw, 27px); letter-spacing: -.02em; }
.pg-head p { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.75; }
.pg-label {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    color: var(--purple-bright); font-size: 12px; font-weight: 800;
    letter-spacing: .13em; text-transform: uppercase;
}
.pg-label i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* --- Card grids ---------------------------------------------------------- */
.pg-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 274px), 1fr)); }
.pg-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.pg-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr)); }
.pg-card {
    display: flex; flex-direction: column; min-width: 0; padding: 26px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); backdrop-filter: blur(12px);
    transition: border-color .25s ease, transform .25s ease;
}
.pg-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pg-card-icon {
    display: grid; width: 44px; height: 44px; margin-bottom: 18px; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 13px;
    background: var(--surface-soft); color: var(--purple-bright);
}
.pg-card-icon svg { width: 21px; height: 21px; }
.pg-card-icon.coral { color: var(--coral); }
.pg-card-icon.green { color: var(--green); }
.pg-card-icon.blue  { color: var(--blue); }
.pg-card-icon.amber { color: var(--amber); }
.pg-card h3 { margin: 0 0 9px; font-family: var(--heading); font-size: 19px; letter-spacing: -.015em; }
.pg-card p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.68; }
.pg-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg-card li { display: flex; gap: 9px; color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.pg-card li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--green); }

/* --- Availability honesty badges ---------------------------------------- */
.avail {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--surface-soft);
    font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.avail::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.avail.now     { color: var(--green);  border-color: rgba(73, 231, 168, .38); }
.avail.soon    { color: var(--amber);  border-color: rgba(255, 193, 102, .38); }
.avail.planned { color: var(--muted); }

/* --- Operating loops ----------------------------------------------------- */
.loop-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.loop-card {
    --loop: var(--purple-bright);
    position: relative; display: flex; flex-direction: column; min-width: 0;
    padding: 30px 28px; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.loop-card::after {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, var(--loop), transparent);
}
.loop-card.coral { --loop: var(--coral); }
.loop-card.green { --loop: var(--green); }
.loop-card > .pg-card-icon { color: var(--loop); }
.loop-card h3 { margin: 0 0 10px; font-family: var(--heading); font-size: 21px; letter-spacing: -.02em; }
.loop-card > p { margin: 0 0 20px; color: var(--text-soft); font-size: 14.5px; line-height: 1.68; }
.loop-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: auto; }
.loop-chain span {
    padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 9px;
    background: var(--surface-soft); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.loop-chain i {
    flex: none; width: 13px; height: 1px; background: var(--loop); opacity: .7;
}

/* --- Flow chain (payroll) ------------------------------------------------ */
.flow-chain { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 156px), 1fr)); counter-reset: flowstep; }
.flow-step {
    position: relative; min-width: 0; padding: 18px 16px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.flow-step::before {
    counter-increment: flowstep; content: counter(flowstep, decimal-leading-zero);
    display: block; margin-bottom: 8px; color: var(--purple-bright);
    font-family: var(--heading); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.flow-step strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.flow-step small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* --- Numbered implementation steps -------------------------------------- */
.step-list { display: grid; gap: 14px; counter-reset: implstep; }
.step-item {
    display: grid; gap: 4px 22px; grid-template-columns: 62px minmax(0, 1fr); align-items: start;
    padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.step-item::before {
    counter-increment: implstep; content: counter(implstep);
    display: grid; grid-row: span 2; width: 52px; height: 52px; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 15px; background: var(--surface-soft);
    color: var(--purple-bright); font-family: var(--heading); font-size: 20px; font-weight: 700;
}
.step-item h3 { margin: 0 0 6px; font-family: var(--heading); font-size: 19px; letter-spacing: -.015em; }
.step-item p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.68; }
@media (max-width: 560px) {
    .step-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px 20px; }
    .step-item::before { grid-row: auto; width: 44px; height: 44px; font-size: 17px; }
}

/* --- Customer proof & testimonials -------------------------------------- */
.proof-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.proof-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.proof-mark {
    display: grid; flex: none; width: 58px; height: 58px; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 17px;
    background: linear-gradient(150deg, rgba(124, 92, 255, .22), rgba(70, 168, 255, .1));
    color: var(--text); font-family: var(--heading); font-size: 19px; font-weight: 700; letter-spacing: .02em;
}
.proof-identity strong { display: block; font-size: 19px; letter-spacing: -.015em; }
.proof-identity small { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; }
.proof-note { max-width: 460px; margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.68; }

.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.review-card {
    display: flex; flex-direction: column; min-width: 0; padding: 30px 28px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--amber); }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.rating-line b { font-family: var(--heading); font-size: 15px; font-weight: 700; }
/* :not(.stars) — a plain `.rating-line span` rule would out-specify .stars and mute the stars. */
.rating-line span:not(.stars) { color: var(--muted); font-size: 13.5px; }
.review-quote { margin: 0 0 24px; color: var(--text); font-size: 16px; line-height: 1.75; }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.review-initials {
    display: grid; flex: none; width: 46px; height: 46px; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-soft);
    font-family: var(--heading); font-size: 15px; font-weight: 700;
}
.review-author strong { display: block; font-size: 15px; }
.review-author small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.review-verdict {
    margin-left: auto; padding: 5px 11px; border-radius: 999px;
    border: 1px solid rgba(73, 231, 168, .35); background: rgba(73, 231, 168, .1);
    color: var(--green); font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
@media (max-width: 460px) {
    .review-verdict { margin: 10px 0 0; }
    .review-author { flex-wrap: wrap; }
}

.rating-summary {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin-top: 20px; padding: 30px 26px; text-align: center;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft);
}
.rating-summary .stars svg { width: 22px; height: 22px; }
.rating-summary strong { font-family: var(--heading); font-size: 30px; letter-spacing: -.03em; }
.rating-summary b { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rating-summary p { max-width: 560px; margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.rating-source { color: var(--muted); font-size: 12px; }

/* --- Two-column split ---------------------------------------------------- */
.split { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split.narrow-left { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
.split figure { margin: 0; min-width: 0; }
.split img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 900px) { .split, .split.narrow-left { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

.demo-frame { position: relative; }
.demo-frame .demo-tag {
    position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 7px;
    background: rgba(7, 7, 17, .8); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em;
}

/* --- Fact list ----------------------------------------------------------- */
.fact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; gap: 12px; color: var(--text-soft); font-size: 15px; line-height: 1.66; }
.fact-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--green); }
.fact-list b { color: var(--text); font-weight: 700; }

/* --- Callout / disclosure ------------------------------------------------ */
.callout {
    display: flex; gap: 16px; padding: 22px 24px;
    border: 1px solid var(--line); border-left: 3px solid var(--purple);
    border-radius: var(--radius-sm); background: var(--surface-soft);
}
.callout svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--purple-bright); }
.callout p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.7; }
.callout strong { color: var(--text); }
.callout.plain { border-left-color: var(--line-strong); }

/* --- Page CTA ------------------------------------------------------------ */
.pg-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
    padding: 40px 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
    background: linear-gradient(140deg, rgba(124, 92, 255, .16), rgba(70, 168, 255, .06));
}
.pg-cta h2 { margin: 0 0 8px; font-family: var(--heading); font-size: clamp(23px, 2.7vw, 31px); letter-spacing: -.025em; }
.pg-cta p { max-width: 520px; margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.pg-cta .page-actions { margin: 0; }
@media (max-width: 720px) { .pg-cta { padding: 30px 24px; } }

/* --- Intent CTA row ------------------------------------------------------ */
.intent-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }
.intent-card {
    display: flex; flex-direction: column; min-width: 0; padding: 22px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.intent-card small { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.intent-card strong { margin: 8px 0 14px; font-size: 15.5px; line-height: 1.5; }
.intent-card a, .intent-card button {
    display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
    border: 0; background: none; padding: 0; cursor: pointer;
    color: var(--purple-bright); font-size: 14px; font-weight: 700; text-align: left;
}
.intent-card a:hover, .intent-card button:hover { color: var(--text); }
.intent-card svg { width: 15px; height: 15px; }

/* --- Tables (comparison / reference) ------------------------------------- */
.table-wrap {
    width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.pg-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.pg-table th, .pg-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.pg-table thead th { background: var(--surface-soft); font-size: 13px; font-weight: 800; }
.pg-table tbody tr:last-child td { border-bottom: 0; }
.pg-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }

/* --- Homepage additions -------------------------------------------------- */
.section-proof { padding: 96px 0; }
.section-proof .proof-band { margin-bottom: 20px; }
.story-teaser {
    display: grid; gap: 30px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
    padding: 38px 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.story-teaser h2 { margin: 0 0 14px; font-family: var(--heading); font-size: clamp(24px, 3vw, 35px); line-height: 1.15; letter-spacing: -.03em; }
.story-teaser p { margin: 0 0 22px; color: var(--text-soft); font-size: 15.5px; line-height: 1.72; }
.story-locations { display: flex; flex-wrap: wrap; gap: 10px; }
.story-locations span {
    padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 11px;
    background: var(--surface-soft); font-size: 13.5px; font-weight: 700;
}
@media (max-width: 860px) { .story-teaser { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; } }

/* --- Feature category groups (homepage) ---------------------------------- */
.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); }
.cat-card { min-width: 0; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cat-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cat-card header svg { width: 19px; height: 19px; color: var(--purple-bright); }
.cat-card h3 { margin: 0; font-family: var(--heading); font-size: 16px; letter-spacing: .01em; }
.cat-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.cat-card li { display: flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 14px; }
.cat-card li svg { flex: none; width: 15px; height: 15px; color: var(--green); }

/* --- Utilities ----------------------------------------------------------- */
.stack-sm > * + * { margin-top: 14px; }
.stack-md > * + * { margin-top: 26px; }
.stack-lg > * + * { margin-top: 40px; }
.text-muted { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.mt-lg { margin-top: 40px; }
.mt-md { margin-top: 26px; }

@media (max-width: 720px) {
    .page-hero { padding: 120px 0 56px; }
    .pg-section { padding: 62px 0; }
    .proof-band { padding: 24px 22px; }
    .review-card, .loop-card { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .pg-card, .nav-panel { transition: none; }
    .pg-card:hover { transform: none; }
}

/* ==========================================================================
   Pricing page
   Note: style.css defines base .plan-price / .plan-capacity / .plan-note /
   .plan-trial sizes that are only corrected inside .pricing-section (the
   homepage). The rules below re-scale them for the standalone pricing page.
   ========================================================================== */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.plan-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; margin-top: 30px; }
.plan-card {
    position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px 30px;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.plan-card.featured { border-color: rgba(124, 92, 255, .5); box-shadow: var(--shadow-purple); }
.plan-flag {
    position: absolute; top: 18px; right: 20px; padding: 5px 11px; border-radius: 999px;
    background: rgba(124, 92, 255, .18); color: var(--purple-bright);
    font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase;
}
.plan-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.plan-mark {
    display: grid; flex: none; width: 46px; height: 46px; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-soft);
    color: var(--purple-bright); font-family: var(--heading); font-size: 20px; font-weight: 700;
}
.plan-card h2 { margin: 0; font-family: var(--heading); font-size: 24px; letter-spacing: -.025em; }
.plan-headline { margin: 3px 0 0; color: var(--purple-bright); font-size: 13px; font-weight: 700; }
.plan-fit { margin: 0 0 10px; color: var(--text); font-size: 14.5px; line-height: 1.6; }
.plan-desc { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.plan-card .plan-price { margin: 26px 0 4px; }
.plan-card .plan-price .currency { margin-top: 9px; font-size: 18px; }
.plan-card .plan-price strong { font-size: 54px; }
.plan-card .plan-price small { font-size: 13px; }
.plan-card .plan-price em { margin-top: 3px; font-size: 11.5px; }
.plan-annual { margin: 0 0 20px; color: var(--muted); font-size: 12.5px; }

.plan-card .plan-capacity { display: grid; gap: 8px; padding: 13px 15px; border-radius: 12px; font-size: 13px; font-weight: 650; }
.plan-card .plan-capacity svg { width: 15px; height: 15px; }
.plan-card > .button { margin: 20px 0 0; justify-content: center; }
.plan-card .plan-trial { justify-content: center; margin: 12px 0 0; font-size: 12.5px; }
.plan-card .plan-note { margin-top: auto; padding-top: 18px; font-size: 11px; }

.plan-groups { display: grid; gap: 18px; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-inherits { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 13.5px; font-weight: 700; }
.plan-inherits svg { width: 15px; height: 15px; color: var(--green); }
.plan-empty { margin: 0; color: var(--muted); font-size: 13px; }
.plan-group h3 {
    display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
    color: var(--muted); font-family: var(--body); font-size: 11px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
}
.plan-group h3 span {
    padding: 2px 7px; border: 1px solid var(--line); border-radius: 999px;
    color: var(--text-soft); font-size: 10px; letter-spacing: 0;
}
.plan-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan-group li { display: flex; gap: 9px; color: var(--text-soft); font-size: 13.5px; line-height: 1.5; }
.plan-group li svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--green); }

.page-standalone .billing-toggle { margin: 0 auto; display: flex; }
.page-standalone .billing-toggle button { min-width: 132px; padding: 11px 16px; font-size: 13px; }
.pg-section > .shell > .billing-toggle { justify-self: center; }

.compare-hint { display: none; margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.compare-table { min-width: 720px; }
.compare-table th[scope="row"] { text-align: left; font-weight: 400; }
.compare-table th[scope="row"] strong { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.compare-table th[scope="row"] small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.compare-table thead th:not(:first-child), .compare-table tbody td { text-align: center; }
.compare-table thead th:first-child, .compare-table th[scope="row"] {
    position: sticky; left: 0; z-index: 1; background: var(--surface-strong); min-width: 230px;
}
.compare-table thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-strong); }
.compare-table thead th:first-child { z-index: 3; }
.compare-category td {
    background: var(--surface-soft); color: var(--text-soft);
    font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.tick { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(73, 231, 168, .14); color: var(--green); }
.tick svg { width: 13px; height: 13px; stroke-width: 2.6; }
.dash { color: var(--muted); opacity: .55; }

.addon-amount { margin: 14px 0 0; font-family: var(--heading); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.addon-amount small { margin-left: 4px; color: var(--muted); font-family: var(--body); font-size: 12px; font-weight: 600; }

@media (max-width: 760px) {
    .compare-hint { display: block; }
    .plan-card { padding: 26px 22px; }
    .compare-table { min-width: 560px; }
    .compare-table thead th:first-child, .compare-table th[scope="row"] { min-width: 180px; }
    .pg-table th, .pg-table td { padding: 12px 14px; }
}

/* Billing-currency disclosure under the homepage plan grid. */
.pricing-currency-note {
    max-width: 62ch;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================================
   Light-theme accent corrections
   style.css tunes --purple-bright, --green and --amber for the dark ground.
   On the light theme those same values fall under the WCAG minimums (amber
   stars measured 1.61:1 on white, the verdict pill 1.58:1, .pg-label 3.0:1).
   These tokens keep the dark theme exactly as designed and only darken the
   accents for the components defined in this stylesheet.
   ========================================================================== */
:root {
    --pg-accent-text: var(--purple-bright);
    --pg-star:        var(--amber);
    --pg-positive:    var(--green);
}
html[data-theme="light"] {
    --pg-accent-text: #5a45d1;
    --pg-star:        #b0710f;
    --pg-positive:    #0f6b45;
}

.pg-label,
.plan-headline,
.intent-card a,
.intent-card button,
.page-eyebrow svg,
.pg-card-icon,
.flow-step::before,
.step-item::before,
.callout svg          { color: var(--pg-accent-text); }

.stars                { color: var(--pg-star); }

.pg-card li svg,
.fact-list svg,
.cat-card li svg,
.plan-group li svg,
.plan-inherits svg,
.confirm .mark,
.tick                 { color: var(--pg-positive); }

html[data-theme="light"] .review-verdict {
    border-color: rgba(15, 107, 69, .32);
    background: rgba(15, 107, 69, .08);
    color: var(--pg-positive);
}
html[data-theme="light"] .tick { background: rgba(15, 107, 69, .12); }
html[data-theme="light"] .avail.now { color: var(--pg-positive); border-color: rgba(15, 107, 69, .38); }
html[data-theme="light"] .rating-summary strong { color: var(--text); }

/* Resource hubs and long-form articles. */
.resource-grid .pg-card, .post-card { display: flex; flex-direction: column; }
.resource-grid .text-link, .post-card .text-link { margin-top: auto; }
.post-card small { display: block; margin: 12px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.post-card h2 { margin-top: 14px; }

.article-hero { padding: 128px 0 72px; background: linear-gradient(180deg,var(--bg),var(--bg-2)); }
.article-shell { max-width: 900px; }
.article-hero h1 { max-width: 820px; margin: 20px 0 18px; font-family: var(--heading); font-size: clamp(42px,6vw,72px); line-height: 1.02; letter-spacing: -.055em; }
.article-hero .lede { max-width: 760px; }
.article-meta { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.article-layout, .guide-layout { display: grid; grid-template-columns: 220px minmax(0,780px); justify-content: center; align-items: start; gap: 70px; padding-top: 72px; padding-bottom: 110px; }
.article-index { position: sticky; top: 110px; display: grid; gap: 9px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.article-index strong { margin-bottom: 5px; color: var(--text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.article-index a { color: var(--muted); font-size: 13px; line-height: 1.45; }
.article-index a:hover { color: var(--text); }
.article-body > section { scroll-margin-top: 110px; padding: 0 0 46px; margin: 0 0 46px; border-bottom: 1px solid var(--line); }
.article-body h2 { margin: 0 0 18px; font-family: var(--heading); font-size: clamp(25px,3vw,35px); line-height: 1.16; letter-spacing: -.03em; }
.article-body p, .article-body li { color: var(--text-soft); font-size: 16px; line-height: 1.8; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { display: grid; gap: 10px; margin: 20px 0; padding-left: 24px; }
.article-body .callout { padding: 20px 22px; }
.article-cta { margin-top: 60px; }
.error-page { min-height: 72vh; display: grid; align-items: center; }

@media (max-width: 860px) {
    .article-layout, .guide-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 45px; }
    .article-index { position: static; }
    .article-hero { padding: 112px 0 58px; }
}
