/* Bannermedia Placeholder Site */

:root {
  --color-green: #4A7C4E;
  --color-black: #1a1a1a;
  --color-grey: #666666;
  --color-light: #f8f9fa;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-light);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.container {
  text-align: center;
  max-width: 480px;
}

.logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-green);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.description {
  font-size: 1rem;
  color: var(--color-grey);
  margin: 0 0 2rem;
}

.contact {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--color-green);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.contact:hover,
.contact:focus {
  background-color: #3d6b41;
  outline: none;
}

.contact:focus-visible {
  box-shadow: 0 0 0 3px rgba(74, 124, 78, 0.4);
}

footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-grey);
  border-top: 1px solid #e9ecef;
}

footer p {
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  main {
    padding: 1.5rem;
  }

  .logo {
    width: 200px;
  }

  .tagline {
    font-size: 1.125rem;
  }

  .description {
    font-size: 0.9375rem;
  }
}
