/* Kontelio website — tokens come from the logo: indigo ink + check green on cool ledger paper. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #2e2585;
  --indigo: #5b4bdb;
  --indigo-soft: #ecebfb;
  --check: #138a63;
  --check-bright: #2dd4a0;
  --check-soft: #e3f6ee;
  --paper: #f5f6fb;
  --graphite: #1b1a2e;
  --muted: #55557a;
  --line: #dcdeec;
  --white: #ffffff;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Public Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* modular scale 1.25 on 17px */
  --s-1: 0.8125rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: 1.9375rem;
  --s4: 2.4375rem;
  --s5: 3.0625rem;
  --radius: 10px;
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%23138A63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--s0);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--indigo); }
h1, h2, h3 { font-family: var(--display); color: var(--graphite); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, var(--s5)); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, var(--s4)); font-weight: 700; }
h3 { font-size: var(--s1); font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.lead { font-size: var(--s1); color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); font-size: var(--s-1); }
.skip { position: absolute; inset-inline-start: 1rem; top: -3rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.5rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; color: var(--white); }

/* Buttons ------------------------------------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.6rem 1.15rem; border-radius: 8px; border: 2px solid transparent;
  font: 600 var(--s0) / 1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-large { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1.125rem; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--indigo); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--indigo-soft); color: var(--ink); }
.btn-quiet { color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--indigo-soft); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--check-soft); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Header ------------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand img { width: 148px; height: 40px; }
.site-nav { display: flex; align-items: center; gap: 1rem; flex: 1; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-links { gap: 1.1rem; margin-inline-start: auto; }
.nav-links a { color: var(--graphite); text-decoration: none; font-weight: 500; font-size: 0.975rem; }
.nav-links a:hover { color: var(--indigo); }
.nav-links a, .nav-actions .btn { white-space: nowrap; } /* long labels (fr, pl …) must not wrap inside the bar */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0.35rem 0.6rem;
  border-radius: 8px; color: var(--muted); font-size: var(--s-1); font-weight: 700; cursor: pointer;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { flex-shrink: 0; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--ink); background: var(--indigo-soft); }
.lang-list {
  position: absolute; z-index: 60; top: calc(100% + 0.35rem); inset-inline-end: 0; min-width: 12rem; margin: 0; padding: 0.35rem; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 32px rgb(27 26 46 / 0.12);
}
.lang-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 6px; color: var(--graphite); text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: var(--paper); color: var(--ink); }
.lang-list a[aria-current] { background: var(--indigo-soft); color: var(--ink); font-weight: 700; }
.lang-code { width: 1.6rem; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.nav-actions { display: flex; gap: 0.5rem; }
.nav-toggle { display: none; }

/* Burger menu below 78rem: the bar needs up to ~73rem for the longest labels (fr, de, es) with the Blog link. */
@media (max-width: 78rem) {
  .nav-toggle {
    display: inline-flex; margin-inline-start: auto; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.25rem; height: 2px; background: var(--graphite); position: relative; transition: transform 0.2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(27 26 46 / 0.08);
  }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; margin: 0; }
  .nav-links a { display: block; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line); font-size: var(--s0); }
  .nav-actions { flex-direction: column; }
  .lang-list { position: static; box-shadow: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); margin-top: 0.35rem; }
}

/* Hero --------------------------------------------------------------------------------------------------------- */
.hero {
  /* ledger paper: faint horizontal ruling, the material this product replaces */
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgb(46 37 133 / 0.06) 31px 32px),
    linear-gradient(var(--paper), var(--paper));
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero-copy h1 { max-width: 17ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.75rem 1rem; }
.hero-note { font-size: var(--s-1); color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.hero-note::before { content: ''; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--check-bright); flex: none; }

