/* FilterSub website styles. Colours, font and spacing come from tokens.css (generated from design/tokens/tokens.json).
   Plain CSS, no build step. Inline styles are blocked by the Content-Security-Policy, so every style lives here. */

:root {
  color-scheme: light;
  --page-width: 40rem;
  --gutter: var(--space-4);
}

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

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

body {
  margin: 0;
  background: var(--color-neutral-50);
  color: var(--color-neutral-900);
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: var(--color-brand-primary);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

.wrap {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* header */
.site-header {
  background: var(--color-neutral-0);
  border-bottom: 1px solid #dfe3e1;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-neutral-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-s);
}

.lang {
  font-size: 0.9375rem;
}

/* main */
main {
  padding: 2.5rem 0 1rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
}

.status {
  display: inline-block;
  margin: 0 0 2rem;
  padding: var(--space-1) 0.75rem;
  border-radius: 999px;
  background: var(--color-neutral-0);
  border: 1px solid var(--color-brand-primary);
  color: var(--color-brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.card {
  margin: 0 0 var(--space-4);
  padding: 1.25rem var(--space-4);
  background: var(--color-neutral-0);
  border: 1px solid #dfe3e1;
  border-radius: var(--radius-m);
}

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

.company {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.125rem 1rem;
}

.company dt {
  color: var(--color-neutral-500);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.company dt:first-child {
  margin-top: 0;
}

.company dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 36rem) {
  h1 {
    font-size: 2.25rem;
  }

  .company {
    grid-template-columns: 11rem 1fr;
  }

  .company dt {
    margin-top: 0;
  }
}

/* footer */
.site-footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--color-neutral-500);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

/* 404 */
.notfound h1 {
  font-size: 1.5rem;
}
