/* =========================================================
   Knippin ICT — specialisten in ict

   One hand-written stylesheet. No build step and no preprocessor: edit this file
   and reload. The palette follows Knippin's own site and wordmark — a near-black
   ink #101216 for the wordmark and primary UI, and Knippin's signature sky blue
   #2EA3F2 (with a deeper #006799) for accents, links and focus states. Paper
   stays a near-white #FDFDFD so the black-on-white logo lockup sits on the page
   with no visible plate behind it.
   ========================================================= */

:root {
  --navy-900: #050608;
  --navy-800: #101216;
  --navy-700: #1c2027;
  --navy-600: #2b313b;

  --sky-600: #006799;
  --sky-500: #2ea3f2;
  --sky-400: #5fbaf5;
  --sky-200: #b7e0fb;
  --sky-50:  #eaf6fe;

  --success: #1b9e4b;
  --danger:  #d93a32;

  --paper: #fdfdfd;
  --white: #FFFFFF;
  --ink:   #101216;
  --body:  #4a525b;
  --muted: #7c8894;
  --line:  #e3e6ea;
  --line-strong: #d0d5db;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --shell: 1200px;
  --gutter: 24px;
  --section: 104px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 18, 22, 0.06), 0 2px 8px rgba(16, 18, 22, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 18, 22, 0.07), 0 16px 40px rgba(16, 18, 22, 0.08);
  --shadow-lg: 0 24px 70px rgba(16, 18, 22, 0.16);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }


html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
a:hover {
  color: var(--sky-600);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--sky-200);
  color: var(--navy-800);
}

:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Visually hidden, but still read out by a screen reader. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  color: #fff;
}

/* ---------- Type ---------------------------------------- */
.h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -0.032em;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.028em;
}
.h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky-600), var(--sky-400));
  box-shadow: inset 0 0 0 1px rgba(16, 18, 22, 0.08);
}
.eyebrow--center {
  justify-content: center;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--body);
  max-width: 58ch;
}
.muted {
  color: var(--muted);
}

/* Small brand-colour rule, used as a signature underneath headings */
.brandbar {
  width: 54px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sky-600), var(--sky-400));
}

/* ---------- Buttons ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn--primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 18, 22, 0.22);
}
.btn--primary:hover:not(:disabled) {
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(16, 18, 22, 0.26);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover:not(:disabled) {
  border-color: var(--sky-500);
  color: var(--navy-800);
  transform: translateY(-1px);
}

.btn--onNavy {
  background: #fff;
  color: var(--navy-800);
}
.btn--onNavy:hover:not(:disabled) {
  background: var(--sky-50);
  color: var(--navy-800);
  transform: translateY(-1px);
}

.btn--ghostNavy {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}
.btn--ghostNavy:hover:not(:disabled) {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
  padding: 15px 24px;
  font-size: 16px;
}

/* ---------- Header -------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 253, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 18px rgba(16, 18, 22, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.logo {
  display: block;
  flex: none;
}
.logo img {
  width: 196px;
  height: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-700);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__link:hover {
  background: var(--sky-50);
  color: var(--navy-800);
}
.nav__link[aria-current="page"] {
  color: var(--navy-800);
  font-weight: 600;
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky-500);
}
.nav__cta {
  margin-left: 10px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 92px) clamp(56px, 7vw, 84px);
}

.hero__aura,
.hero__mesh {
  position: absolute;
  pointer-events: none;
}
.hero__mesh {
  inset: 0;
  background-image: linear-gradient(rgba(16, 18, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 22, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(900px 420px at 22% 0%, #000 5%, transparent 72%);
  mask-image: radial-gradient(900px 420px at 22% 0%, #000 5%, transparent 72%);
}
.hero__aura {
  top: -220px;
  right: -160px;
  width: 780px;
  height: 640px;
  max-width: 130vw;
  background: radial-gradient(closest-side, rgba(101, 158, 201, 0.34), transparent 70%);
  filter: blur(20px);
}
.hero__aura--2 {
  top: 180px;
  left: -220px;
  width: 620px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(27, 158, 75, 0.12), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-700);
}
.badge__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sky-50);
  color: var(--sky-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--success);
}
.dot--live {
  box-shadow: 0 0 0 0 rgba(27, 158, 75, 0.5);
  animation: ping 2.6s var(--ease) infinite;
}

.hero h1 {
  margin-bottom: 20px;
}
.hero__lede {
  margin-bottom: 30px;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__proof svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  flex: none;
}

/* Status console — a lightweight CSS/SVG visual, no photo payload */
.console {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfe, #f4f8fc);
}
.console__lights {
  display: flex;
  gap: 6px;
}
.console__lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.console__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-700);
}
.console__bar .badge__tag {
  margin-left: auto;
}
.console__body {
  padding: 20px 18px 22px;
  display: grid;
  gap: 12px;
}

