/* Minimal site stylesheet to satisfy preload and improve touch targets */
@import '/styles/variables.css';

/* Use border-box globally to avoid unexpected sizing/overflow */
*, *::before, *::after { box-sizing: border-box; }

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family:
    system-ui,
    -apple-system,
    Roboto,
    Segoe UI,
    "Helvetica Neue",
    Arial;
  color: var(--text-blue);
  background: var(--bg-blue);
  -webkit-font-smoothing: antialiased;
}
.container {
  background-color: var(--bg-white);
  color: var(--text-blue);
  margin: 0 auto;
  max-width: var(--container-max-width);
  padding: 0.9rem;
  width: auto;
}
.hero {
  color: var(--text-white);
}
header,
footer {
  padding: 0;
  margin: 0;
}

/* Skip link (visible on focus) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
}

/* Improve tappable target sizes for accessibility */
a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-orange);
}
a:focus,
button:focus {
  outline: 3px solid #9ec9ff;
  outline-offset: 2px;
}

/* Basic list and heading spacing */
h1,
h2 {
  margin: 0 0 0.5rem 0;
}
p {
  margin: 0 0 1rem 0;
}
ul {
  padding-left: 1.2rem;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .container {
    padding: 0.75rem;
  }
}

/* Prevent accidental layout shifts for images by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo {
  height: 40px;
  width: auto;
}
