/* rimaslogic.pl: one look for every subpage (24.11.2026).
   Loaded last in <head>, so it overrides the per-page Webflow classes. Reference = the blog article
   typography: PT Serif bold headings, PT Sans body 18px/1.6, light text on #02020a, blue #3d63ff accent.
   Not used on /bio (Paper-Tech link-in-bio) and /licharo (the Licharo app's own brand). */

:root {
  --rl-bg: #02020a;
  --rl-text: #f5f5f5;
  --rl-text-soft: rgba(245, 245, 245, 0.9);
  --rl-muted: #9b9b9b;          /* the site's --dark-grey */
  --rl-line: #ffffff1f;
  --rl-blue: #3d63ff;           /* --royal-blue: accent, buttons, highlights */
  --rl-link: #6f8bff;           /* same blue, lighter: text links need 4.5:1 on black (#3d63ff gives 4.4:1) */
  --rl-serif: "PT Serif", Georgia, serif;
  --rl-sans: "PT Sans", Arial, sans-serif;
  --rl-mono: Inconsolata, ui-monospace, monospace;
  --rl-title: clamp(32px, 4vw, 42px);
}

body { background-color: var(--rl-bg); }

/* ---------- Body text: PT Sans 400 everywhere ---------- */
p:not(.menu_link-text), li, dd, blockquote,
.body-display, .body-display span, .main-text,
.pf-res, .pf-sub, .op-summary {
  font-family: var(--rl-sans);
  font-weight: 400;
}
p:not(.menu_link-text):not([class]), li, .body-display { font-size: 18px; line-height: 1.6; }
.body-display strong, .main-text strong { font-family: var(--rl-sans); }

/* ---------- Headings: PT Serif bold ---------- */
h1, h2, h3, h4 { font-family: var(--rl-serif); }
h2 { font-weight: 700; }

/* Page titles (one size on every subpage; the home hero and the 404 number keep their own) */
.blog-article h1,
.heading.genzi,
.pf-title,
h1.heading-30.landing {
  font-family: var(--rl-serif);
  font-weight: 700;
  font-size: var(--rl-title);
  line-height: 1.25;
  color: var(--rl-text);
  letter-spacing: normal;
  text-align: left;
  min-height: 0;
}
.pf-title { margin-bottom: 20px; text-align: center; }   /* portfolio hero is centred */
.heading.genzi { text-align: left; margin-bottom: 32px; }
/* Newsletter / Oferta titles were small labels with a blue marker underline */
h1.heading-30.landing .underline-2,
h1.heading-30.landing strong {
  font: inherit;
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  text-decoration: none;
}

/* Section headings */
.pf-h2 { font-weight: 700; }

/* Monospace stays for numbers, dates and labels only (home hero, portfolio stats and dates) */

/* ---------- Links ---------- */
.blog-article a, .body-display a, .main-text a:not(.main-button) { color: var(--rl-link); }

/* ---------- Buttons: one style ---------- */
.main-button,
.main-button.blue,
.main-button.genzi,
input.submit-button-cf2.w-button,
input.w-password-page.w-button,
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  background-color: var(--rl-blue) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 15px !important;
  font-family: var(--rl-sans) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  text-decoration: none;
}
.main-button:hover,
input.submit-button-cf2.w-button:hover,
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background-color: #2f52e6 !important;
}
input.submit-button-cf2.w-button, input.w-password-page.w-button { padding: 14px 32px; }
/* Secondary button (testimonials "show more"): same type, outline instead of fill */
.op-more {
  font-family: var(--rl-sans) !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Webflow buttons draw their face with an inner layer (.button-outline*) and set the label font on
   .button-text: hide the layer, let the label take the button's type */
.main-button > .button-outline,
.main-button > .button-outline-2 { display: none !important; }
.main-button .button-text {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: #fff !important;
}

/* ---------- Blog: GitHub greys/blue replaced by the site palette ---------- */
.blog-article figcaption,
.blog-article .article-meta { color: var(--rl-muted); }
.blog-article hr,
.blog-article .post { border-color: var(--rl-line); }
.blog-article p, .blog-article li { font-weight: 400; }

/* ---------- Newsletter signup (MailerLite embed): site fonts and colours ---------- */
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
  background-color: transparent !important;
  border: 1px solid var(--rl-line) !important;
  border-radius: 4px !important;
}
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody h4,
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody h4 {
  font-family: var(--rl-serif) !important;
  font-weight: 700 !important;
  color: var(--rl-text) !important;
  letter-spacing: normal !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
}
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody p,
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody p strong,
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody p {
  font-family: var(--rl-sans) !important;
  color: var(--rl-text-soft) !important;
}
html body #mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  font-family: var(--rl-sans) !important;
  background-color: #ffffff0d !important;
  color: var(--rl-text) !important;
  border: 1px solid var(--rl-line) !important;
  border-radius: 4px !important;
}
#mlb2-16419186.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder { color: var(--rl-muted) !important; }

/* ---------- 401 (password page): readable heading on black ---------- */
.utility-page-content h2, .utility-page-form h2 { color: var(--rl-text); }