.metric {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.metric:hover {
  border-color: var(--sky-400);
  transform: translateX(2px);
}
.metric--wide {
  grid-template-columns: 34px 1fr;
}
.metric__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sky-50);
  color: var(--sky-600);
}
.metric__icon svg {
  width: 18px;
  height: 18px;
}
.metric__name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.metric__sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Stats --------------------------------------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.stat:last-child {
  border-right: 0;
}
.stat__value {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-800);
}
.stat__label {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Sections ------------------------------------ */
.section {
  padding-block: var(--section);
}
.section--tint {
  background: linear-gradient(180deg, var(--white), #f7fafd);
  border-block: 1px solid var(--line);
}
.section--tight {
  padding-top: clamp(44px, 5vw, 64px);
}

.section__head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head .h2 {
  margin-bottom: 14px;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-200);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--sky-50), #dceaf6);
  color: var(--navy-700);
}
.card__icon svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  font-size: 15px;
  color: var(--body);
}

/* Why us */
.why {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.why__lede {
  margin: 14px 0 26px;
}
.why__cta {
  margin: 26px 0 0;
}
.why__list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.feature__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.feature h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.feature p {
  font-size: 15px;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.step__n {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sky-600);
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
}

/* Quote */
.quote {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.quote__mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--sky-400);
}
.quote blockquote {
  margin: 0 0 26px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.quote__name {
  font-weight: 600;
  color: var(--navy-800);
}
.quote__role {
  font-size: 14px;
  color: var(--muted);
}

/* CTA band */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: #fff;
}
.cta::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 560px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(101, 158, 201, 0.38), transparent 70%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  padding-block: 76px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 36px;
  align-items: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}
.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Page header (contact / imprint) ------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 76px) clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 320px at 15% -20%, rgba(101, 158, 201, 0.26), transparent 70%);
  pointer-events: none;
}
.page-head__inner {
  position: relative;
  max-width: 720px;
}
.page-head .h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--navy-700);
}

/* ---------- Contact ------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid__title {
  font-size: 24px;
  margin-bottom: 18px;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.method:hover {
  border-color: var(--sky-400);
  transform: translateY(-2px);
}
.method__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--sky-50);
  color: var(--navy-700);
}
.method__icon svg {
  width: 20px;
  height: 20px;
}
.method__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.method__value {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-800);
}

/* ---------- Form ---------------------------------------- */
.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.form-intro {
  font-size: 15px;
  margin-bottom: 26px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  margin-bottom: 16px;
}
.field-row .field {
  margin-bottom: 0;
}
.field--last {
  margin-bottom: 22px;
}

.label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.label .req {
  color: var(--danger);
}

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
  outline: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.input::placeholder {
  color: #a8b6c6;
}
.input:hover {
  border-color: var(--sky-400);
}
.input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(101, 158, 201, 0.2);
}
.input--area {
  min-height: 128px;
  resize: vertical;
}
.input:disabled {
  background: #f6f8fb;
  color: var(--muted);
  cursor: not-allowed;
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C6076' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.input[aria-invalid="true"] {
  border-color: var(--danger);
}
.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(217, 58, 50, 0.16);
}
.field__error {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: var(--danger);
}
.field__hint {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin-bottom: 22px;
  font-size: 14px;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy-800);
}

.form__note {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  text-align: center;
  padding: 44px 12px;
}
.form-success__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(27, 158, 75, 0.12);
  color: var(--success);
}
.form-success h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* ---------- Legal (imprint) ----------------------------- */
.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.toc strong {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.toc a {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--body);
}
.toc a:hover {
  background: var(--sky-50);
  color: var(--navy-800);
}

.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: 22px;
  margin: 44px 0 12px;
  scroll-margin-top: 104px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 16.5px;
  margin: 24px 0 6px;
}
.prose p {
  margin-bottom: 14px;
  font-size: 16px;
}
.prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}
.prose li {
  margin-bottom: 6px;
  font-size: 16px;
}
.prose address {
  font-style: normal;
  line-height: 1.7;
}
.prose__updated {
  margin-top: 32px;
  font-size: 14.5px;
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 16px 18px;
  margin-bottom: 26px;
  border: 1px solid #f6d9a8;
  border-radius: var(--r-md);
  background: #fef8ec;
  font-size: 14.5px;
  color: #7a5820;
}
.callout svg {
  width: 20px;
  height: 20px;
  color: #c98a1c;
  flex: none;
}
.callout strong {
  color: #6a4c18;
}

