/* Green Dotter Pro pages: /pro/, /terms/, /refunds/  (DRAFT, 14 Oct 2026).
   Loaded after site.css, which supplies the tokens, nav, buttons, footer and article typography.
   Nothing here touches .dl-buttons, .dl-col, .dl-group, .lp-ctas or [data-dl-*]
   (download-buttons safety contract, CLAUDE.md). */

:root {
  --pro-ink: #1c1917;
  --pro-panel: #f6f4ee;
  --pro-text: #6b6560;              /* 5.4:1 on the page background, 5.0:1 on --pro-panel */
  --pro-warn-bg: #fff6dc;
  --pro-warn-line: #e3c566;
  --pro-warn-text: #5a4200;
}
::selection { background: rgba(35, 165, 90, .22); color: var(--pro-ink); }
html { scroll-padding-top: 76px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- draft furniture: delete the .draft-banner block to remove the banner ---------- */
.draft-banner {
  max-width: 1064px; margin: 20px auto 0; padding: 14px 18px;
  background: var(--pro-warn-bg); border: 1px solid var(--pro-warn-line); border-radius: 14px;
  color: var(--pro-warn-text); font-size: 14px; line-height: 1.55;
}
.draft-banner strong { font-weight: 700; }
.draft-wrap { padding: 0 28px; position: relative; z-index: 1; }
.tbc {
  background: #fff1b8; color: #4a3500; border: 1px dashed #b88a00; border-radius: 5px;
  padding: 0 5px; font: 600 .8em/1.6 var(--mono); white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Pro page ---------- */
.pro-hero { padding: 56px 0 24px; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.pro-copy { min-width: 0; }
.pro-hero h1 {
  font-size: clamp(38px, 4.8vw, 62px); font-weight: 650; letter-spacing: -.035em; line-height: 1.02;
  margin: 0 0 18px; color: var(--pro-ink); text-wrap: balance;
}
.pro-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--pro-text); max-width: 46ch; margin: 0 0 32px; text-wrap: pretty; }
.pro-h { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--pro-ink); margin: 0 0 14px; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 54ch; }
.pro-list li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.55; color: var(--pro-text); text-wrap: pretty; }
.pro-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pro-list strong { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.01em; color: var(--pro-ink); margin-bottom: 2px; }

