/* Bee Active website. Plain CSS, no build step, no third-party requests. */

@font-face {
  font-family: "Passion One";
  src: url("/fonts/PassionOne_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Merriweather Sans";
  src: url("/fonts/MerriweatherSans_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Merriweather Sans";
  src: url("/fonts/MerriweatherSans_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2a170f;
  --ink-soft: #6a4635;
  --paper: #fff8e7;
  --paper-deep: #f5e7d5;
  --honey: #fbc60d;
  --honey-light: #ffe88a;
  --maroon: #832f12;
  --maroon-dark: #5a1f0a;
  --focus: #136f63;
  --line: rgba(100, 47, 18, 0.18);
  --radius: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Merriweather Sans", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Passion One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--maroon-dark);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4rem);
}

h2 {
  font-size: clamp(1.625rem, 5vw, 2rem);
  margin-top: 1.75em;
}

h3 {
  font-size: 1.375rem;
  margin-top: 1.5em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.4em;
}

li + li {
  margin-top: 0.4em;
}

a {
  color: var(--maroon);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--maroon-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.site-header {
  background: var(--honey);
  border-bottom: 4px solid var(--maroon-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Passion One", "Arial Black", Impact, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--maroon-dark);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
}

.site-nav a[aria-current="page"] {
  text-decoration-color: var(--maroon-dark);
}

/* Content */

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.65;
}

.badge {
  display: inline-block;
  margin: 0.5rem 0 1.5rem;
  padding: 0.35rem 1rem;
  background: var(--ink);
  color: var(--honey-light);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
}

.card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.25rem;
  margin: 1.5rem 0;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.notice {
  background: var(--paper-deep);
  border-left: 6px solid var(--honey);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem 0.1rem;
  margin: 1.5rem 0;
}

.steps {
  padding-left: 1.5em;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--honey-light);
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0;
}

.site-footer p {
  margin: 0 0 0.25rem;
}

.site-footer :focus-visible {
  outline-color: var(--honey-light);
}

@media (min-width: 40rem) {
  body {
    font-size: 1.125rem;
  }

  main {
    padding: 4rem 0 4.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Waitlist sign-up */

.signup {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem 0.5rem;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
}

.signup h2 {
  margin-top: 0;
}

.signup label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.signup input[type="email"] {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.signup button {
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--honey-light);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.signup button:hover {
  background: var(--maroon-dark);
}

.signup-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Hidden from people; bots that fill it in are ignored. */
.signup-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