/* ---------- Footer -------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}
.site-footer a:hover {
  color: #fff;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 62px 44px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}
.footer__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}
.footer__tag {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-400);
}
.footer__blurb {
  max-width: 34ch;
  font-size: 14.5px;
}

.footer__col h2 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
}
.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__bottom .brandbar {
  width: 40px;
  height: 3px;
}

/* ---------- Motion -------------------------------------- */
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 158, 75, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(27, 158, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(27, 158, 75, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* =========================================================
   New surfaces — auth, customer portal, admin
   ========================================================= */

/* ---------- Alerts / status ----------------------------- */
.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 14.5px;
  color: var(--body);
}
.alert svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.alert--error {
  border-color: #f2c3c0;
  background: #fdf3f2;
  color: #8c2c26;
}
.alert--error svg {
  color: var(--danger);
}
.alert--info {
  border-color: var(--sky-200);
  background: var(--sky-50);
  color: var(--navy-700);
}
.alert--info svg {
  color: var(--sky-600);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill--neutral {
  background: #eef2f7;
  color: var(--body);
}
.pill--pending {
  background: #fef4e4;
  color: #8a6014;
}
/* Accepted: agreed but not yet paid, so blue rather than the green of settled. */
.pill--accepted {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}
.pill--paid,
.pill--published,
.pill--success {
  background: rgba(27, 158, 75, 0.12);
  color: #14803c;
}
.pill--draft {
  background: #eef2f7;
  color: var(--muted);
}
.pill--failed,
.pill--error {
  background: rgba(217, 58, 50, 0.12);
  color: #a52f28;
}

/* ---------- Auth pages (login / register) --------------- */
.auth {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 200px);
  padding-block: clamp(40px, 6vw, 72px);
  background: radial-gradient(760px 420px at 50% -10%, rgba(101, 158, 201, 0.2), transparent 70%);
}
.auth__card {
  width: 100%;
  max-width: 440px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.auth__head {
  margin-bottom: 26px;
  text-align: center;
}
.auth__head h1 {
  font-size: 26px;
  margin-bottom: 8px;
}
.auth__head p {
  font-size: 15px;
}
.auth__alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14.5px;
}

/* Microsoft sign-in button, following Microsoft's branding guidance:
   their mark on a neutral surface, never recoloured to our navy. */
.btn--microsoft {
  background: var(--white);
  color: #1b1b1b;
  border-color: #8c8c8c;
  box-shadow: var(--shadow-sm);
}
.btn--microsoft:hover:not(:disabled) {
  background: #f3f3f3;
  color: #1b1b1b;
  transform: translateY(-1px);
}
.btn--microsoft svg {
  width: 17px;
  height: 17px;
}

/* ---------- Dashboard shell (admin + account) ----------- */
.dash {
  display: grid;
  grid-template-columns: 248px 1fr;
  align-items: start;
  gap: 32px;
  padding-block: 36px 72px;
}

.dash__side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
}

.dash__who {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.dash__who-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.dash__who-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-800);
  overflow-wrap: anywhere;
}
.dash__who-mail {
  display: block;
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dash__nav {
  display: grid;
  gap: 2px;
}
.dash__nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 13px 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.dash__nav-group::-webkit-details-marker {
  display: none;
}
/* A chevron that rotates with the open state, so a collapsed section reads as
   collapsible rather than empty. */
.dash__nav-group::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.dash__group[open] > .dash__nav-group::before {
  transform: rotate(-135deg);
}
.dash__nav-group:hover {
  color: var(--navy-700);
}
.dash__group-items {
  display: grid;
  gap: 2px;
}
/* Finance links leave the router-served panel for the finance module; a small
   glyph marks the hand-off so it is not a surprise. */
.dash__nav-ext::after {
  content: "↗";
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.dash__nav a[aria-current="page"].dash__nav-ext::after {
  color: rgba(255, 255, 255, 0.7);
}
.dash__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
}
.dash__nav a:hover {
  background: var(--sky-50);
  color: var(--navy-800);
}
.dash__nav a[aria-current="page"] {
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
}
.dash__nav svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.dash__main {
  min-width: 0;
}
.dash__head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}
.dash__head h1 {
  font-size: 28px;
  letter-spacing: -0.028em;
  margin-bottom: 6px;
}
.dash__head p {
  font-size: 15px;
}

