/* pay.css — the pricing page (Vera's spec, Sep 28 2026): "The Perforated
   Year". home.css supplies the base. A year of the saving is a ticket of
   twelve months; the success fee is the stub left of the perforation, and it
   tears off once. The perforation's position is generated from fees.py into
   pay-story.css. Red only for the fee. No cards, gradients or glow. */
.pricing { --paper: #F4F1EA; --paper-2: #E9E4D8; --rule: #CFC8B8; --fee: #C8323C; --fee-d: #9E2530; --mono: "IBM Plex Mono", ui-monospace, monospace; }
.pricing section { position: relative; }
.h-ink { color: var(--ink); }

/* A. the year */
.p-a { padding: clamp(150px, 16vw, 200px) 0 150px; background: var(--dark); color: var(--snow); }
.p-a h1 { font-size: clamp(40px, 5vw, 70px); line-height: 1.06; max-width: 15em; letter-spacing: -0.02em; }
.p-a__sub { color: var(--snow-2); font-size: 19px; margin-top: 22px; max-width: 34em; }

.pp-dials { display: grid; grid-template-columns: 1fr auto; gap: 32px 72px; align-items: end; margin: 88px 0 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line-d); }
.dialf { display: grid; gap: 10px; min-width: 0; }
.dialf label, .dialf__l { font-size: 15px; color: var(--snow-2); }
.dialf__v { display: flex; align-items: baseline; gap: 14px; }
.dialf__v output { font: 600 clamp(56px, 7.6vw, 112px)/1 var(--head); color: var(--snow); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.dialf__v span { font-size: 18px; color: var(--snow-2); }
.dialf--loc .dialf__v output { font-size: clamp(40px, 4.4vw, 64px); }
.dialf input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin-top: 12px; background: transparent; cursor: pointer; }
.dialf input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--snow-2); }
.dialf input[type=range]::-moz-range-track { height: 2px; background: var(--snow-2); }
.dialf input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--snow); border: 0; }
.dialf input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--snow); border: 0; }
.dialf input[type=range]:focus-visible { outline: 2px solid var(--snow); outline-offset: 6px; }
.stepper { display: flex; gap: 8px; margin-top: 12px; }
.stepper button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--snow); font: 400 22px/1 var(--body); cursor: pointer; transition: background 200ms; }
.stepper button:hover { background: rgba(255,255,255,.08); }
.stepper button:focus-visible { outline: 2px solid var(--snow); outline-offset: 3px; }

.plan-strip { margin-top: 72px; }
.plan-strip + .plan-strip { margin-top: 96px; }
.strip__name { font: 600 22px var(--head); color: var(--snow); }
.strip__name span { display: block; font: 400 15px var(--body); color: var(--snow-2); margin-top: 4px; }

/* the ticket: twelve months of the saving */
.strip { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); height: clamp(84px, 10vw, 128px); margin-top: 24px; background: var(--paper); color: #2A2A33; }
.cell { position: relative; border-left: 1px solid var(--rule); display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 10px 10px 0; }
.cell:first-child { border-left: 0; }
.cell b { font: 500 11px var(--mono); color: #8A8578; letter-spacing: .06em; }
/* the stub: the fee's months, the same paper printed red */
.strip__fee { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fee); color: #FBEDEE; display: flex; align-items: flex-end; padding: 14px 16px;
  transform-origin: 100% 0; transition: transform 1100ms cubic-bezier(.5,.05,.25,1) 350ms; z-index: 2; }
.strip__fee em { font: 600 clamp(22px, 2.6vw, 36px)/1 var(--head); font-style: normal; letter-spacing: -.02em; white-space: nowrap; }
/* where it came from: the torn edge left behind */
.strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; background: var(--dark); border: 1px dashed rgba(236,238,244,.28); border-right: 0; }
.perf { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 2px dashed var(--snow); z-index: 3; }
.plan-strip.in .strip__fee { transform: translate(-4px, 18px) rotate(-2.5deg); }
.plan-strip.in .perf { border-left-color: var(--fee-d); }
.strip__labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; font-size: 17px; color: var(--snow-2); }
.strip__labels b { font: 500 20px var(--mono); color: var(--snow); }
.strip__notch { margin-top: 8px; font-size: 14px; color: var(--snow-2); }

