/* Korpora public page — prices, questions, closing, footer and the legal pages. */

/* pricing: every option reads like the label stuck on a cut part — the thick edges are the banded ones */
.trial-statement {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
  max-width: 30em;
  margin-bottom: 30px;
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 14px;
}
.price {
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--oak);
  border-bottom: 4px solid var(--oak);
  border-radius: 4px;
  padding: 16px 16px 14px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.price-period {
  font-weight: 650;
}
.price-total {
  font: 720 1.9rem/1.1 var(--f-text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-month {
  color: var(--ink-2);
  font-size: 0.92rem;
}
.price-vat {
  color: var(--ink-2);
  font-size: 0.86rem;
}
.price-off {
  font: 600 0.82rem/1.4 var(--f-text);
  color: var(--green);
}
.price-lifetime {
  border-left-color: var(--gold);
  border-bottom-color: var(--gold);
}
.price-notes {
  margin: 24px 0 30px;
  padding-left: 1.1em;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: 0.95rem;
  display: grid;
  gap: 6px;
}

/* questions */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary h3 {
  display: inline;
  font-size: 1.12rem;
  margin: 0;
}
.faq summary::after {
  content: '+';
  content: '+' / '';
  position: absolute;
  right: 6px;
  top: 14px;
  font: 400 1.5rem/1 var(--f-text);
  color: var(--ink-2);
}
.faq details[open] summary::after {
  content: '−';
  content: '−' / '';
}
.faq details p {
  margin: 0 0 18px;
  color: var(--ink-2);
  max-width: var(--measure);
}

/* closing */
.closing p {
  max-width: var(--measure);
  color: var(--ink-2);
  margin-bottom: 24px;
}

/* footer */
.site-foot {
  border-top: 1px solid var(--rule);
  padding-block: 32px 40px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.site-foot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
@media (min-width: 800px) {
  .site-foot .wrap {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: start;
  }
}
.foot-legal {
  display: grid;
  gap: 0;
  align-content: start;
}
/* a target of at least 24 px (WCAG 2.5.8) without changing the rhythm of the list */
.foot-legal a,
.crumbs a {
  display: inline-block;
  padding-block: 4px;
}
.site-foot p {
  margin: 0 0 6px;
}
.site-foot .brand {
  margin-bottom: 10px;
}
.foot-end {
  display: grid;
  gap: 12px;
  justify-items: start;
}
@media (min-width: 800px) {
  .foot-end {
    justify-items: end;
    text-align: right;
  }
}

/* legal pages */
.legal {
  max-width: 760px;
  padding-block: 40px 70px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}
.legal h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}
.legal p,
.legal li {
  line-height: 1.65;
}
.legal .updated {
  color: var(--ink-2);
}
/* breadcrumbs: the same two steps as the BreadcrumbList in the JSON-LD */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.crumbs li + li::before {
  content: '›';
  content: '›' / '';
  margin-right: 8px;
}
.legal .table-wrap {
  margin: 12px 0;
}
/* a long Italian or Bulgarian word in a header may break instead of running under the next cell */
.legal th {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.disclaimer {
  margin-top: 36px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
}
/* the model withdrawal form in the terms: an official text, set apart from the clauses */
.model-form {
  margin: 16px 0;
  padding: 14px 18px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
}
.model-form h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.model-form p {
  margin: 0 0 4px;
}
