/* ──────────────────────────────────────────────────────────────────────
   /pricing, on top of landing.css + night.css.

   Rebuilt 2026-11-11 against Linear, Resend and Vercel's pricing pages:
   neutral greys rather than a blue tint, one bordered surface split by
   hairlines rather than a card inside a card, one primary button, light
   prices, small section headings and no eyebrows. The one accent
   (periwinkle) marks the things that answer a question: the activation
   link on each plan, the best-fit row, the saving.
   ────────────────────────────────────────────────────────────────────── */

main {
  --p-line: rgba(255, 255, 255, .08);
  --p-surface: rgba(255, 255, 255, .02);
  --p-ink: #EDEDEF;
  --p-mute: #9A9AA3;
  --p-faint: #6C6C75;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── shared section type ───────────────────────────────────────────── */
main .h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; color: var(--p-ink); }
main .h2 + .lede { margin-top: 12px; }
main .lede { font-size: 16px; line-height: 1.6; color: var(--p-mute); }
.acts .band, .calc .band { padding-block: 64px; }

/* ── 1 · title: centred, two lines ─────────────────────────────────── */
.ph { background: var(--night); }
.ph .in { padding-block: 88px 64px; text-align: center; }
.ph .h1 { font-size: 64px; line-height: 1.04; letter-spacing: -.045em; color: var(--p-ink); }
.ph .lede { margin: 18px auto 0; font-size: 18px; color: var(--p-mute); }

/* ── 2 · the plans: four cards, one lit ────────────────────────────── */
.tb { background: var(--night); padding-bottom: 24px; }
.tb .prule { display: none; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier {
  display: flex; flex-direction: column; padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}
.tier.is-main { border-color: #7A5CFF; background: linear-gradient(180deg, rgba(122, 92, 255, .1), rgba(122, 92, 255, .02) 55%); }

.tier h2 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--p-ink); }
.tier-p { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.tier-p b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.tier-p i { font-style: normal; font-size: 16px; color: var(--p-mute); }

.tier-inc {
  margin-top: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--p-line);
  font-size: 14.5px; line-height: 1.5; color: var(--p-mute);
  /* Wraps: the line grew ("each counted once per 12 months, then $2.50
     each") and kept on one line it pushed every card past the screen. */
  text-wrap: pretty;
}
/* "activations" is the one word on the card that needs explaining, so it is
   the one coloured word, and it goes to the explanation */
.tier-inc a.act {
  color: #B9B0FF; font-weight: 500; text-decoration: underline dotted;
  text-decoration-color: rgba(185, 176, 255, .6); text-underline-offset: 4px;
  transition: color .15s, text-decoration-color .15s;
}
.tier-inc a.act:hover { color: #D6D0FF; text-decoration-color: currentColor; text-decoration-style: solid; }

.tier-plus { margin-top: 20px; font-size: 13.5px; color: var(--p-faint); }
.tier ul { margin: 14px 0 26px; padding: 0; list-style: none; }
.tier-inc + ul { margin-top: 20px; }
.tier li {
  position: relative; margin-top: 12px; padding-left: 28px;
  font-size: 15px; line-height: 1.45; color: var(--p-ink);
}
/* the checkbox: a filled square with the tick knocked out of it */
.tier li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .1);
}
.tier li::after {
  content: ""; position: absolute; left: 5px; top: 6px;
  width: 8px; height: 4px; border: 1.6px solid #fff;
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.tier.is-main li::before { background: rgba(122, 92, 255, .35); }

.tier .btn, .custom .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; border-radius: 10px; font-size: 15px; font-weight: 500;
  background: #fff; color: #0A0A0B; box-shadow: none;
  transition: background .15s;
}
.tier .btn { margin-top: auto; width: 100%; }
.tier .btn svg, .custom .btn svg { transition: transform .15s; }
.tier .btn:hover, .custom .btn:hover { background: #E6E6EA; }
.tier .btn:hover svg, .custom .btn:hover svg { transform: translateX(2px); }
.tier.is-main .btn { background: #693EFF; color: #fff; }
.tier.is-main .btn:hover { background: #7955FF; }

/* the plan above the ladder, Weav's "Need a custom plan?" */
.custom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 16px; padding: 24px 24px 24px 28px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
}
.custom h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--p-ink); }
.custom p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--p-mute); }
.custom .btn { flex: none; padding-inline: 20px; background: rgba(255, 255, 255, .08); color: var(--p-ink); }
.custom .btn:hover { background: rgba(255, 255, 255, .14); }

