/* Purchase section 2.2.2. Existing portfolio design and brand assets stay intact. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: -10000px; top: 16px; z-index: 100; padding: 12px 20px; background: #fff; color: #29231f; }
.skip-link:focus { left: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #16848a; outline-offset: 5px; }
#tools, #free-download, #pro-buy, #compare { scroll-margin-top: 24px; }
#tools { padding-top: 62px; padding-bottom: 66px; }
.tool-release { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #615668; color: #ddd2e4; font-size: 13px; letter-spacing: .015em; }
.tool-release > span:first-child { color: #b6eeea; font-weight: 750; letter-spacing: .1em; }
#tools .store-intro { gap: 60px; margin-bottom: 54px; grid-template-columns: 1fr 1fr; }
#tools .store-intro h2 { max-width: 560px; font-size: clamp(36px, 3.7vw, 49px); }
#tools .tool-pitch { color: #fff9ef; margin: 23px 0 10px; font-size: 20px; font-weight: 650; }
#tools .tool-description { color: #d2c7d5; font-size: 17px; line-height: 1.65; margin-bottom: 24px; }
.tool-jump { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; font-weight: 650; color: #e0d5fe; }
.workflow-preview { margin: 0; min-width: 0; }
#tools .live-demo { box-shadow: 9px 9px 0 #534664; min-height: 360px; width: 100%; }
#tools .window-bar strong { font-size: 12px; }
.demo-envelope { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px 18px; padding: 17px 20px; font-size: 12px; line-height: 1.5; }
.demo-envelope > span { color: #6b626d; }
.demo-envelope > b { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
#tools .demo-controls { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
#tools .demo-choice { min-height: 35px; padding: 5px 11px; font-size: 12px; cursor: pointer; }
#tools .demo-choice[aria-pressed="true"] { background: #6041be; border-color: #6041be; color: #fff; }
.demo-body { padding: 21px; margin: 0; min-height: 202px; color: #403743; font: 14px/1.65 var(--font-body); white-space: pre-line; }
.workflow-preview figcaption { margin: 18px 0 0; color: #c0b6c7; font-size: 12px; line-height: 1.5; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; min-width: 0; padding: 34px; border: 1px solid #91859b; border-radius: 3px; background: #fbf8f1; color: #302737; }
.plan-card .plan-kicker { margin-bottom: 14px; color: #706074; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.plan-card h3 { font-size: 28px; margin: 0 0 10px; }
.plan-card .plan-price { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 4.5vw, 62px); line-height: 1.1; letter-spacing: -.025em; margin: 14px 0 8px; color: #302737; }
.plan-card .free-price { font-size: clamp(37px, 3.7vw, 49px); margin: 22px 0 16px; }
.plan-card .tax-note { font-size: 14px; font-weight: 650; margin-bottom: 22px; }
.plan-card .plan-intro { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #64576a; }
.plan-features { list-style: none; margin: 24px 0; padding: 0; }
.plan-features li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid #ded5db; font-size: 15px; line-height: 1.5; }
.plan-features li:first-child { border-top: 1px solid #ded5db; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: #5f439b; font-weight: 800; }
.pro-plan { border-color: #b39aca; border-top: 4px solid #b197f0; padding-top: 31px; background: #ede6fa; }
.pro-plan .plan-kicker, .pro-plan .plan-price { color: #482785; }
.licence-scope { margin: 0 0 16px; font-size: 14px; line-height: 1.55; font-weight: 650; }
.currency-note { border-left: 3px solid #7a5da9; padding: 3px 0 3px 15px; margin: 0 0 26px; font-size: 14px; color: #554463; line-height: 1.6; }
.currency-note strong { display: block; margin-bottom: 6px; color: #3e2e4b; }
.currency-note p { margin: 0; }
.plan-actions { display: flex; flex-direction: column; align-items: stretch; gap: 13px; margin-top: auto; padding-top: 14px; }
.plan-card .button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 13px 19px; white-space: normal; gap: 14px; line-height: 1.5; }
.plan-card .store-install { background: transparent; color: #34243d; border-color: #8c7c95; font-size: 15px; }
.plan-card .store-install:hover { background: #eae4e8; }
.tools-section .plan-card .buy-button { background: #5936a4; border-color: #5936a4; color: #fff; font-size: 17px; font-weight: 700; }
.tools-section .plan-card .buy-button:hover { background: #452685; border-color: #452685; }
.buy-button[aria-busy="true"] { cursor: progress; opacity: .75; }
.plan-card .download-link { display: flex; justify-content: space-between; padding: 7px 1px; gap: 10px; color: #584073; font-size: 14px; font-weight: 650; }
.plan-card .plan-footnote { color: #685975; margin: 0; font-size: 13px; line-height: 1.55; }
.plan-card .checkout-fallback { align-self: flex-start; color: #5e417e; font-size: 13px; }
.plan-card .checkout-status { margin: 0; padding: 12px; background: #fffaf0; border: 1px solid #af997a; color: #614e32; font-size: 14px; }
.update-strip { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 23px 0; margin: 24px 0 48px; border-top: 1px solid #615668; border-bottom: 1px solid #615668; }
.update-strip strong { color: #e1d2ee; font-size: 16px; }
.update-strip p { margin: 0; color: #cbbfd2; font-size: 14px; line-height: 1.65; }
.feature-comparison h3, .activation-guide > h3, .tool-faq > h3 { font-size: 29px; margin-bottom: 23px; }
.feature-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.feature-comparison th, .feature-comparison td { padding: 15px 20px; border-bottom: 1px solid #615668; line-height: 1.5; }
.feature-comparison thead { background: #463a50; }
.feature-comparison thead th { text-align: center; font-weight: 750; }
.feature-comparison thead th:first-child { text-align: left; width: 58%; }
.feature-comparison tbody th { text-align: left; color: #d3c7d9; font-weight: 500; }
.feature-comparison td { text-align: center; }
.feature-comparison tr > :last-child { background: #493b59; color: #eaddff; }
.activation-guide { margin-top: 60px; }
.activation-guide ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.activation-guide li { padding-top: 21px; border-top: 1px solid #8d7c9a; }
.step-number { display: block; color: #b7ddd8; font-size: 13px; font-weight: 750; margin-bottom: 14px; }
.activation-guide h4 { font-size: 17px; line-height: 1.5; margin: 0 0 8px; }
.activation-guide p { font-size: 14px; line-height: 1.65; color: #cbbfd2; margin: 0; }
.tool-faq { margin-top: 57px; }
.tool-faq details { border-top: 1px solid #6c5d78; }
.tool-faq details:last-child { border-bottom: 1px solid #6c5d78; }
.tool-faq summary { cursor: pointer; padding: 19px 5px; font-size: 16px; font-weight: 600; }
.tool-faq details > p { padding: 0 22px 21px; max-width: 900px; margin: 0; color: #d3c7d9; font-size: 15px; line-height: 1.7; }
.tool-support { margin-top: 29px; display: flex; flex-wrap: wrap; gap: 22px 36px; justify-content: space-between; align-items: start; color: #d3c7d9; font-size: 14px; }
.checksum { max-width: 620px; font-size: 12px; }
.checksum summary { cursor: pointer; }
.checksum code { display: block; margin-top: 14px; padding: 10px; border: 1px solid #65586d; overflow-wrap: anywhere; }
@media (max-width: 930px) {
  #tools .store-intro { grid-template-columns: 1fr; gap: 32px; }
  .workflow-preview { width: min(650px,calc(100% - 10px)); }
  .plan-card { padding: 27px; }
  .pro-plan { padding-top: 24px; }
  .activation-guide ol { gap: 20px; }
}
@media (max-width: 680px) {
  #tools { padding-top: 35px; padding-bottom: 44px; }
  .tool-release { gap: 8px 14px; font-size: 12px; margin-bottom: 31px; }
  #tools .store-intro h2 { font-size: 36px; }
  #tools .tool-pitch { font-size: 18px; }
  .tool-jump { gap: 14px; font-size: 13px; }
  .plan-grid { grid-template-columns: 1fr; gap: 18px; }
  .plan-card { padding: 25px; }
  .pro-plan { padding-top: 22px; }
  .plan-card .plan-price { font-size: 52px; }
  .plan-card .free-price { font-size: 43px; }
  .demo-envelope { padding: 14px; font-size: 11px; gap: 8px 12px; }
  #tools .demo-controls { padding: 10px; gap: 6px; }
  #tools .demo-choice { font-size: 12px; padding: 5px 9px; }
  .demo-body { padding: 18px; font-size: 13px; min-height: 212px; }
  .update-strip { grid-template-columns: 1fr; gap: 8px; margin-bottom: 39px; }
  .feature-comparison th, .feature-comparison td { padding: 12px 9px; font-size: 13px; }
  .feature-comparison thead th:first-child { width: 56%; }
  .activation-guide { margin-top: 43px; }
  .activation-guide ol { grid-template-columns: 1fr; gap: 24px; }
  .activation-guide li { display: grid; grid-template-columns: 27px 1fr; gap: 0 14px; }
  .step-number { grid-row: span 2; margin: 2px 0 0; }
  .activation-guide p { grid-column: 2; }
  .tool-faq { margin-top: 40px; }
}

/* Version 2.2.2 release details. Checkout and the portfolio retain their layout. */
.demo-character-preview { border-top: 1px solid #e2dae9; border-bottom: 1px solid #e2dae9; background: #f2edf6; padding: 9px 17px; color: #554365; }
.demo-character-label { display: block; margin-bottom: 5px; font-size: 10px; line-height: 1.5; color: #706078; }
.demo-character-symbols { display: flex; gap: 7px; flex-wrap: nowrap; }
.demo-character-symbols > span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; background: #fff; border: 1px solid #d3c6df; border-radius: 3px; font: 16px/1 sans-serif; }
.release-highlights { margin: 0 0 42px; }
.release-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-bottom: 18px; }
.release-heading h3 { margin: 0; font-size: 28px; line-height: 1.3; color: #fff6ea; }
.release-heading > p { margin: 0; color: #cfc1de; font-size: 13px; line-height: 1.6; }
.release-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.release-grid article { min-width: 0; border-top: 1px solid #796684; padding: 19px 0 0; }
.release-number { color: #b6eeea; display: block; margin-bottom: 11px; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.release-grid h4 { font-size: 18px; line-height: 1.4; margin: 0 0 10px; color: #f4eafd; }
.release-grid p { margin: 0; font-size: 14px; line-height: 1.7; color: #d3c7d9; }
@media (max-width: 680px) {
  .release-highlights { margin-bottom: 31px; }
  .release-heading { gap: 9px; }
  .release-heading h3 { font-size: 26px; }
  .release-grid { grid-template-columns: 1fr; gap: 20px; }
  .release-grid article { display: grid; grid-template-columns: 24px minmax(0,1fr); column-gap: 14px; padding-top: 16px; }
  .release-number { grid-row: span 2; margin-top: 3px; }
  .release-grid h4 { font-size: 17px; margin-bottom: 6px; }
  .release-grid p { grid-column: 2; }
  .demo-character-preview { padding: 8px 12px; }
}

/* Version 2.2.3: illustrative language metadata in the existing website demo. */
.demo-choice { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.demo-workflow-languages { font-size: 10px; font-weight: 500; line-height: 1.2; letter-spacing: .025em; white-space: nowrap; }
