/* NLV d.o.o. — site stylesheet. No external requests: fonts are self-hosted (OFL, see assets/fonts). */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --ink: #0e1a22;
  --muted: #4f5f6a;
  --rule: #d3dde0;
  --grid: rgba(14, 26, 34, 0.055);
  --accent: #0a6b57;
  --accent-ink: #ffffff;
  --accent-soft: #e0f0ea;
  --band: #0e1a22;
  --band-ink: #e8eff1;
  --band-muted: #a0b2bb;
  --band-rule: #26363f;
  --band-accent: #5bd1ad;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --t-hero: clamp(2.5rem, 1.4rem + 4.6vw, 4.9rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1217;
    --surface: #101b22;
    --ink: #e5edf0;
    --muted: #97a8b2;
    --rule: #22323b;
    --grid: rgba(229, 237, 240, 0.045);
    --accent: #5bd1ad;
    --accent-ink: #06231c;
    --accent-soft: #10302a;
    --band: #0d2723;
    --band-ink: #e5edf0;
    --band-muted: #9fbdb5;
    --band-rule: #1d3f39;
    --band-accent: #7fe0c2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1217;
  --surface: #101b22;
  --ink: #e5edf0;
  --muted: #97a8b2;
  --rule: #22323b;
  --grid: rgba(229, 237, 240, 0.045);
  --accent: #5bd1ad;
  --accent-ink: #06231c;
  --accent-soft: #10302a;
  --band: #0d2723;
  --band-ink: #e5edf0;
  --band-muted: #9fbdb5;
  --band-rule: #1d3f39;
  --band-accent: #7fe0c2;
  color-scheme: dark;
}

/* ---- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: 0.75rem; color: var(--accent-ink); }

.label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Header ------------------------------------------------------------ */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 4.25rem; height: auto; display: block; }
.brand .v { stroke: var(--accent); }
.brand span { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.04em; border-left: 1px solid var(--rule); padding-left: 0.75rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; font-size: var(--t-sm); }
.nav a { text-decoration: none; color: var(--muted); padding-block: 0.25rem; }
.nav a:hover { color: var(--ink); }
.nav .lang { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink); border: 1px solid var(--rule); padding: 0.2rem 0.5rem; border-radius: 3px; }
@media (max-width: 40rem) { .brand span { display: none; } .nav { gap: 0.25rem 1rem; } }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  border-bottom: 1px solid var(--rule);
  /* squared ledger paper */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  background-position: -1px -1px;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.hero h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-top: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: var(--t-lg); line-height: 1.5; color: var(--muted); max-width: 34ch; margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 2.25rem; }
.btn { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 0.85rem 1.3rem; border-radius: 4px; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn .mono { font-family: var(--f-mono); font-weight: 400; font-size: var(--t-sm); opacity: 0.85; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Match illustration: a bank statement line paired with the invoice it pays */
.match { position: relative; margin: 0; display: grid; gap: 0; font-family: var(--f-mono); font-size: var(--t-xs); }
.match figcaption { margin-bottom: 0.75rem; }
.slip { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 1rem 1.1rem; display: grid; gap: 0.45rem; box-shadow: 0 1px 0 var(--rule), 0 14px 30px -18px rgba(14, 26, 34, 0.35); }
.slip-head { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--rule); }
.slip dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; }
.slip dt { color: var(--muted); }
.slip dd { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.slip dd.amount { font-size: var(--t-sm); font-weight: 500; }
.slip mark { background: var(--accent-soft); color: var(--ink); padding: 0 0.25rem; border-radius: 2px; }
.join { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0 0.6rem 1.4rem; color: var(--accent); }
.join::before { content: ""; width: 1px; height: 2.4rem; background: var(--accent); }
.join b { font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-soft); padding: 0.2rem 0.55rem; border-radius: 3px; }
.slip.paid { border-color: var(--accent); }

/* ---- Sections ---------------------------------------------------------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--t-xl); font-weight: 750; margin-top: 0.75rem; }
.section-head p { color: var(--muted); max-width: 52ch; }
@media (max-width: 52rem) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Services: ruled rows, like lines in a ledger */
.services { list-style: none; border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 0.75rem 2.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--rule); align-items: baseline; }
.service h3 { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.01em; }
.service p { color: var(--muted); max-width: 58ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; justify-content: flex-end; }
.tags li { font-family: var(--f-mono); font-size: var(--t-xs); border: 1px solid var(--rule); border-radius: 3px; padding: 0.1rem 0.45rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 52rem) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .tags { justify-content: flex-start; }
}

