/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {
  --font-family: 'Montserrat', sans-serif;

  /* Palette */
  --bg-default: #f1eee9;
  --bg-paper: #ffffff;
  --text-primary: #2e2e2e;
  --text-secondary: #4e4e4e;

  --primary-main: #1e5631;
  --primary-dark: #144021;
  --primary-contrast: #ffffff;

  --secondary-main: #4e4e4e;
  --secondary-contrast: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  font-family: var(--font-family);
  background-color: var(--bg-default);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 24px;
  background-color: var(--bg-paper);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(46, 46, 46, 0.15);
  margin: auto;
}

.logo {
  margin-bottom: 0.6em;
}

.logo img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

h1 {
  font-size: 1.75em;
  margin: 0.2em 0 0.4em;
  font-weight: 600;
  color: var(--primary-dark);
}

.subtext {
  font-size: 1em;
  margin-bottom: 1.2em;
  color: var(--text-secondary);
}

button {
  width: 100%;
  max-width: 280px;
  padding: 12px 24px;
  font-size: 1em;
  font-family: var(--font-family);
  border: none;
  border-radius: 6px;
  background-color: var(--primary-main);
  color: var(--primary-contrast);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--primary-dark);
}

footer {
  position: static;
  margin-top: 20px;
  font-size: 0.9em;
  color: var(--text-secondary);
}

/* Extra fine-tuning for very small screens */
@media screen and (max-width: 400px) {
  h1 {
    font-size: 1.5em;
  }

  .subtext {
    font-size: 0.95em;
  }

  button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}
