/* Livsteknik — minimalistisk layout */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 4rem);
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #faf9f7;
}

.site-header,
main,
.site-footer {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid #d9d4cc;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0d3d2e;
}

.tagline {
  margin: 0;
  font-size: 1.05rem;
  color: #3d3d3d;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #0d3d2e;
}

h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e2e28;
}

h3:first-child {
  margin-top: 0;
}

section {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

section:last-of-type {
  margin-bottom: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #0d5c45;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #094030;
}

a:focus-visible {
  outline: 2px solid #0d5c45;
  outline-offset: 3px;
}

.intro p,
.audience p {
  font-size: 1.02rem;
}

.offerings article + article {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e4dc;
}

.projects p {
  font-size: 1.02rem;
}

.projects ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.projects li {
  margin-bottom: 0.5rem;
}

.projects li:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid #d9d4cc;
  font-size: 0.95rem;
  color: #4a4a4a;
}

.site-footer p {
  margin: 0;
}