/* Product band */
.band { background: var(--band); color: var(--band-ink); }
.band .label { color: var(--band-muted); }
.band a { color: var(--band-ink); text-decoration-color: var(--band-accent); }
.band a:hover { color: var(--band-accent); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); }
.product h2 { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 0.75rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.chip { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band); background: var(--band-accent); padding: 0.25rem 0.6rem; border-radius: 3px; }
.product .intro { font-size: var(--t-lg); line-height: 1.5; color: var(--band-muted); margin-top: 1.25rem; max-width: 36ch; }
.product .intro strong { color: var(--band-ink); font-weight: 600; }
.product .note { margin-top: 2rem; font-size: var(--t-sm); color: var(--band-muted); max-width: 44ch; }
.features { list-style: none; border-top: 1px solid var(--band-rule); }
.features li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.25rem 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--band-rule); }
.features b { font-family: var(--f-display); font-weight: 700; font-size: var(--t-md); }
.features span { color: var(--band-muted); font-size: var(--t-sm); }
@media (max-width: 52rem) { .product { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { .features li { grid-template-columns: minmax(0, 1fr); } }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: 0.6rem; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); font-weight: 500; }
.steps h3 { font-size: var(--t-lg); font-weight: 700; }
.steps p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

.practice { margin-top: clamp(3rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; }
.practice h3 { font-size: var(--t-lg); font-weight: 700; }
.practice ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; }
.practice li { padding-left: 1.4rem; position: relative; font-size: var(--t-sm); color: var(--muted); }
.practice li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6rem; height: 0.35rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.practice li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 52rem) { .practice, .practice ul { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.contact-grid > div { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: 0.5rem; align-content: start; }
.contact-grid > div + div { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.contact-grid a { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; }
.contact-grid a:hover { text-decoration: underline; }
.contact-grid p { color: var(--muted); font-size: var(--t-sm); }
.address { margin-top: 2rem; font-style: normal; color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 52rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid > div, .contact-grid > div + div { padding-left: 0; border-left: 0; }
}

/* ---- Footer: the company's register details, set like a document header */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); font-size: var(--t-xs); color: var(--muted); }
.site-footer .wrap { padding-block: 2.5rem; display: grid; gap: 1.5rem; }
.register { font-family: var(--f-mono); display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; line-height: 1.7; }
.register span { white-space: nowrap; }
.register b { color: var(--ink); font-weight: 500; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; }
.foot-links a { color: var(--ink); }
@media (max-width: 30rem) { .register span { white-space: normal; } }

/* ---- Document pages (privacy, legal, 404) ------------------------------ */
.doc { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.doc .wrap > * { max-width: 46rem; }
.doc h1 { font-size: var(--t-xl); font-weight: 800; margin-top: 0.75rem; }
.doc .meta { color: var(--muted); font-size: var(--t-sm); margin-top: 0.75rem; }
.doc h2 { font-size: var(--t-lg); font-weight: 700; margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.doc p, .doc ul { margin-top: 1rem; }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: 0.4rem; }
.facts { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); margin-top: 1.5rem; border-top: 2px solid var(--ink); }
.facts dt, .facts dd { padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: var(--t-sm); padding-right: 1.5rem; }
.facts dd { font-variant-numeric: tabular-nums; }
.facts .mono { font-family: var(--f-mono); font-size: var(--t-sm); }
.todo { background: var(--accent-soft); font-family: var(--f-mono); font-size: var(--t-sm); padding: 0 0.3rem; border-radius: 2px; }
@media (max-width: 34rem) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
}

.notfound { padding-block: clamp(4rem, 3rem + 6vw, 9rem); }
.notfound .code { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--accent); }
.notfound h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.035em; margin-top: 1rem; }
.notfound p { color: var(--muted); margin-top: 1.25rem; font-size: var(--t-lg); max-width: 40ch; }
.notfound .actions a { font-weight: 600; }
