@layer components {
  /* the notice is the last element of <body>; position is pure CSS, both buttons look the same */
  .c-cookie {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: var(--space-4) var(--gutter) var(--space-4);
    background: var(--surface);
    border-block-start: 1px solid var(--ink);
    box-shadow: var(--shadow-1);
  }
  .c-cookie__text { grid-column: 1 / -1; margin: 0; font-size: 0.9375rem; line-height: 1.55; }
  .c-cookie__text a { color: var(--brand-strong); }
  .c-cookie .c-button { min-block-size: 3.25rem; }
  body:has(> .c-cookie) { padding-block-end: 11rem; }
  @media (min-width: 48em) {
    .c-cookie {
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: center;
      padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
    }
    .c-cookie__text { grid-column: auto; max-inline-size: 52rem; }
    body:has(> .c-cookie) { padding-block-end: 6rem; }
  }
}