/* ── 3 · what is an activation: three users, drawn over 30 days ────── */
#activation { scroll-margin-top: 24px; }
.acts { background: var(--night); }
.acts-h { max-width: 760px; }
.tl-k { margin-top: 14px; font-size: 13.5px; color: var(--p-faint); }

/* ── 4 · the calculator: a slider and four totals, nothing else ────── */
.calc.w.dk { background: var(--night); }
.calcbox {
  margin-top: 28px; display: grid; grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--p-line); border-radius: 16px;
  background: var(--p-surface); overflow: hidden;
}
.calc-ctl { padding: 28px; border-right: 1px solid var(--p-line); }
.calc-ctl > label { display: block; font-size: 13.5px; color: var(--p-mute); }
.calc-ctl output {
  display: block; margin-top: 6px;
  font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; color: #fff;
}
/* the filled half is painted from --v, which the script writes */
.calc-ctl input[type=range] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 22px; margin: 20px 0 0;
  background: transparent; cursor: pointer;
}
.calc-ctl input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #fff var(--v, 0%), rgba(255, 255, 255, .1) var(--v, 0%));
}
.calc-ctl input[type=range]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.calc-ctl input[type=range]::-moz-range-progress { height: 4px; border-radius: 999px; background: #fff; }
.calc-ctl input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin-top: -6px; border: 0; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.calc-ctl input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 999px; background: #fff; }
.calc-ctl input[type=range]:focus-visible { outline: none; }
.calc-ctl input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.calc-ax { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--p-faint); }

