/* cleverpoint.pro. brand: logobook */
/* Brand colours from the logobook: teal #259578, lime #A5BB61, graphite #313131, greys
   #676767 / #AEAEAE; font Raleway, Arial as the fallback. Pure teal is 3.7:1 on white, so
   text and buttons use a deeper teal of the same hue (5.2:1); pure teal and lime go to fills,
   lines and markers. The Recordance phase colours stay only inside the tachogram. */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/raleway-400.woff") format("woff"); }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/raleway-400i.woff") format("woff"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/raleway-600.woff") format("woff"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/raleway-700.woff") format("woff"); }
:root {
  --brand-teal: #259578;
  --brand-lime: #A5BB61;
  --graphite: #313131;
  --bg: #ffffff;
  --bg-2: #f4f7ec;
  --card: #ffffff;
  --line: #e1e6d8;
  --text: #313131;
  --muted: #4a4a4a;
  --dim: #676767;
  --accent: #1d7a62;
  --accent-2: #259578;
  --accent-hover: #15604d;
  --accent-soft: #e6f2ed;
  --ok: #1d7a62;
  --warn-bg: #fff6d6;
  --warn-line: #e8d48a;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Raleway", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
section { padding: 64px 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); margin-bottom: 1em; font-weight: 700; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; background: var(--brand-lime); vertical-align: middle; margin: -2px 10px 0 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.sub { color: var(--muted); max-width: 46em; }
.small { font-size: .88rem; color: var(--dim); }
.dim { color: var(--dim); }
.note { font-size: .88rem; color: var(--dim); max-width: 52em; margin-top: 12px; }
/* consent banner (2026-11-05): static/consent.js; Accept and Reject look the same */
/* named «cookiebar», not «consent»: .consent is the agreement checkbox of the forms */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.12); }
.cookiebar[hidden] { display: none; }
.cookiebar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.cookiebar-in > p { flex: 1 1 420px; margin: 0; font-size: .92rem; }
.cookiebar-more { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; }
.cookiebar-more[hidden] { display: none; }
.cookiebar-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookiebar-btns [hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fn { text-decoration: none; color: inherit; margin-left: 1px; }
.h-note { font-size: .6em; font-weight: 500; color: var(--dim); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 3px; }
code, .mono { font-family: var(--mono); font-size: .92em; }
pre { background: #262626; color: #ececec; padding: 16px 18px; border-radius: 10px; overflow: auto; font: .86rem/1.5 var(--mono); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.table-wrap { overflow-x: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--accent); cursor: pointer; background: var(--accent); color: #fff; font: 600 1rem/1 var(--font); text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px 18px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--text); padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--accent-2); }
.nav a[aria-current] { font-weight: 600; }
.nav .lang { color: var(--dim); font-weight: 600; }
/* the header button: `.nav a` would strip its side padding and recolour its text */
.nav .btn { padding: 9px 18px; margin-left: 6px; color: #fff; font-weight: 600; }
.nav .btn:hover, .nav .btn[aria-current] { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--font); color: var(--text); }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; padding: 6px 0; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: " ▾"; font-size: .8em; color: var(--dim); }
.dd[data-current] summary { color: var(--accent-2); font-weight: 600; }
.dd-menu { position: absolute; top: 100%; left: -12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px; display: grid; min-width: 180px; }
.dd-menu a { padding: 8px 12px; border-radius: 6px; }
.dd-menu a:hover { background: var(--bg-2); }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--card); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .dd summary { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; padding: 12px 18px; border-bottom: 0; }
}

