/* Dottpace landing — pricing: the plan cards (Home and /pricing, one markup from build.py plans_html), the founding strip and the
   compare table (/pricing). Loaded after home.css; every colour is a token except the identity's material (Dottpace-Identity v1.0,
   04-Colours/tokens.json): Matte Black on light, Graphite on dark, with fine grain — and the mark on it is one flat white. */

/* ---------- /pricing: the plans follow the page head without a rule (home.css's later .sec rule would put one back) ---------- */
.sec.pc-sec{border-top:0;padding-top:clamp(40px,5vw,64px)}

/* ---------- the billing switch and its note ---------- */
.pc-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.sec-head+.pc-top{margin-top:var(--head-gap,56px)}
.pc-note{font-size:13px;color:var(--text-3)}

/* ---------- the cards: name and who it's for · price · button · includes — the four rows line up across cards (subgrid) ---------- */
.pcs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 0;padding:0;list-style:none}
.pc{display:flex;flex-direction:column;padding:24px 22px 22px;border-radius:var(--r-card);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);
  transition:box-shadow var(--dur-2) var(--ease-out)}
.pc:hover{box-shadow:inset 0 0 0 1px var(--line-strong)}
@supports (grid-template-rows:subgrid){
  .pc{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0}
}
.pc-open{background:transparent;box-shadow:inset 0 0 0 1px var(--line-strong)}

.pc-n{font-size:16px;font-weight:600;letter-spacing:-.012em;color:var(--text-1)}
.pc-for{margin-top:4px;font-size:13.5px;line-height:1.4;color:var(--text-3)}

.pc-price{margin-top:22px}
.pc-p{display:flex;align-items:baseline;min-height:42px;font-variant-numeric:tabular-nums}
.pc-p .pm{display:inline-flex}
.pc-p .pm,.pc-p .py{align-items:baseline;gap:3px}
.pc-p b{font-size:40px;font-weight:600;line-height:1;letter-spacing:-.04em;color:var(--text-1)}
.pc-p span span{font-size:14px;color:var(--text-3)}
.pc-p-open{font-size:26px;font-weight:600;line-height:42px;letter-spacing:-.025em;color:var(--text-1)}
.pc-bill{margin-top:6px;font-size:13px;color:var(--text-3);font-variant-numeric:tabular-nums}
.pc-bill .pm{display:inline}
.pc-found{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:14px;font-size:13.5px;color:var(--text-2);font-variant-numeric:tabular-nums}
.pc-found b{font-weight:600;color:var(--text-1)}
.pc-tag{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--r-full);background:var(--inv);color:var(--inv-fg);font-size:11.5px;font-weight:600;letter-spacing:.005em}

.pc-b{width:100%;margin-top:22px}

.pc-inc{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.pc-inc-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 8px;font-size:12.5px;font-weight:500;color:var(--text-1)}
.pc-inc-h span{font-weight:400;color:var(--text-3)}
.pc-l{margin:8px 0 0;padding:0;list-style:none}
.pc-l li{display:flex;align-items:flex-start;gap:9px;padding:5px 0;font-size:13.5px;line-height:1.45;color:var(--text-2)}
.pc-l .ic{flex:none;width:14px;height:14px;margin-top:2.5px;color:var(--text-1)}

/* ---------- the founding strip: the identity's material ---------- */
.pc-strip{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:16px;margin-top:12px;padding:18px 24px;border-radius:var(--r-card);
  background:radial-gradient(70% 180% at 50% -70%,rgba(255,255,255,.075),transparent 70%),linear-gradient(180deg,#141415 0%,#08080a 55%,#020202 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.04)}
.pc-strip::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.14;pointer-events:none;background-size:180px 180px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.pc-mark{flex:none;width:19px;height:22px;color:#fff}
.pc-strip p{font-size:14.5px;line-height:1.5;color:rgba(245,245,247,.74)}
.pc-strip b{font-weight:600;color:#fff}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .pc-strip{background:radial-gradient(70% 180% at 50% -70%,rgba(255,255,255,.07),transparent 70%),linear-gradient(180deg,#3b3b3e 0%,#2a2a2d 55%,#1d1d1f 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
  :root:not([data-theme="light"]) .pc-strip::after{opacity:.16}
}
:root[data-theme="dark"] .pc-strip{background:radial-gradient(70% 180% at 50% -70%,rgba(255,255,255,.07),transparent 70%),linear-gradient(180deg,#3b3b3e 0%,#2a2a2d 55%,#1d1d1f 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
:root[data-theme="dark"] .pc-strip::after{opacity:.16}

/* ---------- the compare table (/pricing): grouped, tighter ---------- */
.pc-sec .cmp{margin-top:80px}
.cmp-t{font-size:13.5px;border-collapse:collapse}
.cmp-t th,.cmp-t td{padding:9px 14px 9px 0}
.cmp-t thead th{padding-bottom:12px;vertical-align:bottom}
.cmp-t thead th b{display:block;font-size:14.5px;font-weight:600;color:var(--text-1)}
.cmp-t thead th small{display:block;margin-top:2px;font-size:12.5px;font-weight:400;color:var(--text-3);font-variant-numeric:tabular-nums}
.cmp-t thead th small .pm{display:inline}
.cmp-t .cmp-g th{width:auto;padding:24px 0 8px;font-size:12.5px;font-weight:600;color:var(--text-1);border-bottom-color:var(--line-strong)}
.cmp-t tbody:first-of-type .cmp-g th{padding-top:16px}
.cmp-t td .ic{width:15px;height:15px;color:var(--text-1)}
.pc-sec .incl-note{max-width:80ch;line-height:1.55}

/* ---------- motion: a switch of period cross-fades the prices (the cards themselves never wait on motion). Off with reduced motion,
   and without the .motion class the head script sets. ---------- */
@media (prefers-reduced-motion:no-preference){
  .motion .pc-p .pm,.motion .pc-p .py{animation:pc-swap var(--dur-3) var(--ease-out)}
  .motion .pc-bill .pm,.motion .pc-bill .py,.motion .cmp-t thead small .pm,.motion .cmp-t thead small .py{animation:pc-fade var(--dur-3) var(--ease-out)}
}
@keyframes pc-swap{from{opacity:.2;transform:translateY(4px)}}
@keyframes pc-fade{from{opacity:.2}}

/* ---------- widths ---------- */
@media (max-width:1080px){.pcs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  .pcs{grid-template-columns:minmax(0,1fr)}
  .pc{padding:22px 20px 20px}
  .pc-top{flex-direction:column;align-items:flex-start}
  .pc-strip{align-items:flex-start;padding:16px 18px}
  .pc-mark{margin-top:2px}
  .pc-sec .cmp{margin-top:64px}
}

/* Yearly selected (the review, Oct 16): the founding price stays in view but says, right beside it, that it's monthly billing only */
.pc-mo{align-items:center;height:20px;padding:0 8px;border-radius:var(--r-full);box-shadow:inset 0 0 0 1px var(--line-strong);font-size:11.5px;font-weight:500;color:var(--text-2);white-space:nowrap}
:root[data-period="year"] .pc-found>span:nth-child(2),:root[data-period="year"] .pc-found b{color:var(--text-3)}
/* the compare table: an agency-only line on a site plan */
.cmp-no{font-size:13px;color:var(--text-3)}