.pro-buy {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(60, 50, 40, .05), 0 22px 44px -22px rgba(60, 50, 40, .22);
}
.pro-buy > h2 { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--pro-ink); margin: 0; padding: 22px 28px 14px; }
.plan { padding: 22px 28px 26px; border-top: 1px solid var(--border); }
.plan-best { background: linear-gradient(180deg, rgba(35, 165, 90, .08), rgba(35, 165, 90, .03)); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; color: var(--pro-ink); margin: 0 0 6px; }
.plan-badge { font: 600 11.5px var(--mono); letter-spacing: .2px; color: #14793f; background: rgba(35, 165, 90, .12); border: 1px solid rgba(35, 165, 90, .3); border-radius: 999px; padding: 2px 8px; }
.plan-price { font-size: 44px; font-weight: 650; letter-spacing: -.04em; line-height: 1.05; color: var(--pro-ink); font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--pro-text); margin-left: 4px; }
.plan-terms { font-size: 14px; line-height: 1.55; color: var(--pro-text); margin: 10px 0 18px; max-width: 44ch; text-wrap: pretty; }
.plan-save { font-weight: 600; color: #14793f; }
.btn-pro { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }
.btn-pro[disabled] { background: #e8e4dc; color: #5f5a54; border-color: #d6d1c6; box-shadow: none; cursor: not-allowed; }
.btn-pro[disabled]:active { transform: none; }
.pro-buy-foot { padding: 18px 28px 24px; border-top: 1px solid var(--border); background: var(--pro-panel); font-size: 13.5px; line-height: 1.55; color: var(--pro-text); }
.pro-buy-foot p { margin: 0 0 8px; text-wrap: pretty; }
.pro-buy-foot p:last-child { margin: 0; }
.pro-buy-foot a, .pro-sec a, .pro-links a, .pro-seller a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pro-buy-foot a:hover, .pro-sec a:hover, .pro-links a:hover, .pro-seller a:hover { text-decoration-thickness: 2px; }

.pro-sec { padding: 44px 0 8px; }
.pro-sec > .pro-in { max-width: 680px; }
.pro-sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 18px; color: var(--pro-ink); text-wrap: balance; }
.pro-sec p { font-size: 16.5px; line-height: 1.7; color: #2a2622; margin: 0 0 16px; text-wrap: pretty; }
.pro-steps { list-style: none; counter-reset: step; margin: 22px 0 22px; padding: 0; display: grid; gap: 18px; }
.pro-steps li { counter-increment: step; position: relative; padding-left: 48px; font-size: 16.5px; line-height: 1.6; color: #2a2622; }
.pro-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 600 13px var(--mono); color: var(--green); background: rgba(35, 165, 90, .08); border: 1px solid rgba(35, 165, 90, .25);
}
.pro-steps strong { color: var(--pro-ink); font-weight: 650; }

.maker { margin: 44px 0 0; max-width: 760px; background: var(--pro-panel); border: 1px solid var(--border); border-radius: 24px; padding: 32px 36px; }
.maker p { margin: 0; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--pro-ink); text-wrap: pretty; }
.maker .maker-sig { margin-top: 18px; font-size: 14.5px; color: var(--pro-text); }

.pro-faq { max-width: 760px; margin-top: 8px; }
.pro-faq details { border-top: 1px solid var(--border); }
.pro-faq details:last-child { border-bottom: 1px solid var(--border); }
.pro-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 4px; min-height: 44px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; color: var(--pro-ink);
}
.pro-faq summary::-webkit-details-marker { display: none; }
.pro-faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; color: var(--text-subtle);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), color .15s;
}
.pro-faq summary:hover { color: var(--green); }
.pro-faq details[open] summary { color: var(--green); }
.pro-faq details[open] summary::after { transform: rotate(45deg); color: var(--green); }
.pro-faq .ans { padding: 0 36px 22px 4px; font-size: 16px; line-height: 1.65; color: var(--pro-text); text-wrap: pretty; }
.pro-faq .ans p { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 12px; }
.pro-faq .ans p:last-child { margin-bottom: 0; }
.pro-faq .ans strong { color: var(--pro-ink); font-weight: 600; }

.pro-seller { max-width: 760px; margin: 40px 0 0; font-size: 14px; line-height: 1.6; color: var(--pro-text); }
.pro-links { margin: 18px 0 56px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }

/* ---------- Terms and refunds ---------- */
.legal-meta { font-size: 14px; color: var(--pro-text); margin: 0 0 8px; }
.legal-sum { background: var(--pro-panel); border: 1px solid var(--border); border-radius: 18px; padding: 22px 26px 8px; margin: 8px 0 8px; }
.legal-sum h2 { margin-top: 0 !important; font-size: 20px !important; }
.legal-sum ul { margin-bottom: 14px; }
.legal-page article h2 { font-size: 22px; margin-top: 36px; }
.legal-page article ol { margin: 0 0 20px; padding-left: 22px; }
.legal-page article ol li { margin: 0 0 9px; padding-left: 4px; }
.legal-page article ol li::marker { color: var(--green); font-weight: 600; }

@media (max-width: 900px) { .nav-link { display: none; } }
@media (max-width: 860px) {
  .pro-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pro-hero { padding-top: 36px; }
}
@media (max-width: 560px) {
  .draft-wrap { padding: 0 16px; }
  .pro-buy > h2, .plan, .pro-buy-foot { padding-left: 20px; padding-right: 20px; }
  .plan-price { font-size: 38px; }
  .maker { padding: 24px 22px; border-radius: 20px; }
  .pro-faq .ans { padding-right: 4px; }
  .pro-faq summary { font-size: 17px; }
  .pro-links { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .pro-faq summary::after { transition: none; } }
