:root {
  --step--2: clamp(0.7813rem, 0.7191rem + 0.3109vw, 0.96rem);
  --step--1: clamp(0.9375rem, 0.8462rem + 0.4565vw, 1.2rem);
  --step-0: clamp(1.125rem, 0.9946rem + 0.6522vw, 1.5rem);
  --step-1: clamp(1.35rem, 1.1674rem + 0.913vw, 1.875rem);
  --step-2: clamp(1.62rem, 1.3683rem + 1.2587vw, 2.3438rem);
  --step-3: clamp(1.944rem, 1.6012rem + 1.7142vw, 2.9297rem);
  --step-4: clamp(2.3328rem, 1.8704rem + 2.3118vw, 3.6621rem);
  --step-5: clamp(2.7994rem, 2.1808rem + 3.0927vw, 4.5776rem);
  --step-6: clamp(3.3592rem, 2.5374rem + 4.1092vw, 5.722rem);
  --step-7: clamp(4.0311rem, 2.9453rem + 5.4287vw, 7.1526rem);
  --step-8: clamp(4.8373rem, 3.41rem + 7.1364vw, 8.9407rem);
}

:root {
  --space-3xs: clamp(0.3125rem, 0.2908rem + 0.1087vw, 0.375rem);
  --space-2xs: clamp(0.5625rem, 0.4973rem + 0.3261vw, 0.75rem);
  --space-xs: clamp(0.875rem, 0.788rem + 0.4348vw, 1.125rem);
  --space-s: clamp(1.125rem, 0.9946rem + 0.6522vw, 1.5rem);
  --space-m: clamp(1.6875rem, 1.4918rem + 0.9783vw, 2.25rem);
  --space-l: clamp(2.25rem, 1.9891rem + 1.3043vw, 3rem);
  --space-xl: clamp(3.375rem, 2.9837rem + 1.9565vw, 4.5rem);
  --space-2xl: clamp(4.5rem, 3.9783rem + 2.6087vw, 6rem);
  --space-3xl: clamp(6.75rem, 5.9674rem + 3.913vw, 9rem);
  --space-4xl: clamp(6.75rem, 5.9674rem + 3.913vw, 9rem);
  --space-5xl: clamp(6.75rem, 5.9674rem + 3.913vw, 9rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.3125rem, 0.1603rem + 0.7609vw, 0.75rem);
  --space-2xs-xs: clamp(0.5625rem, 0.3668rem + 0.9783vw, 1.125rem);
  --space-xs-s: clamp(0.875rem, 0.6576rem + 1.087vw, 1.5rem);
  --space-s-m: clamp(1.125rem, 0.7337rem + 1.9565vw, 2.25rem);
  --space-m-l: clamp(1.6875rem, 1.231rem + 2.2826vw, 3rem);
  --space-l-xl: clamp(2.25rem, 1.4674rem + 3.913vw, 4.5rem);
  --space-xl-2xl: clamp(3.375rem, 2.462rem + 4.5652vw, 6rem);
  --space-2xl-3xl: clamp(4.5rem, 2.9348rem + 7.8261vw, 9rem);
  --space-3xl-4xl: clamp(6.75rem, 5.9674rem + 3.913vw, 9rem);
  --space-4xl-5xl: clamp(6.75rem, 5.9674rem + 3.913vw, 9rem);
}

:root {
  --neutral-1: #111113;
  --neutral-2: #18191b;
  --neutral-3: #212225;
  --neutral-4: #272a2d;
  --neutral-5: #2e3135;
  --neutral-6: #363a3f;
  --neutral-7: #43484e;
  --neutral-8: #5a6169;
  --neutral-9: #696e77;
  --neutral-10: #777b84;
  --neutral-11: #b0b4ba;
  --neutral-12: #edeef0;

  --accent-1: #0b161a;
  --accent-2: #101b20;
  --accent-3: #082c36;
  --accent-4: #003848;
  --accent-5: #004558;
  --accent-6: #045468;
  --accent-7: #12677e;
  --accent-8: #11809c;
  --accent-9: #00a2c7;
  --accent-10: #23afd0;
  --accent-11: #4ccce6;
  --accent-12: #b6ecf7;
}

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: var(--step-0);
  background-color: var(--neutral-2);
  color: var(--neutral-12);
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  max-width: 56ch;
  margin-inline: auto;
  padding-block-end: var(--space-2xl);
  padding-inline: var(--space-s);
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1 {
  font-size: var(--step-1);
  font-weight: 400;
}

h2 {
  font-size: var(--step-1);
  font-weight: 400;
}

h3 {
  font-size: var(--step-0);
  font-weight: 600;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

a:not([class]):is(:hover, :active, :focus) {
  text-decoration-color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

:is(ul, ol)[role="list"],
:is(ul, ol)[role="list"] > li {
  margin: 0;
  padding: 0;
}

footer {
  margin-block-start: var(--space-xl);
  opacity: 0.75;
  font-size: var(--step--2);
}

header {
  margin-block: var(--space-xs);
}

nav,
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-s);
}

nav a {
  text-decoration: none;
}

.hero {
  margin-block-start: var(--space-s-m);
  margin-block-end: var(--space-m-l);
}

.brand {
  font-size: var(--step-6);
  letter-spacing: -0.01em;
  font-weight: 200;
}

.tag {
  font-size: var(--step-3);
  color: var(--accent-11);
  font-weight: 400;
  letter-spacing: -0.005em;
}

a.no-chrome {
  text-decoration-skip-ink: auto;
  color: currentColor;
  text-decoration-color: transparent;
}

a.no-chrome:is(:hover, :active, :focus) {
  text-decoration-color: currentColor;
}

.cta {
  color: var(--accent-11);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.c-col {
  --space: 0.75em;
  display: flex;
  flex-direction: column;
  row-gap: var(--space);
}

.impressum {
  font-size: var(--step--2);
}

.impressum h2 {
  margin-block-start: var(--space-s);
  font-size: var(--step--1);
  max-width: 40ch;
}

.impressum h3 {
  margin-block-start: var(--space-s);
  font-size: var(--step--1);
  font-weight: 600;
  max-width: 40ch;
}

.impressum dl {
  margin-block-start: var(--space-3xs);
  --space: var(--space-3xs);
}

.impressum :is(dt, dd) {
  margin: 0;
  padding: 0;
}

.impressum dt {
  font-weight: 400;
}

.impressum dl {
  font-weight: 200;
}

.impressum div {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-2xs);
}
