:root {
  --color-brand-primary: #11b25b;
  --color-brand-secondary: #f4931f;
  /* --color-brand-secondary: #f08122; */
  --color-red: #e81010;

  --color-white: #ffffff;
  --color-grey-100: #f5f4f1;
  --color-grey-200: #e8e6e0;
  --color-grey-400: #a8a49c;
  --color-grey-600: #6b6760;
  --color-grey-800: #3a3830;
  --color-black: #111110;

  --color-highlight: var(--color-brand-primary);
  --color-border: var(--color-grey-400);
  --color-fg: var(--color-grey-800);
  --color-error: var(--color-red);
  --color-success: var(--color-brand-primary);

  --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --container-width: 80rem;
  --logo-max-height: 6rem;

  --transition-fast: 180ms ease;
  --transition-base: 320ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-fg);
  background-color: var(--color-grey-100);
  accent-color: var(--color-highlight);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
}

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

a {
  color: inherit;
  text-decoration: none;
}
strong {
  font-weight: 600;
}

.container {
  width: var(--container-width);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.text-highlight {
  color: var(--color-highlight);
}

.header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey-200);
  padding-block: var(--space-6);
}

.header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__inner a {
  display: block;
}

.header__logo {
  max-height: var(--logo-max-height);
  min-width: 10rem;
  width: auto;
}

.footer {
  --container-width: 100%;
  background-color: var(--color-grey-200);
  color: var(--color-grey-600);
  padding-block: var(--space-8);
  border-top: 0.25rem solid var(--color-brand-secondary);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.footer__contact {
  line-height: 1.5;
}

.footer__contact__company {
  color: var(--color-grey-800);
}

.footer__contact__info {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}

.footer__links {
  order: 1;
}
.footer__copyright {
  order: 2;
}

@media (min-width: 40rem) {
  .footer__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--space-8);
  }

  .footer__contact {
    grid-column: span 2;
  }

  .footer__copyright {
    order: 1;
  }
  .footer__links {
    order: 2;
  }
}

.footer__copyright-text {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-grey-500);
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: none;
}

@media (min-width: 40rem) {
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-6);
    justify-content: flex-end;
  }
}

.footer__nav-link {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-grey-500);
  border-bottom: 1px solid transparent;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
  padding-bottom: 1px;
}

.footer__nav-link:hover,
.footer__nav-link:focus-visible {
  color: var(--color-brand-secondary);
  border-bottom-color: var(--color-brand-secondary);
  outline: none;
}

.busy-mask {
  --busy-offset: 7.5rem;
  --busy-duration: 1.4s;
  display: none;
  transition: opacity 0.05s ease;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0;
}

.busy .busy-mask {
  display: flex;
  position: fixed;
  z-index: 10000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.busy-mask .spinner {
  animation: rotator var(--busy-duration) linear infinite;
}

@keyframes rotator {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
}

.path {
  stroke: var(--color-highlight);
  stroke-dasharray: var(--busy-offset);
  stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash var(--busy-duration) ease-in-out infinite;
}

@keyframes dash {
  0% {
    stroke-dashoffset: var(--busy-offset);
  }
  50% {
    stroke-dashoffset: calc(var(--busy-offset) / 4);
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: var(--busy-offset);
    transform: rotate(450deg);
  }
}

.notifications-container {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  max-height: 50vh;
  overflow: hidden;
  overflow-y: auto;
  display: grid;
  gap: var(--space-4);
  grid-auto-flow: dense;
  z-index: var(--notifications-container-z-index, 10000);
}
.notification-list-enter-active,
.notification-list-leave-active {
  transition: all 0.5s ease;
}
.notification-list-enter-from,
.notification-list-leave-to {
  opacity: 0;
  transform: translateX(-20%);
}
.notification-item {
  position: relative;
  background-color: var(--color-grey-200);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  margin: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--space-2);
}
.notification-item .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: var(--text-2xl);
}
.message-notification {
  padding: var(--space-4) var(--space-4);
}
.notification-item:has(.message-notification--success) {
  border-left: 0.25rem solid var(--color-success);
}
.message-notification--success::before {
  content: '✅ ';
}
.notification-item:has(.message-notification--error) {
  border-left: 0.25rem solid var(--color-error);
}
.message-notification--error::before {
  content: '❌ ';
}

.btn {
  --btn-color-fg: inherit;
  --btn-color-bg: transparent;
  --btn-color-border: var(--btn-color-bg, transparent);
  --btn-image: none;
  --btn-radius: 2.5em;
  --btn-space: 0.5em;
  --btn-space-x: 0.5em;
  --btn-space-y: 0.25em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--btn-color-fg);
  border: 1px solid var(--btn-color-border);
  background-color: var(--btn-color-bg);
  background-image: var(--btn-image);
  border-radius: var(--btn-radius);
  padding: var(--btn-space-y) var(--btn-space-x);
  font-size: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn .icon {
  height: 1.75em;
}
.btn .label {
  padding: var(--btn-space-y) var(--btn-space-x);
  text-align: center;
}
.btn .label:empty {
  display: none;
}
.btn:visited {
  color: var(--btn-color-fg);
}
.btn[disabled] {
  filter: opacity(0.6);
  pointer-events: none;
}

.btn-submit {
  --btn-color-fg: var(--color-brand-primary);
  --btn-color-border: var(--color-brand-primary);
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: var(--text-lg);
}

.btn-submit:hover {
  --btn-color-fg: var(--color-white);
  --btn-color-bg: var(--color-brand-primary);
}

.form-container {
  font-size: var(--text-lg);
}
.form-container .form-action {
  display: flex;
}
.form-container .form-action .btn {
  align-self: end;
  border-width: 2px;
}
.form-container .form-action .btn {
  --btn-space-x: var(--space-4);
  --btn-space-y: var(--space-4);
}

.form-grid {
  display: grid;
  gap: 1em;
}

.form-field {
  text-align: left;
  --field-border-radius: 1.5em;
}
.form-field label {
  font-size: inherit;
}
.form-field label[for] {
  cursor: pointer;
}
.form-field .invalid-feedback {
  color: var(--color-error);
  font-size: 1rem;
}
.form-field .is-invalid {
  --color-fg: var(--color-error);
}

.form-field__input,
.form-field__textarea,
.form-field__select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--field-border-radius);
  border: 1px solid var(--color-border);
  color: inherit;
  padding: var(--space-3) var(--space-4);
  font-size: inherit;
  font-family: inherit;
  background-color: var(--color-grey-200);
}
.form-field__input::-webkit-input-placeholder,
.form-field__textarea::-webkit-input-placeholder,
.form-field__select::-webkit-input-placeholder {
  color: var(--color-grey-400);
}
.form-field__input::-moz-placeholder,
.form-field__textarea::-moz-placeholder,
.form-field__select::-moz-placeholder {
  color: var(--color-grey-400);
}
.form-field__input:-ms-input-placeholder,
.form-field__textarea:-ms-input-placeholder,
.form-field__select:-ms-input-placeholder {
  color: var(--color-grey-400);
}
.form-field__input::placeholder,
.form-field__textarea::placeholder,
.form-field__select::placeholder {
  color: var(--color-grey-400);
}
label + .form-field__input,
label + .form-field__textarea,
label + .form-field__select {
  margin-top: 0.25em;
}

.form-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1.5em 1em;
}