/* banners */
.banner { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: .9rem; padding: 8px 0; }
.banner-stub { background: #eef3df; border-color: #cddb9f; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-small { padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }
.tacho-fig { margin: 0; }
.tacho-wrap { background: #262626; border-radius: var(--radius); padding: 10px 0; overflow: hidden; }
.tacho { width: 100%; height: 160px; display: block; }
.tacho-done { fill: rgba(255,255,255,.06); }
.tacho-head { stroke: #fff; stroke-width: 1.5; opacity: .8; }
.legend { list-style: none; padding: 0; margin: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tacho-fig figcaption { font-size: .85rem; color: var(--dim); }
.tacho-band .tacho-fig { max-width: 980px; margin: 0 auto; }

/* images */
.brand img { display: block; height: 40px; width: auto; }
.foot-logo img { display: block; height: 36px; width: auto; }
.fig { margin: 0; }
.fig img, .hero-img img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.fig-shot img { border: 1px solid var(--line); }
.fig-natural img { width: auto; max-width: 100%; }
.fig figcaption { font-size: .85rem; color: var(--dim); margin-top: 8px; }
.fig + .fig, p + .fig, ul + .fig, .btn + .fig, pre + .fig { margin-top: 20px; }
.fig + :not(.fig) { margin-top: 24px; }
.steps li img, .card-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.numbers div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.numbers b { display: block; font-size: 2rem; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.numbers span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .numbers { grid-template-columns: 1fr; } }

/* steps, cards, grids */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-lime); color: var(--graphite); font-weight: 700; margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { flex: 1; }
.card .more { font-weight: 600; text-decoration: none; }
.card-accent { border-color: var(--accent-2); background: var(--accent-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two > * { min-width: 0; }
pre, .table-wrap { max-width: 100%; }
@media (max-width: 860px) { .steps, .two { grid-template-columns: 1fr; } }

/* quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quotes blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand-lime); border-radius: var(--radius); padding: 22px 24px; }
.quotes p { font-size: 1.02rem; }
.quotes footer { color: var(--dim); font-size: .9rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.price-accent { border-color: var(--brand-teal); box-shadow: 0 8px 30px rgba(37,149,120,.14); }
.price .amount { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin: 0 0 .4em; }
.price ul { padding-left: 1.1em; flex: 1; margin: 0 0 1em; font-size: .95rem; }
.price .btn { align-self: flex-start; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* evidence tables */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* cta band */
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-in h2 { margin: 0; }

/* forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; font-size: .95rem; }
.field span em { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea { font: 1rem var(--font); padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; gap: 8px; font-size: .95rem; }
.checks label, .consent { display: flex; gap: 10px; align-items: flex-start; }
.consent { font-size: .9rem; color: var(--muted); }
.form-msg { font-size: .95rem; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #c0392b; }

/* footer */
.foot { background: var(--graphite); color: #ececec; padding: 48px 0 24px; font-size: .92rem; }
.foot h4, .foot .dim { color: #aeaeae; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-col { display: grid; align-content: start; gap: 6px; }
.foot-col a, .foot-col span { color: #ececec; text-decoration: none; }
.foot-col a:hover { color: var(--brand-lime); }
.foot-logo { font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: .3em; }
.tagline { color: var(--muted); }
.foot .tagline { color: #ececec; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-legal a { color: #aeaeae; text-decoration: none; }
.foot-legal a:hover { color: var(--brand-lime); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; } }

/* prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.3em; }
.channels td:first-child { font-family: var(--mono); font-size: .9rem; white-space: nowrap; }
/* portrait hero photo on /pmr/: crop to the table, keep the hero height */
.page-pmr .hero-img img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center bottom; }
.fig-mid { max-width: 680px; margin-left: auto; margin-right: auto; }

.beyond .card p { flex: 0 0 auto; }
.beyond .kv { margin: 4px 0 0; }

/* European Funds page: the marks strip first, on white, visible without scrolling (PARP) */
.eu-page { padding-top: 32px; overflow-wrap: anywhere; }
.eu-marks { background: #fff; padding: 8px 0 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.eu-marks img { width: 100%; height: auto; }
.eu-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.eu-page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.eu-money { margin: 16px 0 8px; }

/* order without a call (2026-11-01) */
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; }
.price-ask { font-size: .95rem; }
.order-steps { margin: 20px 0 0; padding-left: 1.2em; }
.order-steps li { margin-bottom: 8px; }
.pkgs { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.pkgs legend { font-size: .95rem; margin-bottom: 6px; padding: 0; }
.pkg { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.pkg:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pkg input { margin-top: 4px; }
.pkg strong { font-weight: 600; }
.pkg .pkg-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.pkg .small { grid-column: 2 / 4; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Stressonika in depth, evidence, FAQ (2026-11-01) */
.crumbs { font-size: .88rem; color: var(--dim); margin: 0 0 10px; }
.crumbs a { color: var(--dim); }
.refs { padding-left: 1.1em; font-size: .9rem; color: var(--muted); }
.refs li { margin-bottom: 6px; }
.faq-toc { font-size: .95rem; margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--accent); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }
th[scope="rowgroup"] { background: var(--bg-2); color: var(--text); }

/* section tabs (2026-11-01) */
.subnav { border-bottom: 1px solid var(--line); background: var(--bg); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { padding: 12px 14px; white-space: nowrap; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-size: .95rem; }
.subnav a:hover { color: var(--accent); }
.subnav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.foot-sub { padding-left: 12px; font-size: .92em; }