/* ---------- Panels ------------------------------------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  overflow: hidden;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfe, #f6fafd);
}
.panel__head h2 {
  font-size: 17px;
  letter-spacing: -0.015em;
}
.panel__head p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 3px;
}
.panel__body {
  padding: 22px;
}
.panel__body--flush {
  padding: 0;
}
.panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}
.fieldset:last-child {
  margin-bottom: 0;
}
.fieldset > legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-800);
}
/* ---------- Stat tiles --------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.tile {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.tile__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.tile__value {
  display: block;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}
.tile__sub {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Tables ------------------------------------- */
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.table th,
.table td {
  padding: 13px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  background: var(--paper);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table tbody tr:hover {
  background: #fafcfe;
}
.table__title {
  font-weight: 600;
  color: var(--ink);
}
.table__sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.settings-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.settings-index a {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
}
.settings-index a:hover {
  background: var(--sky-50);
  border-color: var(--sky-200);
  color: var(--navy-800);
}
/* Anchored panels clear the sticky nothing here, but leave breathing room when
   jumped to so the heading is not flush against the viewport top. */
[id="mail"], [id="contact"], [id="sign-in"], [id="paypal"], [id="finance-mail"] {
  scroll-margin-top: 18px;
}

.offer-lines {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 12px;
}
.offer-lines th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 4px 6px;
}
.offer-lines td {
  padding: 4px;
  vertical-align: middle;
}
.offer-lines .input {
  padding: 8px 10px;
  font-size: 14px;
}
.offer-lines__qty,
.offer-lines__price,
.offer-lines__vat {
  text-align: right;
}
.offer-lines__total {
  text-align: right;
  white-space: nowrap;
  color: var(--ink);
}
.offer-lines tfoot td {
  padding: 6px;
  font-size: 14px;
}
.offer-lines__remove {
  padding: 6px 10px;
  line-height: 1;
}

.table__num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.table__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--navy-700);
}

.btn--sm {
  padding: 8px 15px;
  font-size: 13.5px;
}
.btn--danger {
  background: var(--white);
  color: #a52f28;
  border-color: #f2c3c0;
}
.btn--danger:hover:not(:disabled) {
  background: #fdf3f2;
  color: #8c2c26;
  border-color: var(--danger);
}

/* ---------- Empty states -------------------------------- */
.empty {
  padding: 48px 24px;
  text-align: center;
}
.empty__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky-50);
  color: var(--sky-600);
}
.empty__icon svg {
  width: 24px;
  height: 24px;
}
.empty h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.empty p {
  font-size: 14.5px;
  max-width: 46ch;
  margin-inline: auto;
}
.empty__action {
  margin-top: 20px;
}

/* ---------- Offers / payment --------------------------- */
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.offer h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.offer__amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
  text-align: right;
  margin-bottom: 12px;
}
.offer__pay {
  min-width: 240px;
}
.paypal-slot {
  min-height: 52px;
}

/* ---------- Blog --------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-200);
}
.post-card__date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-600);
}
.post-card h2 {
  font-size: 19px;
  letter-spacing: -0.018em;
}
.post-card p {
  font-size: 15px;
  color: var(--body);
}
.post-card__more {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-800);
}

.article {
  max-width: 72ch;
  margin-inline: auto;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Responsive --------------------------------- */
@media (max-width: 1080px) {
  :root {
    --section: 80px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc strong {
    flex-basis: 100%;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .cta__inner {
    grid-template-columns: 1fr;
  }
  .dash {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dash__side {
    position: static;
    grid-template-columns: 1fr;
  }
  .dash__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
  }
  .nav {
    flex-wrap: wrap;
  }
  .nav__menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav__menu.is-open {
    display: flex;
  }
  .nav__link {
    padding: 12px 12px;
    font-size: 16px;
  }
  .nav__link[aria-current="page"]::after {
    display: none;
  }
  .nav__cta {
    margin: 8px 0 4px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .offer {
    grid-template-columns: 1fr;
  }
  .offer__amount {
    text-align: left;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
    --section: 64px;
  }
  body {
    font-size: 16px;
  }
  .logo img {
    width: 168px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    border-right: 0;
    padding: 22px 14px;
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px 20px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 46px 34px;
  }
  .cta__inner {
    padding-block: 56px;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
  }
  .auth__card {
    padding: 26px 20px;
  }
  .panel__head,
  .panel__body,
  .panel__foot {
    padding-inline: 18px;
  }
  .table th,
  .table td {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
