/* The Pro page, on the toolkit shell (assets/toolkit.css).
   One orange per screen: the yearly plan button (or, once a plan is picked, "Send the link"; for a Pro member, "Open the tools"). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero: the headline, one line, the two plans with their prices and buy buttons */
.pp-hero { padding-top: clamp(28px, 5vw, 64px); }
.pp-kicker { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: var(--p-muted); }
.pp-kicker { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.12em; color: var(--p-sage-2); }
.pp-kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--p-orange, #F06A3B); vertical-align: 0; }
.pp-hero h1 { margin: 0; font-size: clamp(44px, 8vw, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.92; color: var(--p-head); }
.pp-lede { max-width: 34em; margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }

.pp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin-top: 24px; }
.pp-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 16px 16px; border-radius: 8px; background: var(--p-panel); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.pp-card--best { box-shadow: inset 0 0 0 1.5px var(--p-sage); }
.pp-card.is-picked { box-shadow: inset 0 0 0 2.5px var(--p-sage-hi); }
.pp-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: var(--p-muted); }
.pp-badge { padding: 3px 7px; border-radius: 4px; background: var(--p-sage-dim); color: var(--p-sage-hi); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.pp-badge:empty { display: none; }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; flex: 1; }
.pp-price b { font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--p-sage); }
.pp-price span { color: var(--p-muted); font-size: 15px; }
.pp-card .p-btn { align-self: stretch; min-height: 48px; padding: 0 10px; text-align: center; line-height: 1.2; }
.pp-card .p-btn.is-off { background: var(--p-panel-3); box-shadow: none; color: var(--p-muted); cursor: default; filter: none; }
/* a plan picked while signed out: the email box below is the one action now */
.pp-cards.is-choosing .p-btn-o:not(.is-off) { background: transparent; color: var(--p-sage); box-shadow: inset 0 0 0 1.5px var(--p-sage); filter: none; }
.pp-small { max-width: 52em; margin: 12px 0 0; color: var(--p-muted); font-size: 14px; line-height: 1.5; }

/* who you are / the email box (pro-page.js), right under the plans */
.pp-state { margin-top: 18px; max-width: 820px; }
.pp-state:empty { display: none; }
.pp-box { padding: 16px 18px; border-radius: 8px; background: var(--p-panel); box-shadow: inset 3px 0 0 var(--p-sage); }
.pp-box--warn { box-shadow: inset 3px 0 0 var(--p-warn); }
.pp-box p { margin: 0; line-height: 1.5; }
.pp-box b { color: var(--p-sage-hi); }
.pp-box p + p, .pp-box p + form, .pp-box form + p { margin-top: 12px; }
.pp-box a:not(.p-btn) { color: var(--p-sage-hi); }
.pp-form { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-form input { flex: 1 1 14em; min-width: 0; min-height: 48px; padding: 0 14px; border: 0; border-radius: 4px; background: var(--p-deep); box-shadow: inset 0 0 0 1.5px var(--p-line-2); color: var(--p-text); font: 16px var(--p-font); }
.pp-form input:focus { outline: 2px solid var(--p-sage-hi); outline-offset: 2px; }
.pp-form .p-btn { flex: 1 1 auto; }
.pp-consent { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--p-text); cursor: pointer; }
.pp-consent input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; box-shadow: none; accent-color: var(--p-sage-hi); }
.pp-err { color: var(--p-bad); min-height: 1.2em; }
.pp-err:empty { display: none; }

/* what Pro opens: three plain lines and a link to every tool */
.pp-what { margin-top: clamp(48px, 7vw, 80px); }
.pp-what > h2, .pp-faq > h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--p-head); }
.pp-groups { list-style: none; margin: 0; padding: 0; max-width: 820px; border-top: 1px solid var(--p-line-2); }
.pp-groups li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--p-line-2); }
.pp-groups h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--p-sage-hi); }
.pp-groups p { grid-column: 1; margin: 0; color: var(--p-text); font-size: 15px; line-height: 1.5; }
.pp-groups span { grid-column: 2; grid-row: 1; align-self: baseline; color: var(--p-muted); font-size: 14px; white-space: nowrap; }
.pp-more { margin: 16px 0 0; }
.pp-more a { color: var(--p-sage-hi); font-weight: 600; text-underline-offset: 4px; }
.pp-more a:hover { color: var(--p-text); }

.pp-faq { margin-top: clamp(48px, 7vw, 80px); }
.pp-faq details { max-width: 820px; border-bottom: 1px solid var(--p-line-2); }
.pp-faq summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--p-sage-hi); }
.pp-faq details p { margin: 0 0 16px; line-height: 1.6; }
.pp-faq a { color: var(--p-sage-hi); }

@media (max-width: 359px) { .pp-cards { gap: 8px; } .pp-card { padding: 14px 12px 12px; } .pp-card .p-btn { font-size: 12px; letter-spacing: 0.03em; } }

/* Rhythm, variant A (2026-11-10): the plans on cream with dark cards, "What Pro opens" on charcoal, the questions on cream */
.pp-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.pp-hero .pp-kicker { color: #B5401A; }
.pp-what { margin-top: 0; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.pp-what > h2 { color: var(--p-head); }
.pp-faq { margin-top: 0; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.pp-card--best { box-shadow: inset 0 0 0 2px var(--p-orange); }
body:has(.pp-faq) .p-foot { margin-top: 0; }

/* Plans, the landing's Free/Pro logic (Codex review 33): Monthly is the quiet card (no fill, ink outline, outline button),
   Yearly is the filled charcoal card with an orange top rule, the saving label and the only orange button. */
.pp-card { padding: 24px 22px 22px; gap: 12px; }
.t-cream .pp-card:not(.pp-card--best) {
  --p-text: #1F201F; --p-head: #1F201F; --p-muted: #4A4A45; --p-sage: #1F201F; --p-sage-hi: #1F201F; --p-sage-dim: rgba(31, 32, 31, 0.06); --p-line-2: rgba(31, 32, 31, 0.25);
  background: transparent; box-shadow: inset 0 0 0 1.5px rgba(31, 32, 31, 0.55);
}
.t-cream .pp-card--best { background: #232423; box-shadow: inset 0 4px 0 var(--p-orange), 0 28px 50px -28px rgba(0, 0, 0, 0.55); }
.pp-card--best .pp-price b { color: var(--p-head); }
.pp-card--best .pp-badge { background: transparent; padding: 0; color: var(--p-orange); font-family: var(--p-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.t-cream .pp-card:not(.pp-card--best).is-picked { box-shadow: inset 0 0 0 2.5px #1F201F; }
.t-cream .pp-card--best.is-picked { box-shadow: inset 0 4px 0 var(--p-orange), inset 0 0 0 2.5px #F4F3EC, 0 28px 50px -28px rgba(0, 0, 0, 0.55); }
@media (max-width: 560px) { .pp-cards { grid-template-columns: minmax(0, 1fr); } .pp-card--best { order: 2; } }
/* founding-member line and the (switched-off) trial line under the plans */
.pp-founding { max-width: 46em; margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--p-sel); background: var(--p-panel); line-height: 1.55; }
.pp-founding b { color: var(--p-head); }
.pp-trial { max-width: 52em; margin: 10px 0 0; color: var(--p-text); font-size: 15px; }
