/* ----------------------------------------
   CrackingBean — main stylesheet
   ---------------------------------------- */

:root {
  --color-bg: #ffffff;
  --color-text: #1c1410;
  --color-accent: #5c3a1e;
  --color-muted: #8a7468;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------
   Splash / Hero
   ---------------------------------------- */

.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 4rem 2rem;
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* Logo */
.splash-illustration {
  width: min(120px, 30vw);
}

.splash-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(28, 20, 16, 0.10));
}

/* Text block */
.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 400;
  color: var(--color-muted);
  max-width: 42ch;
  line-height: 1.7;
}

/* Divider */
.splash-divider {
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
  border: none;
  opacity: 0.35;
}