/* Sections ----------------------------------------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: var(--s1); }

/* Steps: a real sequence, so it is numbered */
.step-list { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.step-list li { counter-increment: step; position: relative; padding-top: 3.75rem; }
.step-list li::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--white); font: 700 1.125rem var(--display);
}
.step-list li:not(:last-child)::after { content: ''; position: absolute; top: 1.25rem; inset-inline: 3.25rem -1.25rem; border-top: 2px dotted #b9b4ee; }
.step-list li:last-child::before { background: var(--check); }
.step-list p { color: var(--muted); }

/* Features: an index of the official forms, not a card grid */
.features { background: var(--paper); border-block: 1px solid var(--line); }
.form-name { grid-column: 2; grid-row: 1; font-weight: 700; }

/* Languages */
.languages { background: var(--ink); color: #e9e7ff; }
.languages h2 { color: var(--white); }
.languages-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.languages-label { font-size: var(--s-1); color: #bdb7f5; margin-bottom: 0.75rem; }

/* Trust */
.trust-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.trust-list li { padding-top: 1rem; border-top: 3px solid var(--check); }
.trust-list h3 { font-size: 1.125rem; }
.trust-list p { color: var(--muted); margin: 0; }

/* Pricing: trial first, then the plans, then the details for those who compare line by line */
.pricing { background: var(--paper); border-top: 1px solid var(--line); }
.pricing .section-head { margin-bottom: 1.5rem; }
.pricing .section-head h1 { max-width: 28ch; font-size: clamp(2rem, 1.3rem + 2.6vw, var(--s4)); }
.trial-points { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; font-weight: 650; }
.trial-points li, .plan-features li, .assurance-list li { position: relative; padding-inline-start: 1.6rem; }
.trial-points li::before, .plan-features li::before, .assurance-list li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--check-soft) var(--icon-check) center / 100% no-repeat;
}
.trial-points li::before { width: 1.15rem; height: 1.15rem; top: 0.22em; background-color: var(--check); background-image: var(--icon-check-white); }
.trial-points li { padding-inline-start: 1.75rem; }

.billing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 2.25rem; }
.billing-toggle { display: inline-flex; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.billing-toggle button {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; border: 0; background: transparent; border-radius: 999px;
  padding: 0.5rem 1.1rem; font: 600 0.95rem var(--text); color: var(--muted); cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button[aria-checked='true'] { background: var(--ink); color: var(--white); }
.billing-toggle .save { font-size: var(--s-1); font-weight: 700; color: #0c6649; background: var(--check-soft); border-radius: 999px; padding: 0.05rem 0.5rem; white-space: nowrap; }
.billing-row .net-note { font-size: var(--s-1); color: var(--muted); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s;
}
.plan:hover { border-color: #c4c6da; box-shadow: 0 12px 28px rgb(46 37 133 / 0.08); }
.plan.is-recommended { border: 2px solid var(--ink); box-shadow: 0 24px 48px rgb(46 37 133 / 0.14); margin-top: -0.75rem; padding-top: 2.25rem; }
.plan-flag {
  position: absolute; top: -0.9rem; inset-inline-start: 1.5rem; margin: 0; display: inline-flex; align-items: center; gap: 0.3rem;
  background: #0c6649; color: var(--white); font-size: var(--s-1); font-weight: 700; padding: 0.2rem 0.7rem 0.2rem 0.55rem; border-radius: 999px;
}
.plan-flag svg { width: 0.9rem; height: 0.9rem; }
.plan h3 { font-size: var(--s2); margin-bottom: 0.2rem; }
.plan-goal { font-weight: 700; color: var(--ink); margin: 0 0 0.35rem; }
.plan-tagline { color: var(--muted); font-size: 0.95rem; min-height: 4.8em; margin-bottom: 1rem; }
.plan-price { min-height: 6.4rem; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.4rem; margin: 0; }
.price-main .amount { font: 750 var(--s4) / 1.05 var(--display); color: var(--graphite); letter-spacing: -0.02em; }
.price-main .unit { color: var(--muted); font-weight: 600; }
.price-sub { font-size: 0.95rem; color: var(--graphite); margin: 0.3rem 0 0; }
.price-save { display: inline-block; font-size: var(--s-1); font-weight: 700; color: #0c6649; background: var(--check-soft); border-radius: 4px; padding: 0.1rem 0.45rem; margin: 0.45rem 0 0; }
.price-alt { font-size: var(--s-1); color: var(--muted); margin: 0.45rem 0 0; }
.price-alt strong { color: #0c6649; }
[data-billing-view='yearly'] [data-show='monthly'], [data-billing-view='monthly'] [data-show='yearly'] { display: none; }
.plan-cta { width: 100%; margin-top: 1.25rem; }
.plan-cta-note { font-size: var(--s-1); color: var(--muted); text-align: center; margin: 0.45rem 0 0; }
.plan-body { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.plan-includes { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.6rem; }
.plan-features, .plan-upcoming ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.plan-features .plan-users { font-weight: 700; }
.plan-upcoming { margin-top: 1.25rem; }
.plan-upcoming-title { font-size: var(--s-1); font-weight: 700; color: var(--indigo); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; }
.plan-upcoming li { position: relative; padding-inline-start: 1.6rem; color: var(--muted); }
.plan-upcoming li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--indigo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='2' fill='%235B4BDB'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.badge-soon { font-size: 0.72rem; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); border-radius: 4px; padding: 0.05rem 0.35rem; white-space: nowrap; }

/* trust and languages, short, right where the decision is made */
.assurance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.assurance > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.assurance h2 { font-size: 1.125rem; margin-bottom: 0.6rem; }
.assurance p { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.75rem; }
.assurance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; font-size: 0.95rem; font-weight: 600; }
.lang-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.lang-chips li { font-size: var(--s-1); font-weight: 600; color: var(--ink); background: var(--indigo-soft); border-radius: 999px; padding: 0.15rem 0.6rem; }

/* comparison: one small table per category, an accordion on phones */
.compare { margin-top: 3.5rem; }
.compare h2 { font-size: var(--s2); margin-bottom: 1rem; }
.compare-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; }
.compare-group summary { list-style: none; cursor: pointer; position: relative; padding-block: 0.9rem; padding-inline: 1.25rem 3rem; font: 650 1.0625rem var(--display); color: var(--graphite); }
.compare-group summary::-webkit-details-marker { display: none; }
.compare-group summary::after { content: '+'; position: absolute; inset-inline-end: 1.1rem; top: 0.65rem; font: 400 1.6rem/1 var(--display); color: var(--indigo); transition: transform 0.2s; }
.compare-group[open] summary::after { transform: rotate(45deg); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 0.6rem 0.75rem; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare-table thead th { font: 650 var(--s-1) var(--text); color: var(--muted); border-top: 0; padding-block: 0.35rem; }
.compare-table th[scope='row'] { text-align: start; font-weight: 500; padding-inline-start: 1.25rem; }
.compare-table col.c-feature { width: 52%; }
.compare-table .c-rec { background: rgb(91 75 219 / 0.05); }
.compare-table thead .c-rec { color: var(--ink); }
.compare-yes { display: inline-block; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--check-soft) var(--icon-check) center / 100% no-repeat; vertical-align: middle; }
.compare-no { color: #6e6e8f; }
.compare-value { font-weight: 700; overflow-wrap: anywhere; hyphens: auto; }
.pricing-note { margin-top: 1.5rem; font-size: var(--s-1); color: var(--muted); max-width: 48rem; }

/* mobile sticky CTA */
.sticky-cta {
  position: fixed; z-index: 40; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(27 26 46 / 0.18);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { flex: 1; }
.sticky-cta-close { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.sticky-cta-close:hover { background: var(--indigo-soft); color: var(--ink); }
@media (min-width: 48.01rem) { .sticky-cta { display: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .sticky-cta { animation: sticky-in 0.25s ease-out; }
}
@keyframes sticky-in { from { transform: translateY(1rem); opacity: 0; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding-block: 1.1rem; padding-inline: 0 2.5rem; position: relative; font-weight: 650; font-size: 1.0625rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; inset-inline-end: 0.25rem; top: 0.85rem; font: 400 1.6rem/1 var(--display); color: var(--indigo); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; max-width: 42rem; }

/* CTA band */
.cta-band { background: var(--ink); padding-block: 3.5rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: var(--s3); }
.cta-band p { color: #d7d3fb; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-item { margin-top: 1.5rem; }
.contact-item h2 { font-size: var(--s-1); color: var(--muted); font-family: var(--text); font-weight: 600; letter-spacing: 0; margin-bottom: 0.25rem; }
.contact-item p { margin: 0; font-size: 1.125rem; }
.contact-item a { font-weight: 600; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--graphite); background: var(--white);
  border: 1px solid #c4c6da; border-radius: 8px; padding: 0.65rem 0.8rem; min-height: 2.75rem;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: var(--s-1); margin: 0.3rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.field-check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--ink); }
.field-check label { font-weight: 400; font-size: 0.925rem; margin: 0; }
.field-check .field-error { grid-column: 2; }
/* clipped instead of pushed off-screen: a negative offset would become scrollable in right-to-left pages */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { margin: 0; padding: 0.8rem 1rem; border-radius: 8px; font-weight: 600; }
.form-status.is-success { background: var(--check-soft); color: #0c6649; }
.form-status.is-error { background: #fdecea; color: #8c1d18; }
.contact-form button[type='submit'] { justify-self: start; }

/* Footer */
.site-footer { background: var(--graphite); color: #c9c8dc; padding-top: 3.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-brand img { width: 148px; height: 40px; margin-bottom: 1rem; }
.site-footer h2 { font: 600 var(--s-1) var(--text); color: var(--white); letter-spacing: 0; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a, .site-footer .linklike { color: #c9c8dc; text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); margin-top: 2.5rem; padding-block: 1.25rem; font-size: var(--s-1); }
.footer-bottom p { margin: 0; }

/* Consent banner */
.consent {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-inline-start: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: 0 20px 40px rgb(27 26 46 / 0.18);
}
.consent { max-height: calc(100vh - 2rem); overflow-y: auto; }
.consent-title { font-size: var(--s1); margin-bottom: 0.4rem; }
.consent p { font-size: 0.925rem; margin-bottom: 0.75rem; }
.consent-options { list-style: none; padding: 0; margin: 0 0 0.75rem; display: grid; gap: 0.6rem; }
.consent-option { border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.75rem; }
.consent-option label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; cursor: pointer; }
.consent-option input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); flex: none; }
.consent-option input:disabled + .consent-label { cursor: default; }
.consent-always { margin-inline-start: auto; font-size: var(--s-1); font-weight: 600; color: var(--check); }
.consent-option p { margin: 0.25rem 0 0; padding-inline-start: 1.6rem; color: var(--muted); font-size: var(--s-1); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.consent-actions .btn { padding-inline: 1rem; }
.consent [hidden] { display: none !important; }
@media (max-width: 30rem) {
  .consent { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; padding: 0.9rem 1rem; }
  .consent-actions .btn { flex: 1 1 calc(50% - 0.25rem); }
}

/* Legal pages */
/* Guide pages (Ratgeber) and the guide section of the home page */
.guides { background: var(--paper); border-block: 1px solid var(--line); }
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--graphite); text-decoration: none; }
.guide-card:hover { border-color: var(--indigo); color: var(--graphite); }
.guide-card h2, .guide-card h3 { font-size: var(--s1); margin-bottom: 0.5rem; }
.guide-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.guide-more { color: var(--indigo); font-weight: 650; }
.guide { padding-top: 2rem; }
/* guides and blog posts use the width of the site; their illustration stays centred and smaller */
.guide-wrap { max-width: 70rem; padding-bottom: 3.5rem; }
.guide-article > .guide-figure { max-width: 46rem; margin-inline: auto; }
.guide-article > .lead { max-width: none; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--s-1); color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-inline-end: 0.5rem; }
.guide h1 { font-size: var(--s4); }
.guide-article h2 { font-size: var(--s2); margin-top: 2.5rem; }
.guide-article h3 { margin-top: 1.75rem; }
.guide .lead { font-size: var(--s1); color: var(--muted); }
.guide-toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-block: 2rem; }
.guide-toc h2 { font-size: var(--s0); margin: 0 0 0.5rem; }
.guide-toc ol { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: 0.25rem; }
.guide-list { padding-inline-start: 1.25rem; display: grid; gap: 0.4rem; }
.guide-manual { margin-top: 2.5rem; }
.guide-reviewed { color: var(--muted); font-size: var(--s-1); }
.guide-related { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
.guide-related h2 { font-size: var(--s1); }
.guide-related ul { padding-inline-start: 1.25rem; display: grid; gap: 0.4rem; }
.guide-summary { background: var(--paper); border: 1px solid var(--line); border-inline-start: 4px solid var(--check); border-radius: var(--radius); padding: 1rem 1.25rem; margin-block: 2rem 0; }
.guide-summary h2 { font-size: var(--s0); margin: 0 0 0.5rem; }
.guide-summary ul { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: 0.35rem; }
.guide-table-wrap { overflow-x: auto; margin-block: 1.25rem; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.guide-table caption { text-align: start; color: var(--muted); font-size: var(--s-1); padding-bottom: 0.5rem; }
.guide-table th, .guide-table td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: start; vertical-align: top; }
.guide-table thead th { background: var(--paper); font-weight: 650; }
.guide-table tbody th { font-weight: 600; }
.guide-cats ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.guide-cats a { display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.guide-cats a:hover { border-color: var(--indigo); }
.guide-cat { margin-top: 2.5rem; scroll-margin-top: 5rem; }
.guide-cat h2 { font-size: var(--s2); margin-bottom: 1rem; }
/* blog (src/blog): hub cards with image and date, post body from outside HTML (lib/blog-html.mjs) */
.blog-hub .section-head { max-width: none; }
.blog-hub .section-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, var(--s4)); }
.blog-hub .section-head p { max-width: 60rem; }
.blog-card { padding: 0 0 1.5rem; overflow: hidden; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.blog-card time, .blog-card h3, .blog-card p, .blog-card .guide-more { padding-inline: 1.5rem; }
.blog-card time, .blog-meta { color: var(--muted); font-size: var(--s-1); }
.blog-meta { margin-top: -0.5rem; }
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.blog-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.blog-pages a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; padding: 0 0.5rem; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
.blog-pages a:hover { border-color: var(--indigo); }
.blog-pages-gap { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.25rem; color: var(--muted); }
.blog-pages a[aria-current="page"] { background: var(--indigo); border-color: var(--indigo); color: #fff; font-weight: 650; }
.blog-content { margin-top: 1.5rem; }
.blog-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.blog-content figure { margin: 1.5rem 0; }
.blog-content figcaption { color: var(--muted); font-size: var(--s-1); }
.blog-content blockquote { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1rem; border-inline-start: 3px solid var(--indigo); color: var(--muted); }
.blog-content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-block: 1.25rem; }
.blog-content th, .blog-content td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: start; vertical-align: top; }
.blog-content thead th { background: var(--paper); font-weight: 650; }
.blog-content pre { overflow-x: auto; }
/* CTA card of the posts (lib/blog-html.mjs → ctaCard): dark brand panel with a slanted edge, title, text, button */
.blog-content .blog-cta { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin: 2rem 0; padding: 0.875rem; background: var(--indigo-soft); border-radius: calc(var(--radius) * 2); }
.blog-cta-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem 3.5rem 1.5rem 1.5rem; background: #1d1a4f; color: var(--white); border-radius: var(--radius) 0 0 var(--radius); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.blog-cta-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: var(--s-1); letter-spacing: 0.08em; text-transform: uppercase; }
.blog-cta-domain { font-size: var(--s-1); opacity: 0.85; }
.blog-cta-body { margin-inline-start: -12%; padding-block: 1.75rem; padding-inline: calc(12% + 1.25rem) 1.75rem; background: var(--white); border-radius: var(--radius); }
.blog-content .blog-cta-body p { margin: 0 0 1rem; color: var(--muted); }
.blog-content .blog-cta-body .blog-cta-title { font-family: var(--display); font-size: var(--s2); font-weight: 700; color: var(--graphite); line-height: 1.2; margin-bottom: 0.75rem; }
.blog-cta-title::after { content: ''; display: block; width: 3.5rem; height: 4px; margin-top: 0.75rem; border-radius: 2px; background: var(--ink); }
.blog-content .blog-cta-body p:last-child { margin: 0; }
.blog-content a.blog-cta-button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.6rem 1.25rem; border-radius: 8px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.blog-content a.blog-cta-button::after { content: '→'; }
.blog-content a.blog-cta-button:hover { background: var(--indigo); color: var(--white); }
[dir="rtl"] .blog-content a.blog-cta-button::after { content: '←'; }
[dir="rtl"] .blog-cta-brand { border-radius: 0 var(--radius) var(--radius) 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); padding: 1.5rem 1.5rem 1.5rem 3.5rem; }
@media (max-width: 40rem) {
  .blog-content .blog-cta { grid-template-columns: minmax(0, 1fr); }
  .blog-cta-brand, [dir="rtl"] .blog-cta-brand { flex-direction: row; align-items: center; flex-wrap: wrap; clip-path: none; border-radius: var(--radius) var(--radius) 0 0; padding: 1rem 1.25rem; }
  .blog-cta-body { margin-inline-start: 0; padding: 1.25rem; padding-inline: 1.25rem; border-radius: 0 0 var(--radius) var(--radius); }
}
@media (max-width: 62rem) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 48rem) { .guide-cards { grid-template-columns: minmax(0, 1fr); } .guide h1 { font-size: var(--s3); } }

.legal { padding-block: 3rem 5rem; }
.legal-wrap { max-width: 46rem; }
.legal h1 { font-size: var(--s4); }
.legal h2 { font-size: var(--s1); margin-top: 2rem; }
.legal-note { background: #fff6d6; border-inline-start: 4px solid #d4a50b; padding: 0.75rem 1rem; font-size: 0.925rem; }

/* Right-to-left (Arabic) --------------------------------------------------------------------------------------- */
[dir='rtl'] .nav-toggle-bars::before, [dir='rtl'] .nav-toggle-bars::after { left: auto; right: 0; }
/* amounts stay left-to-right inside Arabic text */
[dir='rtl'] .amount { direction: ltr; unicode-bidi: isolate; }

/* Responsive --------------------------------------------------------------------------------------------------- */
@media (max-width: 62rem) {
  .hero-grid, .languages-grid, .faq-wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 20ch; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 30rem; gap: 2rem; }
  .plan.is-recommended { margin-top: 0; }
  .plan-tagline, .plan-price { min-height: 0; }
  .assurance { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .step-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .step-list li { padding-top: 0; padding-inline-start: 3.5rem; min-height: 2.5rem; }
  .step-list li:not(:last-child)::after { top: 2.9rem; bottom: -1.2rem; inset-inline: 1.2rem auto; border-top: 0; border-inline-start: 2px dotted #b9b4ee; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .cta-inner .btn { width: 100%; }
  .pricing .section-head h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2rem); }
  .trial-points { flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
  .billing-row { margin-bottom: 1.75rem; }
  .compare-group summary { padding-inline-start: 1rem; }
  .compare-table { font-size: 0.875rem; }
  .compare-table col.c-feature { width: 46%; }
  .compare-table th, .compare-table td { padding: 0.55rem 0.2rem; }
  .compare-table th[scope='row'] { padding-inline-start: 1rem; }
  .compare-table .badge-soon { font-size: 0.66rem; padding-inline: 0.2rem; white-space: normal; hyphens: auto; }
  .compare-value { font-size: var(--s-1); }
  .site-footer { padding-bottom: 4.5rem; } /* room for the sticky CTA */
}
@media (max-width: 30rem) {
  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .assurance-list { grid-template-columns: minmax(0, 1fr); }
  /* long "yearly + saving" labels (fr, pl, …): full-width toggle, saving badge under the label */
  .billing-toggle { display: flex; width: 100%; border-radius: 14px; }
  .billing-toggle button { flex: 1; flex-direction: column; justify-content: center; gap: 0.2rem; border-radius: 10px; padding-inline: 0.6rem; line-height: 1.2; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* E-Rechnung checklist landing page (lead magnet): one goal, the form; no menu */
.site-header-minimal .header-inner { justify-content: space-between; }
.header-cta { min-height: 2.5rem; }
.eyebrow { font-size: var(--s-1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--check); margin: 0 0 0.75rem; }
.wrap.narrow { max-width: 46rem; }
.landing-hero .hero-copy h1 { max-width: 20ch; }
.landing-hero .hero-copy > p:not(.lead):not(.hero-note):not(.eyebrow) { max-width: 38rem; }

.checklist-preview { display: grid; place-items: center; }
.checklist-sheet {
  width: min(100%, 22rem); aspect-ratio: 1 / 1.3; background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgb(46 37 133 / 0.35); padding: 1.75rem 1.5rem; transform: rotate(-2deg);
  display: flex; flex-direction: column;
}
.checklist-sheet-brand { display: flex; align-items: center; gap: 0.4rem; font: 700 0.9rem var(--display); color: var(--ink); margin: 0 0 1.25rem; }
.checklist-sheet-title { font: 750 1.6rem/1.1 var(--display); color: var(--graphite); margin: 0 0 0.35rem; }
.checklist-sheet-sub { font-size: var(--s-1); color: var(--muted); margin: 0 0 1.25rem; }
.checklist-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.checklist-sheet li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.95rem; padding-bottom: 0.6rem; border-bottom: 1px dashed var(--line); }
.checklist-sheet li::before { content: ''; flex: none; width: 1.1rem; height: 1.1rem; border: 2px solid #b9b4ee; border-radius: 4px; }
.checklist-sheet li.is-done::before { border-color: var(--check); background: var(--check) var(--icon-check-white) center / 100% no-repeat; }
.checklist-score { margin-top: auto; display: grid; gap: 0.4rem; font-size: var(--s-1); font-weight: 700; color: var(--ink); }
.checklist-meter { display: block; height: 0.55rem; border-radius: 999px; background: var(--indigo-soft); overflow: hidden; }
.checklist-meter span { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--indigo), var(--check-bright)); }

.landing-problem .highlight { font: 700 var(--s2)/1.25 var(--display); color: var(--ink); }
.problem-question { font-size: var(--s1); margin-top: 2rem; }
.problem-answer { font: 750 var(--s3)/1.15 var(--display); color: var(--graphite); border-inline-start: 4px solid var(--check); padding-inline-start: 1rem; }

.landing-checks { background: var(--paper); }
.check-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.check-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.check-card svg { color: var(--indigo); margin-bottom: 0.9rem; }
.check-card p { color: var(--muted); margin: 0; }

.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.score-levels-lead { font-weight: 600; }
.score-levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.score-levels li { display: grid; gap: 0.4rem; font-weight: 650; font-size: 1.125rem; }
.level-bar { display: block; height: 0.6rem; border-radius: 999px; background: var(--indigo-soft); position: relative; overflow: hidden; }
.level-bar::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; }
.level-1 .level-bar::after { width: 30%; background: #e0a43a; }
.level-2 .level-bar::after { width: 62%; background: var(--indigo); }
.level-3 .level-bar::after { width: 94%; background: var(--check); }
.level-or { font-weight: 400; color: var(--muted); }

.landing-urgency { background: var(--paper); border-block: 1px solid var(--line); }
.urgency-lead { font: 700 var(--s2)/1.25 var(--display); color: var(--ink) !important; }
.timeline { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.timeline li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid #b9b4ee; border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.timeline li.is-next { border-top-color: var(--check); box-shadow: 0 12px 28px -18px rgb(19 138 99 / 0.6); }
.timeline-when { font: 750 1.25rem var(--display); color: var(--ink); margin: 0 0 0.25rem; }
.timeline h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.timeline li p:last-child { color: var(--muted); font-size: 0.925rem; margin: 0; }
.timeline-source { font-size: var(--s-1); color: var(--muted); margin-bottom: 1.5rem; }

.lead-section { background: var(--ink); color: #e9e7ff; }
.lead-section h2 { color: var(--white); }
.lead-section .lead { color: #d7d3fb; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lead-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-weight: 600; }
.lead-points li { display: flex; gap: 0.6rem; align-items: center; }
.lead-points li::before { content: ''; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--check) var(--icon-check-white) center / 80% no-repeat; }
.lead-form { background: var(--white); color: var(--graphite); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.5); }
.lead-form button[type='submit'] { width: 100%; }
.lead-privacy { font-size: var(--s-1); color: var(--muted); margin: 0; }

.kontelio-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kontelio-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.kontelio-points li { background: var(--check-soft); border-radius: var(--radius); padding: 0.9rem 1rem 0.9rem 2.6rem; font-weight: 650; position: relative; }
.kontelio-points li::before { content: ''; position: absolute; inset-inline-start: 0.9rem; top: 1.05rem; width: 1.1rem; height: 1.1rem; background: var(--icon-check) center / 100% no-repeat; }
[dir='rtl'] .kontelio-points li { padding: 0.9rem 2.6rem 0.9rem 1rem; }

.lang-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.lang-badges li { display: flex; align-items: center; gap: 0.6rem; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 8px; padding: 0.55rem 0.75rem; font-weight: 600; color: var(--white); }
.lang-badge-code { font: 700 0.72rem var(--text); letter-spacing: 0.05em; color: var(--ink); background: var(--check-bright); border-radius: 4px; padding: 0.1rem 0.35rem; }
.languages-note { margin-top: 1.25rem; color: #d7d3fb; font-size: 0.95rem; }

.simple-contrast { font-size: var(--s1); margin-block: 1.5rem 2rem; }
.simple-contrast span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(85 85 122 / 0.5); }
.simple-contrast strong { display: block; color: var(--ink); margin-top: 0.4rem; }

.final-actions { display: grid; gap: 0.5rem; justify-items: start; }
.final-note { color: #d7d3fb !important; font-size: var(--s-1); }
.final-trial { color: #d7d3fb !important; font-size: 0.95rem; }
.final-trial a { color: var(--check-bright); font-weight: 650; }

.site-footer-minimal { padding-top: 0; }
.footer-minimal { margin-top: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; border-top: 0; }
.footer-minimal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-minimal a, .footer-minimal .linklike { color: #c9c8dc; }

@media (max-width: 62rem) {
  .check-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-grid, .lead-grid, .kontelio-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 48rem) {
  .landing-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .checklist-preview { display: none; }
  .header-cta { display: none; }
  .check-cards, .timeline, .kontelio-points { grid-template-columns: minmax(0, 1fr); }
  .lang-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nobr { white-space: nowrap; }
.header-end { display: flex; align-items: center; gap: 0.75rem; }
.lead-download { margin: 0; }
.lead-download .btn { width: 100%; }

/* Product website: navigation dropdowns, cards, screenshots, product pages ------------------------------------- */
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; white-space: nowrap;
  color: var(--graphite); font-weight: 500; font-size: 0.975rem;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown details[open] summary { color: var(--indigo); }
.nav-dropdown details[open] summary svg { transform: rotate(180deg); }
.nav-sub {
  position: absolute; z-index: 60; top: calc(100% + 0.75rem); inset-inline-start: -0.75rem; min-width: 15rem; margin: 0; padding: 0.35rem; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 32px rgb(27 26 46 / 0.12);
}
.nav-sub a { display: block; padding: 0.5rem 0.65rem; border-radius: 6px; }
.nav-sub a:hover { background: var(--paper); }
.nav-sub-all { border-top: 1px solid var(--line); margin-top: 0.3rem; padding-top: 0.3rem; }
.nav-sub-all a { font-weight: 650; color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); font-weight: 650; }
@media (max-width: 78rem) {
  .nav-dropdown summary { display: flex; justify-content: space-between; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line); font-size: var(--s0); }
  .nav-sub { position: static; box-shadow: none; border: 0; padding: 0 0 0.5rem 0.75rem; min-width: 0; }
  .nav-sub a { padding: 0.55rem 0.25rem; border-bottom: 0; }
  .nav-sub-all { border-top: 0; }
}

.hero-text .hero-copy h1 { max-width: 24ch; }
.hero-media { min-width: 0; }
.trust-bar { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.95rem; font-weight: 600; color: var(--graphite); }
.trust-bar li { position: relative; padding-inline-start: 1.5rem; }
.trust-bar li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.22em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--check-soft) var(--icon-check) center / 100% no-repeat; }

.screenshot { margin: 0; }
.screenshot img {
  width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 24px 48px rgb(46 37 133 / 0.14);
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--graphite); }
.card > svg { color: var(--ink); margin-bottom: 0.9rem; }
.card h3 { font-size: var(--s1); margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.975rem; margin: 0; flex: 1; }
.card-link { text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.card-link:hover { border-color: var(--indigo); color: var(--graphite); box-shadow: 0 12px 28px rgb(46 37 133 / 0.08); }
.card-more { margin-top: 1rem; color: var(--indigo); font-weight: 650; font-size: 0.95rem; }
.card-list { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.35rem; flex: 1; font-size: 0.95rem; color: var(--muted); }
.card-list li, .check-list li { position: relative; padding-inline-start: 1.5rem; }
.card-list li::before, .check-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--check-soft) var(--icon-check) center / 100% no-repeat; }
.cards-plain .card { border: 0; background: transparent; padding: 0; }
.values { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--paper); border-block: 1px solid var(--line); }

.split-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.split-flip .split-copy { order: 2; }
.split-copy p { color: var(--muted); font-size: var(--s1); }
.split + .split { padding-top: 0; }
.text-link { font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link-light { color: var(--check-bright); }
.text-link-light:hover { color: var(--white); }
.languages .lang-badges { margin-top: 0.25rem; }

.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pricing-teaser { background: var(--paper); border-block: 1px solid var(--line); }
.teaser-price { font-size: var(--s1); margin: 0; }
.teaser-price strong { font: 750 var(--s3) / 1.1 var(--display); color: var(--graphite); }
.teaser-price span { display: block; font-size: var(--s-1); color: var(--muted); }
.plan-summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.plan-summary li { display: grid; gap: 0.15rem; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.plan-summary-name { font: 700 var(--s1) / 1.2 var(--display); color: var(--graphite); }

.guide-links { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
.guide-links a { font-weight: 600; }
.guide-teaser { margin: 2.5rem 0 0; padding: 1rem 1.25rem; border-inline-start: 4px solid var(--check); background: var(--paper); border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
.guide-teaser span { color: var(--muted); }
.guide-teaser a { font-weight: 650; }
.guide-product { margin-top: 2.5rem; }

.contact-teaser { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.teaser-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.teaser-row h2 { font-size: var(--s2); margin-bottom: 0.25rem; }
.teaser-row p { color: var(--muted); margin: 0; }

.lead-cta { background: var(--check-soft); border-block: 1px solid #c5e9d9; padding-block: 3rem; }
.lead-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.lead-cta h2 { font-size: var(--s3); max-width: 30ch; }
.lead-cta p { margin: 0; color: var(--graphite); }
.einvoice-pdf .lead { max-width: none; }

.step-list-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-list li p { color: var(--muted); margin: 0; }

.breadcrumb.wrap { padding-top: 1.25rem; }
.breadcrumb.wrap ol { margin-bottom: 0; }
main > .breadcrumb + .hero { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
main > .breadcrumb { position: relative; z-index: 1; margin-bottom: -2.75rem; }

.feature-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.feature-row { padding-top: 1.25rem; border-top: 3px solid var(--indigo-soft); }
.feature-row h2 { font-size: var(--s2); }
.feature-row p { color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.product-languages { margin-top: 3rem; }
.product-languages .lang-badges li { background: var(--paper); border-color: var(--line); color: var(--graphite); }
.product-languages .lang-badge-code { color: var(--muted); }

.disclaimer { font-size: var(--s-1); color: var(--muted); padding-block: 1.5rem; margin-block: 0; }
.guides-hub .guide-card h2, .guides-hub .guide-card h3 { font-size: var(--s1); }
.contact h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, var(--s4)); }
.footer-grid-wide { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); }

@media (max-width: 62rem) {
  .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid, .teaser-grid { grid-template-columns: minmax(0, 1fr); }
  .split-flip .split-copy { order: 0; }
  .step-list-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list-4 li:nth-child(2)::after { display: none; }
  .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid-wide .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .cards, .cards-2, .cards-4, .feature-rows, .guide-links { grid-template-columns: minmax(0, 1fr); }
  .step-list-4 { grid-template-columns: minmax(0, 1fr); }
  .step-list-4 li::after { display: none; }
  .footer-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main > .breadcrumb { margin-bottom: -1.75rem; }
}
.guide-figure { margin: 1.5rem 0 0; }
.guide-figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