.calc-api { margin-top: 28px; font-size: 14px; line-height: 1.9; color: var(--p-mute); }
.calc-api b { color: var(--p-ink); font-weight: 500; }
.calc-api input {
  width: 40px; height: 26px; margin: 0 2px; padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; background: transparent;
  color: #fff; font: inherit; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-api input::-webkit-outer-spin-button, .calc-api input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-api input:focus { outline: none; border-color: rgba(255, 255, 255, .4); }

/* four plans and the API, as bars on one scale, so the gap is drawn to size */
.calc-l { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.cb-row {
  display: grid; grid-template-columns: 92px 1fr 72px; align-items: center; gap: 14px;
  height: 36px; font-size: 14px; color: var(--p-faint); transition: color .18s;
}
.cb-t { position: relative; height: 10px; }
.cb-t i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  transition: width .25s cubic-bezier(.2, .7, .2, 1), background .18s;
}
.cb-row b { text-align: right; font-weight: 500; color: var(--p-mute); transition: color .18s; }
.cb-row.is-best { color: var(--p-ink); }
.cb-row.is-best .cb-t i { background: #8B72FF; box-shadow: 0 0 16px rgba(139, 114, 255, .45); }
.cb-row.is-best b { color: #fff; }
.cb-row.is-api { margin-top: 10px; padding-top: 16px; height: 52px; border-top: 1px solid var(--p-line); }
.cb-row.is-api .cb-t i {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .2) 0 4px, rgba(255, 255, 255, .06) 4px 8px);
}
.cb-save { margin-top: 10px; padding-left: 106px; font-size: 14px; color: var(--p-mute); }
.cb-save b { color: #A896FF; font-weight: 600; }

/* ── 5 · FAQ sits on the same ground ───────────────────────────────── */
.faq { background: var(--night); }
.faq .prule { display: none; }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .tier { padding-inline: 18px; }
  .tier-inc { font-size: 13px; }
  .tier li { font-size: 14px; }
}
@media (max-width: 860px) {
  .cb-save { padding-left: 0; }
  #activation { scroll-margin-top: 84px; }
  .calcbox { grid-template-columns: 1fr; }
  .calc-ctl { border-right: 0; border-bottom: 1px solid var(--p-line); padding: 22px 20px; }
  .calc-api input { font-size: 16px; }
}
@media (max-width: 600px) {
  .ph .in { padding-block: 56px 40px; }
  .ph .h1 { font-size: 40px; }
  .ph .h1 br { display: none; }
  .custom { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  main .h2 { font-size: 28px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier .btn { height: 44px; font-size: 14px; }
  .tb-f { text-align: left; }
  .faq-k a { padding-block: 12px; margin-block: -12px; }
}
.calc-ctl { display: flex; flex-direction: column; }
.calc-api { margin-top: auto; padding-top: 28px; }

/* ── the light band: activation + calculator ─────────────────────────
   The two explanatory sections sit on paper, between the dark plans above
   and the dark FAQ below. Every colour in them is re-declared here. */
.acts, .calc.w.dk {
  --p-line: rgba(10, 10, 20, .08);
  --p-ink: #0B0B12;
  --p-mute: #5B5D6B;
  --p-faint: #8A8C99;
  background: #F6F6F8; color: var(--p-ink);
}
.acts .band { padding-top: 96px; }
.calc .band { padding-bottom: 104px; }
.acts .h2, .calc .h2 { color: var(--p-ink); }
.acts .lede { color: var(--p-mute); }


/* calculator */
.calcbox { background: #fff; border-color: var(--p-line); box-shadow: 0 1px 2px rgba(10, 10, 20, .04), 0 8px 24px -12px rgba(10, 10, 20, .08); }
.calc-ctl output { color: var(--p-ink); }
.calc-ctl input[type=range]::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, #0B0B12 var(--v, 0%), #E4E5EB var(--v, 0%));
}
.calc-ctl input[type=range]::-moz-range-track { background: #E4E5EB; }
.calc-ctl input[type=range]::-moz-range-progress { background: #0B0B12; }
.calc-ctl input[type=range]::-webkit-slider-thumb { background: #fff; box-shadow: 0 0 0 1px rgba(10, 10, 20, .12), 0 2px 6px rgba(10, 10, 20, .18); }
.calc-ctl input[type=range]::-moz-range-thumb { background: #fff; box-shadow: 0 0 0 1px rgba(10, 10, 20, .12), 0 2px 6px rgba(10, 10, 20, .18); }
.calc-api input { color: var(--p-ink); border-color: #DADBE3; background: #fff; }
.calc-api input:focus { border-color: #693EFF; }
.cb-t i { background: #D9DAE2; }
.cb-row b { color: var(--p-mute); }
.cb-row.is-best { color: var(--p-ink); }
.cb-row.is-best .cb-t i { background: #693EFF; box-shadow: 0 4px 12px -2px rgba(105, 62, 255, .4); }
.cb-row.is-best b { color: var(--p-ink); }
.cb-row.is-api .cb-t i { background: repeating-linear-gradient(135deg, #CFD0D9 0 4px, #EDEDF2 4px 8px); }
.cb-save b { color: #693EFF; }

/* calculator, without purple: ink for the answer, green for the saving */
.cb-row.is-best .cb-t i { background: #0B0B12; box-shadow: none; }
.cb-save b { color: #16A34A; }
.calc-api input:focus { border-color: #0B0B12; }

.tl-k { margin-top: 18px; }
.cb-save b { color: var(--p-ink); }

/* ── a connected user as a checklist: three users, two conditions ──── */
.ac {
  margin-top: 40px; border: 1px solid var(--p-line); border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 20, .04), 0 8px 24px -12px rgba(10, 10, 20, .08);
  overflow: hidden;
}
.ac-r {
  display: grid; grid-template-columns: 1.1fr 1.3fr 1.4fr 1fr; align-items: center;
  padding: 0 36px; min-height: 96px; border-top: 1px solid var(--p-line);
  font-size: 16px; color: var(--p-ink);
}
.ac-r > span { display: flex; align-items: center; gap: 12px; }
.ac-h { min-height: 60px; border-top: 0; background: #FAFAFB; font-size: 13.5px; color: var(--p-mute); }
.ac-res { justify-content: flex-end; }
.ac-who i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: #EEEEF2; font-style: normal; font-size: 14px; font-weight: 600; color: var(--p-mute);
}
.ac-r.is-on .ac-who i { background: #0B0B12; color: #fff; }
.ac-r .is-off { color: var(--p-faint); }
.ck { position: relative; flex: none; width: 22px; height: 22px; border-radius: 999px; }
.ck.is-y { background: #0B0B12; }
.ck.is-y::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 4px;
  border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.ck.is-n { background: #F1F1F4; }
.ck.is-n::before, .ck.is-n::after {
  content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px;
  border-radius: 2px; background: #9A9CA8; transform: rotate(45deg);
}
.ck.is-n::after { transform: rotate(-45deg); }
.ck.is-d::after { content: ""; position: absolute; left: 7px; top: 10px; width: 8px; height: 2px; border-radius: 2px; background: #D5D6DE; }
.ac-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--p-mute); box-shadow: inset 0 0 0 1px #DADBE3;
}
.ac-pill.is-on { background: #0B0B12; color: #fff; box-shadow: none; }
@media (max-width: 860px) {
  .ac-h { display: none; }
  .ac-r { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 20px 18px; font-size: 14.5px; min-height: 0; }
  .ac-who { grid-column: 1 / 3; }
  .ac-res { grid-column: 3; grid-row: 1; }
}

/* icons as SVG, centred by the box rather than nudged by hand */
.ck { display: grid; place-items: center; width: 18px; height: 18px; }
.ck svg { display: block; width: 14px; height: 14px; }
.ck.is-y { background: #0B0B12; color: #fff; }
.ck.is-n { background: #EDEDF1; color: #8A8C99; }
.ck.is-y::after, .ck.is-n::before, .ck.is-n::after { content: none; }
.ck.is-d { width: 18px; }
.ck.is-d::after { left: 5px; top: 8px; }
.ac-r > span { gap: 10px; }
.ac-who i { width: 26px; height: 26px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.ac-r { font-size: 15px; }
/* plan ticks as an SVG, centred in the box */
.tier li::after {
  left: 0; top: 1px; width: 18px; height: 18px; border: 0; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 6.9 10.5 11.5 5.7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ac-who img {
  width: 28px; height: 28px; border-radius: 999px; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px rgba(10, 10, 20, .08);
}
/* the two who never activate are quieter, not hidden */
.ac-r:not(.is-on) .ac-who img { filter: grayscale(1); opacity: .75; }

/* ── each row is a path: step → step → step → what you pay ──────────── */
.ac-r { grid-template-columns: 1fr 1.25fr 1.25fr auto; }
.ln {
  position: relative; flex: 1; min-width: 24px; height: 1.5px; margin: 0 14px 0 18px;
  background: #0B0B12; border-radius: 2px;
}
.ln::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1.5 6.5 5 3 8.5' fill='none' stroke='%230B0B12' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.ln.is-off {
  height: 0; background: none; border-top: 1.5px dashed #D3D4DC; border-radius: 0;
}
.ln.is-off::after {
  margin-top: -5.25px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1.5 6.5 5 3 8.5' fill='none' stroke='%23C4C5CE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ac-h .ac-res, .ac-res { padding-left: 0; }
@media (max-width: 860px) { .ln { display: none; } }
/* fixed edges so every row's steps land in the same columns */
.ac-r { grid-template-columns: 170px 1.2fr 1.2fr 116px; }
/* the arrow lands on the pill, whatever its width */
.ac-res { justify-content: flex-start; }
.ac-logo { width: 22px; height: 22px; flex: none; border-radius: 6px; }
.ac-logo { box-shadow: none; transform: scale(1.12); }

/* ── FAQ: one centred accordion ─────────────────────────────────────── */
.faq { background: var(--night); }
.fq-in { padding-block: 112px; text-align: center; }
.fq-in .h2 { color: var(--p-ink); }
.fq-k { margin-top: 10px; font-size: 16px; color: var(--p-mute); }
.fq-k a { color: var(--p-ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.fq-list { max-width: 760px; margin: 44px auto 0; text-align: left; }
.fq { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fq:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.fq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--p-ink);
  transition: color .15s;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary:hover { color: #fff; }
.fq summary:focus-visible { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; border-radius: 6px; }
/* the plus, drawn as two bars so it turns into a minus when open */
.fq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.fq summary i::before, .fq summary i::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.75px;
  border-radius: 2px; background: var(--p-mute); transition: transform .2s ease;
}
.fq summary i::after { transform: rotate(90deg); }
.fq[open] summary i::after { transform: rotate(0deg); }
.fq p { padding: 0 48px 24px 4px; margin-top: -6px; font-size: 15.5px; line-height: 1.6; color: var(--p-mute); }
.fq p a { color: var(--p-ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
@media (max-width: 600px) {
  .fq-in { padding-block: 72px; }
  .fq summary { font-size: 16px; padding: 18px 2px; }
  .fq p { padding-right: 8px; }
}
.faq .in.fq-in { display: block; grid-template-columns: none; }

/* ── the phone pass ────────────────────────────────────────────────────
   The 860 rule above lays an example user out as a name row and a row of
   three steps, but the fixed five-column template written after it
   (170px 1.2fr 1.2fr 116px) wins on a phone too, so every row ran
   150px off the right edge of its card. Said again here, last. */
@media (max-width: 860px) {
  .ac-r { grid-template-columns: 1fr 1fr 1fr; }
  .ac-who { grid-column: 1 / 3; }
  .ac-res { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .ac-pill { white-space: nowrap; }
}
@media (max-width: 600px) {
  /* every head centred, like the page's own first one */
  .acts-h, .calc-h { text-align: center; margin-inline: auto; }
  .acts-h .lede, .calc-h .lede { text-align: center; }
  .acts .band, .calc .band { padding-block: 48px; }
  .acts .band { padding-top: 56px; }
  .fq-in { padding-block: 56px; }
  .ac-r { padding: 16px 14px; font-size: 14px; }
}
@media (max-width: 600px) {
  .calc .h2 { text-align: center; }
  .w.dk .in.close { padding-top: 56px; }
}
@media (max-width: 600px) { .faq { padding-top: 0; padding-bottom: 0; } }
