/* The page of the prices */
/* ══ PRICING — what is its own (the kit: styles/site/site.css) ══ */

/* Billing: one switch, every 4 weeks on the left, once a year on the right (the words beside it choose
   their side too). Both sides are a choice, not on and off: the track stays ink, the knob moves, the
   word of the side chosen is dark, the other one grey. */
.pr-billing { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; }
.pr-bill {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; user-select: none;
  font-size: 15px; font-weight: 600; color: var(--text-muted); transition: color 0.18s;
}
.pr-bill:hover { color: var(--text-dim); }
.pr-bill.is-on { color: var(--text); }
.pr-switch {
  position: relative; flex-shrink: 0; width: 52px; height: 30px; padding: 0; border: none; border-radius: 100px;
  background: var(--ink); cursor: pointer; transition: background 0.2s;
}
.pr-switch:hover { background: var(--ink-hover); }
.pr-switch::after { content: ''; position: absolute; inset: -7px -4px; }   /* a 44px target for the finger */
.pr-switch-knob {
  position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.pr-switch-knob::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--accent); }
.pr-switch[aria-checked="true"] .pr-switch-knob { transform: translateX(22px); }

/* The three plans (Free, One, X), their rows aligned from one card to the next (subgrid) */
.pr-plans-section { padding: 0 24px 40px; background: var(--bg); }
.pr-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
  grid-template-rows: auto auto auto auto 1fr auto;
  column-gap: 16px;
}
.pr-plan {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px 24px;
  transition: box-shadow 0.25s, border-color 0.2s;
}
.pr-plan:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.07); border-color: var(--border-hov); }
.pr-name { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.pr-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); margin: 8px 0 0; }
.pr-price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.pr-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.pr-period { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.pr-billed { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; min-height: 1.4em; }
/* Monthly or yearly (pricing.js): the plans and the comparison carry .is-annual when yearly */
.pr-when-monthly { display: none; }
:is(.pr-plans, .pr-table):not(.is-annual) .pr-when-annual { display: none; }
:is(.pr-plans, .pr-table):not(.is-annual) .pr-when-monthly { display: inline; }
.pr-feats { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; align-self: start; }
.pr-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.pr-feat::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 0; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111113' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.pr-feat--no { color: var(--text-muted); }
.pr-feat--no::before { background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E75' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pr-btn { margin-top: 24px; width: 100%; align-self: end; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
.pr-btn--soft { background: var(--bg-2); color: var(--text); }
.pr-btn--soft:hover { background: #E8E9E7; box-shadow: none; }
/* One and X keep the same colours in the cards and the comparison. */
.pr-plan--pro, .pr-table .is-pro {
  --pr-tier-bg: var(--accent);
  --pr-tier-ink: var(--text);
  --pr-tier-muted: color-mix(in srgb, var(--text) 84%, var(--accent));
  --pr-tier-mark: var(--card);
}
.pr-plan--x, .pr-table .is-x {
  --pr-tier-bg: var(--night);
  --pr-tier-ink: var(--card);
  --pr-tier-muted: var(--night-dim);
  --pr-tier-mark: var(--accent);
}
:is(.pr-plan--pro, .pr-plan--x, .pr-table .is-pro, .pr-table .is-x) {
  --pr-tier-line: color-mix(in srgb, var(--pr-tier-ink) 17%, transparent);
  --pr-tier-wash: color-mix(in srgb, var(--pr-tier-ink) 8%, transparent);
  background: var(--pr-tier-bg);
}
:is(.pr-plan--pro, .pr-plan--x) { border-color: var(--pr-tier-bg); }
:is(.pr-plan--pro, .pr-plan--x):hover { border-color: var(--pr-tier-bg); }
:is(.pr-plan--pro, .pr-plan--x) :is(.pr-name, .pr-amount, .pr-feat) { color: var(--pr-tier-ink); }
:is(.pr-plan--pro, .pr-plan--x) :is(.pr-desc, .pr-period, .pr-billed) { color: var(--pr-tier-muted); }
:is(.pr-plan--pro, .pr-plan--x) .pr-soon,
:is(.pr-plan--pro, .pr-plan--x) .pr-feat::before { background-color: var(--pr-tier-mark); }
.pr-plan--x .pr-btn, .is-x .pr-cmp-btn { background: var(--card); color: var(--text); }
.pr-plan--x .pr-btn:hover, .is-x .pr-cmp-btn:hover { background: var(--bg-2); }
.pr-plan--x .pr-btn:focus-visible, .is-x .pr-cmp-btn:focus-visible { outline-color: var(--card); }
.pr-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 100px; background: var(--accent); color: var(--text);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pr-notes { max-width: 640px; margin: 28px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.pr-notes p { margin: 0; }
.pr-notes p + p { margin-top: 4px; }

/* Side by side. On the ground of the page, no card: the plans at the head of their column (name and price),
   kept in sight while the rows go by (sticky); the rows grouped by what each plan adds. Each paid
   column matches its card, with a button at the foot. */
.pr-compare { margin-top: 8px; }
.pr-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; }
.pr-table col.pr-col-feat { width: 36%; }
.pr-table th, .pr-table td { padding: 15px 16px; text-align: center; vertical-align: middle; }
.pr-table thead th {
  position: sticky; top: 0; z-index: 2; padding: 22px 16px 18px; vertical-align: bottom;
  background: var(--bg); box-shadow: inset 0 -1px 0 var(--border-hov);
}
.pr-table thead th.pr-head-feat { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pr-col-tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 100px; background: var(--accent); color: var(--text); font-size: 11px; font-weight: 700; white-space: nowrap; }
.pr-col-name { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.pr-col-price { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-col-price b { font-size: 14px; font-weight: 700; color: var(--text); }
/* the groups: what each plan adds */
.pr-grp-head th { padding: 36px 16px 10px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pr-grp:first-of-type .pr-grp-head > * { padding-top: 22px; }
.pr-grp-head > * { border-bottom: 1px solid var(--border-hov); }
.pr-table tbody th[scope="row"] { text-align: left; font-weight: 500; line-height: 1.45; color: var(--text); }
.pr-table tbody tr:not(.pr-grp-head) > * { border-bottom: 1px solid var(--border); }
.pr-table tbody tr:not(.pr-grp-head):hover > :not(.is-pro, .is-x) { background: rgba(17,17,19,0.025); }
.pr-soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 100px; background: var(--mint-soft); color: var(--text); font-size: 11px; font-weight: 700; vertical-align: 1px; white-space: nowrap; }
/* Carry each paid tier's colour through its header, groups, features and footer. */
.pr-table thead :is(.is-pro, .is-x) { background: var(--pr-tier-bg); border-radius: 18px 18px 0 0; box-shadow: inset 0 -1px 0 var(--pr-tier-line); }
.pr-table :is(.is-pro, .is-x) :is(.pr-col-name, .pr-col-price b) { color: var(--pr-tier-ink); }
.pr-table :is(.is-pro, .is-x) .pr-col-price { color: var(--pr-tier-muted); }
.pr-table tbody :is(.is-pro, .is-x) { border-bottom-color: var(--pr-tier-line); }
.pr-table tfoot td { padding: 22px 12px 24px; }
.pr-table tfoot :is(.is-pro, .is-x) { border-radius: 0 0 18px 18px; }
.pr-yes, .pr-no { display: inline-block; vertical-align: middle; }
.pr-yes { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111113' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pr-no { width: 12px; height: 2px; border-radius: 2px; background: var(--border-hov); }
:is(.is-pro, .is-x) .pr-yes { background-color: var(--pr-tier-mark); }
:is(.is-pro, .is-x) .pr-no { background: var(--pr-tier-muted); }
/* the button of each plan, at the foot of its column */
.pr-cmp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 100px;
  background: var(--ink); color: #fff; font-family: var(--font); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
}
.pr-cmp-btn:hover { background: var(--ink-hover); }
.pr-cmp-btn--soft { background: var(--bg-2); color: var(--text); }
.pr-cmp-btn--soft:hover { background: #E8E9E7; }
/* Narrow screens keep the three plans beside the features without horizontal scrolling. */
@media (max-width: 760px) {
  .pr-table { font-size: 13.5px; }
  .pr-table col.pr-col-feat { width: 40%; }
  .pr-table th, .pr-table td { padding: 13px 6px; }
  .pr-table tbody th[scope="row"], .pr-grp-head th, .pr-table thead th.pr-head-feat { padding-left: 0; padding-right: 10px; }
  .pr-table thead th { padding: 18px 4px 14px; }
  .pr-table .pr-grp-head th { padding-top: 30px; padding-bottom: 9px; white-space: nowrap; }   /* over the empty cells beside it */
  .pr-col-tag, .pr-table tfoot { display: none; }
  .pr-table thead :is(.is-pro, .is-x) { border-radius: 14px 14px 0 0; }
  .pr-table tbody:last-of-type tr:last-child > :is(.is-pro, .is-x) { border-radius: 0 0 14px 14px; border-bottom: none; }
}
@media (max-width: 640px) {
  .pr-table { font-size: 13px; }
  .pr-col-name { font-size: 14px; }
  .pr-col-price { font-size: 11.5px; }
  .pr-col-price b { font-size: 12.5px; }
  .pr-col-price > span { display: none; }
  .pr-table .pr-grp-head th { padding-top: 28px; font-size: 11px; }
  .pr-yes { width: 20px; height: 20px; background-size: 10px; }
  .pr-soon { display: table; margin: 4px 0 0; }
}

@media (max-width: 860px) {
  .pr-plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; max-width: 520px; }
  .pr-plan { display: flex; flex-direction: column; grid-row: auto; }
  .pr-feats { flex: 1; }
}
@media (max-width: 640px) {
  .pr-plans-section { padding: 0 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-switch-knob { transition: none; }
}
  
/* Slyra for Business */
.pr-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.pr-biz-side .mk-lead { margin-top: 14px; }
.pr-biz-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--text); }
.pr-biz-list li { display: flex; align-items: baseline; gap: 10px; }
.pr-biz-list li::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.pr-biz-form { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.pr-biz-t { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.pr-biz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr-biz-send { align-self: flex-end; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-label { font-size: 14px; font-weight: 600; color: var(--text); }
.ct-input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--card); font-family: var(--font); font-size: 15px; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; }
.ct-input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--mint-soft); }
.ct-input[aria-invalid="true"] { border-color: var(--error, #b85c50); }
.ct-error { margin: 0; font-size: 13px; color: #b85c50; }
@media (max-width: 860px) { .pr-biz { grid-template-columns: minmax(0, 1fr); gap: 28px; } .pr-biz-form { padding: 22px 20px; } .pr-biz-two { grid-template-columns: 1fr; } .pr-biz-send { align-self: stretch; justify-content: center; } }

/* Owner-supplied plan wordmarks, visually cropped without altering the PNG sources. */
.pr-name { flex-wrap: wrap; row-gap: 10px; }
.pr-brand { display: inline-flex; align-items: baseline; gap: 1px; white-space: nowrap; font-weight: 700; letter-spacing: -.04em; line-height: 1.25; }
.pr-plan-art { position: relative; display: inline-block; height: .8em; flex-shrink: 0; overflow: hidden; align-self: auto; }
.pr-plan-art img { position: absolute; max-width: none; width: auto; }
.pr-plan-art--one { width: 2.0738em; }
.pr-plan-art--one img { height: 2.381em; top: -.7262em; left: -.169em; }
.pr-plan-art--x { width: .8169em; }
.pr-plan-art--x img { height: 1.8779em; top: -.5653em; left: -.539em; }
.pr-plan--x .pr-plan-art, .is-x .pr-plan-art { filter: invert(1); }
.pr-brand-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pr-col-name .pr-brand { justify-content: center; }
@media (max-width: 640px) {
  .pr-col-name { font-size: 12px; line-height: 1.5; }
  .pr-col-name .pr-brand { align-items: baseline; gap: 1px; }
}

@media (max-width: 640px) { .pr-col-name .pr-brand { font-size: 10px; } }

/* Feature labels wrap independently of their availability badge. */
.pr-feat[data-feature] { flex-wrap: wrap; column-gap: 10px; row-gap: 6px; }
.pr-feat[data-feature] > span:first-child { flex: 1; min-width: 0; }
.pr-feat[data-feature] .pr-soon { margin: 0 0 0 28px; }

.pr-plan--pro .pr-popular, .is-pro .pr-col-tag { background: var(--night); color: var(--card); }


/* A purpose per group: tracking, understanding, planning and AI. */
.pr-features { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); align-self: start; }
:is(.pr-plan--pro, .pr-plan--x) .pr-features { border-top-color: var(--pr-tier-line); }
.pr-feature-group + .pr-feature-group { margin-top: 24px; }
.pr-feature-group h3 { font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .01em; color: var(--text-muted); margin: 0 0 10px; }
:is(.pr-plan--pro, .pr-plan--x) .pr-feature-group h3 { color: var(--pr-tier-muted); }
.pr-feature-group .pr-feats { border: 0; padding: 0; margin: 0; gap: 10px; }
.pr-inherits { color: var(--text); font-size: 13px; font-weight: 600; margin: 0 0 22px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); line-height: 1.5; }
:is(.pr-plan--pro, .pr-plan--x) .pr-inherits { color: var(--pr-tier-ink); background: var(--pr-tier-wash); }
.pr-limit { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 20px 0 0; }
.pr-feat[data-feature] { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 3px 10px; align-items: start; }
.pr-feat[data-feature] > span:first-child { grid-column: 2; }
.pr-feat[data-feature] .pr-soon { grid-column: 2; margin: 2px 0; justify-self: start; }
.pr-feat[data-feature]::before { grid-column: 1; grid-row: 1; }
.pr-grp-head th { white-space: normal !important; }
@media (max-width: 860px) { .pr-features { flex: 1; } }
