@layer reset, packages, theme, components;
@layer reset {
  html {
    color-scheme: light dark;
    text-wrap: pretty;
  }
  body {
    margin: 0;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }
  img {
    display: block;
    max-width: 100%;
  }
}
@layer theme {
  .layout {
    display: grid;
    grid-template-columns: 4ch [full-start bleed-left-start] calc(2rem - 1ch) 1fr [main-start bleed-right-start] minmax(auto, 80ch) [main-end bleed-left-end] 1fr calc(2rem - 1ch) [full-end bleed-right-end] 4ch;
  }
  .layout > * {
    grid-column: main;
  }
  @media (prefers-color-scheme: light) {
    :root,
    ::backdrop {
      --bg-primary: #eeeeee;
      --colour-primary: #333333;
      --colour-primary--low: #777777;
      --bg-secondary: #dddddd;
      --colour-secondary: #333333;
      --colour-link: #4444dd;
      --colour-error: #dd4444;
    }
  }
  @media print and (prefers-color-scheme: light) {
    :root,
    ::backdrop {
      --bg-primary: transparent;
    }
  }
  @media (prefers-color-scheme: dark) {
    :root,
    ::backdrop {
      --bg-primary: #111111;
      --colour-primary: #ffffff;
      --colour-primary--low: #888888;
      --bg-secondary: #333333;
      --colour-secondary: #ffffff;
      --colour-link: #9999ff;
      --colour-error: #ff9999;
    }
  }
  @media (prefers-color-scheme: light) {
    html {
      color-scheme: light;
    }
  }
  @media (prefers-color-scheme: dark) {
    html {
      color-scheme: dark;
    }
  }
  html {
    background: var(--bg-primary);
    color: var(--colour-primary);
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/roboto/roboto-regular.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/roboto/roboto-italic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: normal;
    src: url("/assets/fonts/roboto/roboto-bold.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: italic;
    src: url("/assets/fonts/roboto/roboto-bolditalic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/nunito/nunito-bold.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto Mono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/roboto-mono/robotomono-regular.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/nunito/nunito-bolditalic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/nunito/nunito-black.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/nunito/nunito-blackitalic.woff2") format("woff2");
    font-display: auto;
  }
  html {
    font-family: "Roboto", "Helvetica", sans-serif;
    font-size: 14px;
  }
  @media (768px <= width) {
    html {
      font-size: 16px;
    }
  }
}
@layer components {
  @media (prefers-color-scheme: light) {
    :root,
    ::backdrop {
      --bg-primary: #eeeeee;
      --colour-primary: #333333;
      --colour-primary--low: #777777;
      --bg-secondary: #dddddd;
      --colour-secondary: #333333;
      --colour-link: #4444dd;
      --colour-error: #dd4444;
    }
  }
  @media print and (prefers-color-scheme: light) {
    :root,
    ::backdrop {
      --bg-primary: transparent;
    }
  }
  @media (prefers-color-scheme: dark) {
    :root,
    ::backdrop {
      --bg-primary: #111111;
      --colour-primary: #ffffff;
      --colour-primary--low: #888888;
      --bg-secondary: #333333;
      --colour-secondary: #ffffff;
      --colour-link: #9999ff;
      --colour-error: #ff9999;
    }
  }
  @media (prefers-color-scheme: light) {
    html {
      color-scheme: light;
    }
  }
  @media (prefers-color-scheme: dark) {
    html {
      color-scheme: dark;
    }
  }
  html {
    background: var(--bg-primary);
    color: var(--colour-primary);
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/roboto/roboto-regular.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/roboto/roboto-italic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: normal;
    src: url("/assets/fonts/roboto/roboto-bold.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-style: italic;
    src: url("/assets/fonts/roboto/roboto-bolditalic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/nunito/nunito-bold.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Roboto Mono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/roboto-mono/robotomono-regular.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/nunito/nunito-bolditalic.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: normal;
    src: url("/assets/fonts/nunito/nunito-black.woff2") format("woff2");
    font-display: auto;
  }
  @font-face {
    font-family: "Sono";
    font-weight: 400;
    font-style: italic;
    src: url("/assets/fonts/nunito/nunito-blackitalic.woff2") format("woff2");
    font-display: auto;
  }
  html {
    font-family: "Roboto", "Helvetica", sans-serif;
    font-size: 14px;
  }
  @media (768px <= width) {
    html {
      font-size: 16px;
    }
  }
  main {
    row-gap: 2rem;
  }
  @media screen {
    main {
      padding-block: min(5rem, 5vw);
    }
  }
  main > * {
    margin: 0;
  }
  main h1 {
    break-after: avoid;
    font-family: "Sono";
    font-size: 2.4rem;
    line-height: 1.5;
    grid-column: bleed-right;
  }
  main p {
    font-family: "Roboto", "Helvetica", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    break-inside: avoid;
  }
  main a {
    color: var(--colour-link);
  }
  @supports (background-clip: text) {
    main a {
      background: linear-gradient(270deg, var(--colour-primary), var(--colour-primary) 33%, var(--colour-link) 67%, var(--colour-link));
      background-size: 300% 100%;
      background-position: 100% 0;
      background-clip: text;
      color: transparent;
      text-decoration-thickness: 2px;
      text-decoration-color: var(--colour-link);
    }
    @media (prefers-reduced-motion: no-preference) {
      main a {
        transition: background-position 0.4s ease-in-out;
      }
    }
    main a:hover, main a:focus {
      background-position: 0 0;
    }
  }
  @media print {
    main a {
      background-clip: initial;
      color: currentColor;
      background: transparent;
    }
  }
  bank-account-number {
    display: grid;
    grid-template-columns: min-content min-content;
    grid-template-areas: "label label" "display button" "error error";
    column-gap: 1em;
    align-items: center;
  }
  bank-account-number:empty {
    display: none;
  }
  .bank-account__label {
    font-family: "Sono";
    font-size: 1.6rem;
    line-height: 1.4;
    grid-area: label;
  }
  .bank-account__display {
    font-family: "Roboto Mono", monospace;
    font-size: 1.2rem;
    line-height: 1.5;
    grid-area: display;
  }
  .bank-account__reveal, .bank-account__copy {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    font-family: "Roboto", "Helvetica", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 0.5ch;
    border-radius: 0.2em;
    text-align: center;
    border: 1px solid currentColor;
    background: linear-gradient(270deg, var(--bg-primary), var(--bg-primary) 33%, var(--bg-secondary) 67%, var(--bg-secondary) 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    grid-area: button;
  }
  .bank-account__reveal:focus-visible, .bank-account__copy:focus-visible {
    outline: auto;
  }
  @media (prefers-reduced-motion: no-preference) {
    .bank-account__reveal, .bank-account__copy {
      transition: background-position 200ms ease-in-out;
    }
  }
  .bank-account__reveal:hover, .bank-account__reveal:focus-visible, .bank-account__copy:hover, .bank-account__copy:focus-visible {
    background-position: 0 0;
  }
  .bank-account__error {
    grid-area: error;
    font-family: "Roboto", "Helvetica", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--colour-error);
  }
}

/*# sourceMappingURL=fundraising.css.map */
