:root {
  --site-paper: #fffaf3;
  --site-night: #261b23;
  --site-slide-muted: #f2eee9;
  --site-peach: #eee4d8;
  --site-card-radius: 12px;
  --site-pill: 999px;
}

body { background: var(--site-paper); }
.wrap { --layout-max: 1184px; }
.site-mast { min-height: var(--mast-height); border: 0; }
.site-mast nav { align-items: center; }
.site-mast nav a { text-decoration: none; font-weight: 600; }
.site-mast nav a:not(.button):hover { text-decoration: underline; }
.button { border-radius: var(--site-pill); padding-inline: 1.2rem; }

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(36px, 7vw, 100px);
  border-block: 1px solid var(--color-border);
}
.hero-copy { display: grid; gap: 20px; }
.hero-copy h1 {
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.07;
  font-weight: 550;
  letter-spacing: -.012em;
  text-wrap: wrap;
}
.hero-copy > p {
  color: var(--color-text-muted);
  max-width: 38ch;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.4;
}
.site-hero .intro-actions { gap: 12px 20px; }
.site-hero .template-price strong { color: var(--color-text); font-size: 1.4em; }

.comparison { position: relative; min-width: 0; }
.comparison > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.comparison-controls {
  display: flex;
  width: fit-content;
  margin: 0 0 10px auto;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: var(--site-pill);
}
.comparison-controls label {
  display: grid;
  place-items: center;
  min-width: 62px;
  min-height: 38px;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--site-pill);
  cursor: pointer;
}
#vis-for:checked ~ .comparison-controls label[for="vis-for"],
#vis-etter:checked ~ .comparison-controls label[for="vis-etter"] {
  color: var(--site-night);
  background: var(--site-peach);
}
#vis-for:focus-visible ~ .comparison-controls label[for="vis-for"],
#vis-etter:focus-visible ~ .comparison-controls label[for="vis-etter"] {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
#vis-etter:checked ~ .demo-before,
#vis-for:checked ~ .demo-after { display: none; }

.demo-slide, .template-cover {
  display: grid;
  align-content: center;
  gap: .65em;
  aspect-ratio: 16 / 9;
  padding: 7%;
  border: 1px solid var(--color-border);
  border-radius: var(--site-card-radius);
  color: var(--site-night);
  background: var(--site-slide-muted);
  font-size: clamp(11px, 1.45vw, 19px);
  line-height: 1.15;
}
.demo-before {
  align-content: start;
  gap: 14%;
  background: var(--color-surface);
}
.before-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: start;
  gap: 10%;
}
.slide-title-line {
  width: 44%;
  height: .62em;
  background: currentColor;
}
.slide-lines { display: grid; gap: .45em; }
.slide-lines i { height: .22em; background: currentColor; opacity: .45; }
.slide-lines i:nth-child(3n) { width: 78%; }
.slide-lines i:last-child { width: 61%; }

.slide-landscape {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: clip;
  background:
    radial-gradient(circle at 76% 38%, var(--color-bg) 0 13%, transparent 13.3%),
    linear-gradient(145deg, var(--color-accent) 0 14%, var(--color-coral) 65%, var(--color-warm-surface));
}
.slide-landscape i {
  position: absolute;
  inset: 20% 0 0;
  background: color-mix(in srgb, var(--color-coral) 58%, var(--color-bg));
  clip-path: polygon(0 88%, 38% 53%, 51% 62%, 76% 19%, 100% 45%, 100% 100%, 0 100%);
}
.slide-landscape i + i {
  background: var(--color-accent);
  clip-path: polygon(0 84%, 26% 64%, 51% 80%, 75% 57%, 100% 69%, 100% 100%, 0 100%);
}
.demo-after {
  position: relative;
  align-content: center;
  overflow: clip;
  background: var(--color-accent);
  color: var(--color-surface);
}
.demo-after .slide-landscape {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.demo-after::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-accent-active), var(--color-accent) 40%, transparent 75%);
}
.after-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1em;
  width: 52%;
}
.after-copy .slide-title-line { width: 96%; height: 1.05em; border-radius: 2px; }
.after-copy .slide-lines i { height: .3em; opacity: .78; }
.site-process li a { color: var(--color-accent); }

.template-sample figcaption, .comparison figcaption { margin-top: 10px; color: var(--color-text-muted); font-size: .8125rem; }
.template-cover {
  align-content: space-between;
  background: linear-gradient(115deg, var(--color-text) 0 57%, var(--color-coral) 57% 72%, var(--color-apricot) 72%);
  color: var(--color-surface);
}
.template-cover span { font-weight: 700; }
.template-cover strong { font-size: 2.55em; line-height: .95; letter-spacing: -.02em; }

.services, .site-process, .contact { min-height: 0; padding-block: clamp(42px, 6vw, 80px); }
.services { border-top: 0; }
.service-shelf { gap: 16px; margin-top: 24px; border: 0; }
.service-shelf .service {
  padding: clamp(19px, 3vw, 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--site-card-radius);
  gap: 10px;
}
.service-shelf .service-price { font-size: 1.5rem; margin-top: auto; padding-top: 14px; text-align: center; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 12px; }
.service-actions > a:not(.button) { color: var(--color-accent); font-weight: 600; }
.site-process > h2 { text-align: center; }
.process-action { justify-self: center; margin-top: 32px; }
.site-process { border-top: 1px solid var(--color-border); }
.site-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.site-process li { border-top: 1px solid var(--color-border); padding-top: 16px; }
.site-process h3 { font-size: 1.25rem; }
.site-process p, .template-section p { margin-top: 8px; color: var(--color-text-muted); }
.footer { margin-top: 36px; }
.template-section { max-width: 69ch; padding: 32px 0; }
.template-section + .template-section { border-top: 1px solid var(--color-border); }
.template-section a { color: var(--color-accent); }

@media (max-width: 850px) {
  .site-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 14ch; }
  .comparison, .template-sample { max-width: 620px; width: 100%; }
  .demo-slide, .template-cover { font-size: clamp(12px, 2.6vw, 20px); }
}

@media (max-width: 640px) {
  .site-mast { min-height: 64px; }
  .site-mast nav a[href="#arbeid"] { display: none; }
  .site-mast .button { min-height: 42px; padding-inline: 12px; }
  .site-process ol, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { font-size: clamp(32px, 10vw, 58px); }
  .site-hero .intro-actions { align-items: start; }
  .service-shelf { gap: 10px; }
}

.hero-copy { container-type: inline-size; }
#intro-title { font-size: clamp(22px, 9.65cqw, 59px); }
#intro-title span { display: block; }
.services h2 { margin-bottom: 0; }
.service-shelf { background: none; }

h2 { letter-spacing: -.01em; }
.section-pager { background: var(--site-paper); border-radius: var(--site-pill); }

.home-pages > section {
  min-block-size: 100svh;
  align-content: center;
}
.home-pages > .site-hero {
  min-block-size: calc(100svh - var(--mast-height));
}
.home-pages > .services,
.home-pages > .site-process { display: grid; }
.home-pages > .contact { align-items: center; }
.home-pages > .services .service-terms { margin-top: 16px; }
@media (max-width: 640px) {
  .home-pages > .site-hero { padding-block: 28px 76px; }
  .home-pages > section { padding-bottom: max(76px, env(safe-area-inset-bottom)); }
}

.service-hero-single { grid-template-columns: minmax(0, 1fr); }
.service-hero-single .hero-copy h1 { max-width: 22ch; }
.service-return {
  border-top: 1px solid var(--color-border);
  padding-block: 28px 8px;
}
