/* Komprilo – web in the spirit of mid-century information design: black, vermilion, ochre, steel blue on paper. */
:root {
  --ink: #141414;
  --muted: #55524c;
  --paper: #f4f1ea;
  --white: #ffffff;
  --red: #e4572e;
  --ochre: #f3b61f;
  --blue: #2e5c8a;
  --grey: #a39e93;
  --line: #d9d3c5;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.top { border-bottom: 3px solid var(--ink); background: var(--white); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 900; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: flex;
         align-items: center; gap: 10px; font-size: 18px; }
.mark { display: inline-block; width: 14px; height: 14px; background: var(--red); }
.nav { display: flex; gap: 20px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.langs { display: flex; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.langs a { text-decoration: none; padding: 2px 6px; border: 1.5px solid var(--ink); }
.langs a.on { background: var(--ink); color: var(--white); }
@media (max-width: 700px) {
  .top { position: static; }
  .top .wrap { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 16px; font-size: 14px; }
  .langs { margin-left: auto; }
}

/* Type */
h1 { font-size: clamp(32px, 5.6vw, 56px); line-height: 1.04; letter-spacing: -.01em; font-weight: 900; margin: 0 0 18px; }
h2 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
h3 { font-size: 18px; line-height: 1.3; margin: 0 0 6px; font-weight: 800; }
p { margin: 0 0 14px; }
.kicker { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.section-title { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.section-title::before { content: ""; width: 12px; height: 12px; background: var(--red); flex: 0 0 auto; }
.section-note { color: var(--muted); margin-bottom: 24px; }
.small { font-size: 14px; color: var(--muted); }
.link { font-weight: 800; color: var(--red); text-decoration: none; }

/* Sections */
.hero { padding: 48px 0 40px; border-bottom: 3px solid var(--ink); }
.home-hero .wrap { border-left: 14px solid var(--red); padding-left: 28px; }
.band { padding: 48px 0; }
.band.paper { background: var(--paper); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.split { display: grid; gap: 36px; align-items: center; }
.split-wide { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.25fr 1fr; }
  .split-wide { grid-template-columns: 1.3fr 1fr; }
}
.hero-cover img { border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--red); max-height: 560px; width: auto; margin: 0 auto; }
@media (max-width: 899px) { .hero-cover { order: -1; } .hero-cover img { max-height: 420px; box-shadow: 10px 10px 0 var(--red); } }

/* Buttons and forms */
button, .button { font: inherit; font-weight: 800; border: 0; padding: 14px 22px; cursor: pointer; background: var(--red);
                  color: var(--white); text-decoration: none; display: inline-block; text-align: center; letter-spacing: .02em; }
button:hover, .button:hover { background: var(--ink); }
.trust { margin-top: 12px; font-size: 14px; color: var(--muted); }
.card { background: var(--white); border: 3px solid var(--ink); border-top: 10px solid var(--red); padding: 24px; }
@media (min-width: 900px) { .card { position: sticky; top: 84px; } }
.card h2 { margin-top: 0; }
.card .free { padding-left: 20px; margin: 0 0 14px; }
form { display: grid; gap: 10px; margin-top: 8px; }
label { font-weight: 700; }
input[type="email"] { font: inherit; padding: 13px 12px; border: 2px solid var(--ink); width: 100%; background: var(--white); border-radius: 0; }
input[type="email"]:focus { outline: 3px solid var(--ochre); outline-offset: 0; }
.check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--red); }
.err { color: #b42318; font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.price { margin: 16px 0 0; font-weight: 800; border-top: 2px solid var(--ink); padding-top: 12px; }

/* Numbered lists: circles with numbers */
ol.numbered { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: n; display: grid; gap: 18px; }
ol.numbered > li { counter-increment: n; position: relative; padding-left: 52px; }
ol.numbered > li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
                           border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 900;
                           display: flex; align-items: center; justify-content: center; font-size: 16px; }
ol.numbered > li:nth-child(4n+1)::before { background: var(--red); }
ol.numbered > li:nth-child(4n+2)::before { background: var(--ink); }
ol.numbered > li:nth-child(4n+3)::before { background: var(--blue); }
ol.numbered > li:nth-child(4n+4)::before { background: var(--ochre); color: var(--ink); }
ol.numbered.compact { gap: 12px; }
ol.numbered.compact > li { padding-left: 44px; min-height: 30px; }
ol.numbered.compact > li::before { width: 30px; height: 30px; font-size: 14px; }
ol.numbered.compact p { margin: 0; padding-top: 3px; }
@media (min-width: 900px) { ol.numbered.four { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  ol.numbered.four > li { padding-left: 0; padding-top: 52px; } }
.features { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.features li { border: 2px solid var(--ink); padding: 6px 12px; font-weight: 700; font-size: 14px; background: var(--white); }

/* Catalog */
.guides { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.guide { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.guide .cover img { border: 2px solid var(--ink); transition: box-shadow .15s ease; aspect-ratio: 794 / 1123; object-fit: cover; }
.guide:hover .cover img { box-shadow: 8px 8px 0 var(--red); }
.badge { align-self: flex-start; background: var(--ochre); font-weight: 800; font-size: 12px; text-transform: uppercase;
         letter-spacing: .08em; padding: 3px 8px; margin-top: 6px; }
.guide-title { font-weight: 800; font-size: 18px; line-height: 1.25; }
.guide-text { color: var(--muted); font-size: 15px; }
.more { color: var(--red); font-weight: 800; font-size: 15px; }

/* Sample page gallery */
.pages { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pages { grid-template-columns: 1fr 1fr; } }
.pages figure { margin: 0; }
.pages img { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--paper); }
.pages figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; font-weight: 600; }

/* FAQ */
.faq details { border-top: 2px solid var(--ink); padding: 14px 0; }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.company { font-weight: 600; }
.prose p { max-width: 720px; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 36px 0 110px; font-size: 14px; }
.foot a { color: var(--paper); }
.foot-brand { font-weight: 900; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 10px;
              margin-bottom: 14px; font-size: 16px; }
.rights { color: var(--grey); }

/* Cookie banner: both choices look the same, refusing is as easy as accepting. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--white);
           border: 3px solid var(--ink); padding: 16px; font-size: 15px; z-index: 20; }
.consent p { margin: 0 0 12px; }
.consent-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-buttons button { flex: 1 1 140px; background: var(--ink); color: var(--white); }
