:root {
  --bg: #0e0d0c;
  --cream: #f2ece0;
  --cream-dim: #c9c2b4;
  --line: rgba(242, 236, 224, 0.16);
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* subtle grain so the flat black isn't dead flat */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 0;
}

/* thin inset frame around the whole viewport for an editorial, boutique feel */
.frame {
  position: fixed;
  inset: 14px;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 2;
}

/* persistent top bar — the logo stays visible on screen at all times */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(14, 13, 12, 0.9), rgba(14, 13, 12, 0));
}

.nav-logo {
  width: 34px;
  height: auto;
}

.nav-word {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4vh) 24px 4vh;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo {
  width: clamp(120px, 24vw, 190px);
  height: auto;
  margin-bottom: 24px;
}

.brand {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 7rem);
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  line-height: 0.95;
}

.tagline {
  margin: 0 0 44px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cream-dim);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.signup {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.signup input[type="email"]::placeholder {
  color: var(--cream-dim);
}

.signup input[type="email"]:focus {
  border-color: var(--cream);
}

.signup button {
  flex: 0 0 auto;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.signup button:hover {
  opacity: 0.88;
  box-shadow: 0 0 0 4px var(--line);
}

.signup button:active {
  transform: scale(0.97);
}

.signup-note {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--cream-dim);
  min-height: 1.2em;
}

.socials {
  margin-top: 48px;
  display: flex;
  gap: 24px;
}

.socials a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  color: var(--cream);
  border-color: var(--cream);
}

footer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px 24px 28px;
  font-size: 0.75rem;
  color: var(--cream-dim);
  opacity: 0.6;
}

footer p {
  margin: 0;
}