.strip__figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.strip__figs dt { font-size: 14px; color: var(--snow-2); }
.strip__figs dd { font: 600 clamp(36px, 4.4vw, 60px)/1.05 var(--head); color: var(--snow); letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.strip__figs [data-out="fee"] { color: #F08A91; }
.strip__cta { margin-top: 32px; }
.strip__figs div:last-child dd { font: 400 17px/1.4 var(--body); letter-spacing: 0; color: var(--snow); }
.p-a .caption { margin-top: 72px; color: var(--snow-2); opacity: 1; max-width: 52em; font-size: 13px; }

/* B–G. the terms, each with its clause in the margin */
.clause { padding: clamp(96px, 11vw, 150px) 0; }
.clause + .clause { padding-top: 0; }
.clause__in { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 96px); align-items: start;
  opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.7,.2,1); }
.js .clause__in.in, html:not(.js) .clause__in { opacity: 1; transform: none; }
.clause + .clause .clause__in { border-top: 1px solid var(--line-l); padding-top: clamp(64px, 8vw, 110px); }
.clause__tag span { display: block; font-size: 13px; color: var(--ink-2); }
.clause__tag b { display: block; font: 500 clamp(28px, 3.2vw, 44px)/1.15 var(--mono); color: var(--fee); letter-spacing: -.04em; margin-top: 4px; }
.clause__tag b + b { font-size: clamp(20px, 2vw, 26px); color: var(--ink-2); }
.clause__body h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.clause__body ul { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.clause__body li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.clause__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; border-top: 2px dashed var(--rule); }

/* H. close */
.p-z { padding: 170px 0; text-align: center; }
.p-z h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; }
.p-z__sub { color: var(--snow-2); font-size: 18px; margin-top: 16px; }
.p-z .cta { justify-content: center; margin-top: 32px; }
/* Monitoring leads (Sep 30 2026): a quiet line on its card, and the
   section that sets out what it does. The light scene's ground and the
   clauses' rules; paper stays for the ticket strip alone (Vera). */
.plan__tag { font: 400 14px var(--body); color: var(--snow); margin-top: -8px; }
.mon { padding: clamp(110px, 12vw, 170px) 0; color: var(--ink); }
.mon__kick { font-size: 13px; color: var(--ink-2); }
.mon + .clause .clause__in { border-top: 1px solid var(--line-l); padding-top: clamp(64px, 8vw, 110px); }
.mon h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; max-width: 16em; margin-top: 14px; }
.mon__lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36em; margin-top: 24px; }
.mon__steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 72px; }
.mon__steps li { counter-increment: s; border-top: 1px solid var(--rule); padding-top: 22px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.mon__steps li::before { content: "0" counter(s); display: block; font: 500 13px var(--mono); color: var(--ink-2); margin-bottom: 14px; }
.mon__steps b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.mon__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: 88px; }
.mon h3 { font-size: 22px; font-weight: 500; }
.mon__cols ul { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.mon__cols li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.mon__cols li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; border-top: 2px dashed var(--rule); }
.plan__alt { font-size: 14px; color: var(--snow-2); border-bottom: 1px solid currentColor; }
.duo__note { margin-top: 20px; font-size: 15px; color: var(--snow-2); }

@media (max-width: 760px) {
  .mon__steps, .mon__cols { grid-template-columns: 1fr; }
  .mon__steps { margin-top: 48px; }
  .mon__cols { margin-top: 56px; row-gap: 56px; }
  .mon__lede { font-size: 17px; }
  .pp-dials { grid-template-columns: 1fr; margin-top: 56px; gap: 28px; }
  .strip { height: 76px; }
  .cell { padding: 0 4px 6px 0; }
  .cell b { font-size: 9px; letter-spacing: 0; }
  .strip__fee { padding: 8px; }
  .strip__fee em { font-size: 14px; }
  .plan-strip.in .strip__fee { transform: translate(-2px, 12px) rotate(-2.5deg); }
  .strip__labels { flex-direction: column; gap: 6px; margin-top: 32px; font-size: 15px; }
  .strip__figs { grid-template-columns: 1fr; gap: 22px; }
  .clause__in { grid-template-columns: 1fr; gap: 14px; }
  .clause__body li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__fee, .clause__in { transition: none; }
}
