/* KynWorks software pages (/logiciel, /buy): loaded after blog.css + tools.css, same tokens */

/* hero */
.shero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(22px, 4vw, 44px); }
.shero .crumbs { margin-bottom: 14px; }
.shero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.shero h1 span:first-child { color: var(--red); }
.shero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); margin: 14px 0 0; max-width: 620px; }
.shero__shot .shot__win img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 960px) { .shero { grid-template-columns: minmax(0, 1fr); } }

.sbadge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--red); background: #fff; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(227, 0, 0, .35); margin-bottom: 14px; }
.sbadge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 0, 0, .15); }

.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.dl__pair { display: flex; flex-wrap: wrap; gap: 12px; }
.dlbtn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 26px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(227, 0, 0, .65); transition: background .3s, transform .3s var(--ease); }
.dlbtn:hover { background: var(--ink); transform: translateY(-2px); }
.dlbtn svg { flex: none; }
.dlbtn small { display: block; font-size: 12px; font-weight: 500; opacity: .85; }
.dlmeta { width: 100%; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.dlmeta b { color: var(--ink); }

/* sections */
main > .ssec:last-child { padding-bottom: clamp(56px, 8vw, 96px); }
.ssec { margin-top: clamp(48px, 7vw, 88px); }
.ssec > h2, .ssec__h { font-size: clamp(25px, 3vw, 36px); font-weight: 800; margin: 0 0 8px; }
.ssec__lead { color: var(--muted); margin: 0 0 24px; max-width: 760px; }

/* category / plan cards */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
@media (min-width: 1100px) { .scards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.scard { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
.scard h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.scard h3 i { flex: none; width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--red)); }
.scard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.scard ul { margin: 6px 0 0; padding-inline-start: 1.1em; font-size: 14.5px; color: #3a3631; display: grid; gap: 3px; }
.scard li::marker { color: var(--c, var(--red)); }
.scard__mod { margin-top: auto !important; padding-top: 10px; font-size: 12.5px !important; font-weight: 600; color: var(--ink) !important; }
.scard--plan { border-top: 4px solid var(--red); }
.scard--plan.is-top { box-shadow: 0 0 0 2px var(--red), 0 26px 60px -30px rgba(227, 0, 0, .5); }
.scard__for { font-size: 13px !important; font-weight: 600; color: var(--red) !important; }

/* screenshot gallery */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gal figure { margin: 0; }
.gal .shot__win img { width: 100%; aspect-ratio: 37 / 24; object-fit: cover; object-position: top left; }
.gal figcaption { font-size: 14px; font-weight: 600; margin-top: 10px; text-align: center; }
@media (max-width: 960px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gal { grid-template-columns: 1fr; } }

/* key points */
.pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pt { background: var(--ink); color: #fff; border-radius: 20px; padding: 20px; }
.pt b { display: block; font-size: 17px; margin-bottom: 4px; }
.pt span { font-size: 14px; color: rgba(255, 255, 255, .72); line-height: 1.5; }
@media (max-width: 960px) { .pts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pts { grid-template-columns: 1fr; } }
.pt__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px;
  background: rgba(229, 0, 0, .16); color: #ff4d4d; }
@media (max-width: 480px) {
  .pt { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .pt__ic { grid-row: span 2; margin: 0; }
}
/* phones: the « Aperçu » screenshots come right under the 4 key points */
@media (max-width: 760px) {
  main { display: flex; flex-direction: column; }
  main > * { order: 5; }
  main > .shero { order: 1; }
  main > .ssec--pts { order: 2; }
  main > .ssec--gal { order: 3; }
}

/* requirements + install steps */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.box { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); padding: 24px; }
.box h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reqs li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.reqs li:last-child { border-bottom: 0; padding-bottom: 0; }
.reqs b { font-weight: 600; color: var(--muted); }
@media (max-width: 480px) { .reqs li { grid-template-columns: 1fr; gap: 2px; } }
.steps { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 10px; font-size: 15px; }
.steps li::marker { color: var(--red); font-weight: 800; }
.steps em { font-style: normal; font-weight: 700; }

.beta { display: flex; gap: 16px; align-items: flex-start; background: #FFF4E5; border-radius: 20px; padding: 20px 22px; box-shadow: inset 0 0 0 1px rgba(184, 110, 0, .25); }
.beta svg { flex: none; color: #B86E00; margin-top: 2px; }
.beta p { margin: 0; font-size: 15px; color: #4a3a22; }
.beta b { color: #111; }

/* contact buttons */
.cbtns { display: flex; flex-wrap: wrap; gap: 12px; }
.cbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15.5px; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 17, .18); transition: background .25s, color .25s; direction: ltr; }
.cbtn:hover { background: var(--ink); color: #fff; }
.cbtn--wa { background: #1FAF55; color: #fff; box-shadow: none; }
.cbtn--wa:hover { background: #168a42; color: #fff; }
.price { display: inline-block; font-size: 15px; font-weight: 700; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; margin-top: 18px; }
.offer { margin-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.offer p { margin: 0; }
.offer b { color: var(--red); }

/* feedback form */
.fform { display: grid; gap: 14px; background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 0 0 2px var(--red), 0 26px 60px -30px rgba(227, 0, 0, .45); max-width: 820px; }
.fform .row--2 { gap: 14px; }
@media (max-width: 560px) { .fform .row--2 { grid-template-columns: 1fr; } }
.txt { min-height: 96px; resize: vertical; line-height: 1.5; }
.stars { display: flex; gap: 6px; flex-direction: row; }
.stars label { cursor: pointer; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #F1EEE9; font-weight: 800; font-size: 16px; transition: background .2s, color .2s; }
.stars input:checked + span { background: var(--red); color: #fff; }
.stars input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.fnote { margin: 0; font-size: 14px; color: var(--muted); }
.fnote.ok { color: #1d6b38; font-weight: 600; }
.fnote.err { color: var(--red); font-weight: 600; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inp.bad, .sel.bad, .txt.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 0, 0, .1); }

/* user guide download (2026-11-07) */
.guide { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; }
.guide__cover { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.14), 0 0 0 1px var(--line); }
.guide__txt p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.guide__btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.guide__btn svg { flex: none; }
.tbtn.guide__btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 600px) { .guide { grid-template-columns: 1fr; } .guide__cover { width: 140px; } }

/* back link (buy page) + guide language pop-up (2026-11-07) */
.backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; font-size: 15px; color: var(--red, #e50000); text-decoration: none; }
.backlink:hover { text-decoration: underline; }
[dir="rtl"] .backlink svg { transform: scaleX(-1); }
.kgd { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10,10,12,.55); opacity: 0; transition: opacity .2s; }
.kgd.on { opacity: 1; }
.kgd__box { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 20px; padding: 26px 24px 22px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.kgd__cover { display: block; margin: 0 auto 12px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.kgd h2 { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.kgd p { margin: 0 0 18px; font-size: 14.5px; color: #555; }
.kgd__btns { display: flex; gap: 10px; }
.kgd__b { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid #e50000; color: #e50000; background: #fff; }
.kgd__b--fr { background: #e50000; color: #fff; }
.kgd__x { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f1f3; color: #333; font-size: 20px; line-height: 1; cursor: pointer; }

.needs-gs::after{content:"Ghostscript";display:inline-block;margin-inline-start:.5em;padding:.05em .55em;border-radius:99px;font-size:.72em;font-weight:700;color:#e50000;border:1px solid currentColor;vertical-align:.08em}

/* 2.1.0 (2026-11-15): Windows + macOS download pair in the hero (.dlos, assets/css/dlos.css), requirements per system */
.dl .dlos { order: 0; }
.dl .dlos__note { width: 100%; margin: 0 0 6px; }
.reqh { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.reqh__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; }
.reqs em { font-style: normal; font-weight: 600; color: var(--red); }
.reqs li { grid-template-columns: 130px minmax(0, 1fr); }
@media (max-width: 480px) { .reqs li { grid-template-columns: 1fr; } }
.ssec > .two { margin-top: 18px; }
