/* Samme farger som iBønn (nettsiden og appikonet), så avsenderen er gjenkjennelig. */
:root {
  --navy: #0b3b4c;
  --deep: #06252f;
  --mint: #8fe0b6;
  --gold: #e2c58a;
  --soft: #c4dad3;
}

@font-face {
  font-family: "Geist Variable";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

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

html {
  min-height: 100%;
  background:
    radial-gradient(900px 500px at 10% 0%, rgb(143 224 182 / 0.16), transparent 60%),
    radial-gradient(700px 500px at 100% 60%, rgb(226 197 138 / 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%) var(--deep);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: max(1.5rem, env(safe-area-inset-top)) clamp(1.5rem, 6vw, 5rem) max(1.5rem, env(safe-area-inset-bottom));
  overflow-x: hidden;
  color: #fff;
  font-family: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.star {
  position: fixed;
  right: -9rem;
  bottom: -9rem;
  z-index: -1;
  width: min(56rem, 130vw);
  color: var(--mint);
  opacity: 0.16;
  pointer-events: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 13px;
  background: var(--mint);
  color: var(--deep);
  font-size: 1.125rem;
}

.login {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.login:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.login:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

main {
  max-width: 46rem;
  margin: auto 0;
  padding: 4rem 0;
}

.soon {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.375rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  max-width: 36rem;
  margin: 1.75rem 0 0;
  color: var(--soft);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
}

footer {
  color: var(--soft);
  font-size: 0.875rem;
}
