@import "./icons.css";
@import "./heading.css";

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Geist", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Etusivun fallback — itse tausta on CSS Home-reitillä. */
html:has([data-scope="Layout"].home) {
  background-color: #1a1848;
}

html:has([data-scope="Layout"].home) body {
  background-color: transparent;
}

/* iOS zooms focused fields under 16px — keep a hard floor. */
:where(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  textarea,
  select
) {
  font-size: max(16px, 1em);
}
