@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../assets/fonts/schibsted-grotesk-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ModeCritic Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 101.8%;
  ascent-override: 95.9%;
  descent-override: 25.3%;
  line-gap-override: 0%;
}

@property --mdc-cut {
  syntax: '<length>';
  inherits: false;
  initial-value: 11px;
}

:root {
  --mdc-paper: #ffffff;
  --mdc-ink: #000000;
  --mdc-carbon: #0a0a0a;
  --mdc-quiet: #565656;
  --mdc-hairline: #ded8d4;
  --mdc-tint: #f7f2ef;
  --mdc-accent: #a8402a;
  --mdc-accent-deep: #7d2e1d;
  --mdc-face: 'Schibsted Grotesk', 'ModeCritic Fallback', Arial, Helvetica, sans-serif;
  --mdc-shell: 1180px;
  --mdc-gutter: clamp(20px, 5vw, 56px);
  --mdc-flow: clamp(64px, 9vw, 112px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mdc-paper);
  color: var(--mdc-ink);
  font-family: var(--mdc-face);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  font-synthesis-weight: none;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(34px, 5.6vw, 52px);
  line-height: 1.11;
}

h2 {
  font-size: clamp(27px, 3.4vw, 36px);
  line-height: 1.18;
}

h3 {
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.21;
}

p { margin: 0 0 1.15em; }

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

ul { margin: 0; padding: 0; list-style: none; }

img { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--mdc-ink);
  outline-offset: 3px;
}

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

.mdc-eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mdc-quiet);
}

.mdc-lead {
  max-width: 34em;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}

.mdc-quiet { color: var(--mdc-quiet); }

.mdc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 14px 22px;
  background: var(--mdc-ink);
  color: var(--mdc-paper);
  z-index: 90;
}

.mdc-skip:focus {
  left: 12px;
  top: 12px;
}

.mdc-go {
  --mdc-cut: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 30px;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--mdc-accent);
  color: var(--mdc-paper);
  clip-path: polygon(var(--mdc-cut) 0, 100% 0, 100% calc(100% - var(--mdc-cut)), calc(100% - var(--mdc-cut)) 100%, 0 100%, 0 var(--mdc-cut));
  transition: background-color 0.2s ease, --mdc-cut 0.2s ease, color 0.2s ease;
}

.mdc-go:hover {
  --mdc-cut: 20px;
  background: var(--mdc-accent-deep);
}

.mdc-go:active { --mdc-cut: 7px; }

.mdc-go:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--mdc-paper), inset 0 0 0 6px var(--mdc-ink);
}

.mdc-go--plain {
  background: transparent;
  color: var(--mdc-ink);
  box-shadow: inset 0 0 0 1.5px var(--mdc-ink);
}

.mdc-go--plain:hover {
  background: var(--mdc-ink);
  color: var(--mdc-paper);
  box-shadow: none;
}

.mdc-go--plain:focus-visible {
  background: transparent;
  color: var(--mdc-ink);
  box-shadow: inset 0 0 0 3px var(--mdc-ink);
}

.mdc-go--small {
  --mdc-cut: 8px;
  min-height: 48px;
  padding: 11px 22px;
  font-size: 15px;
}

.mdc-arrow {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mdc-go { transition: none; }
}
